Self-host Gemma 3 27B vs. API cost
Live OpenRouter API pricing is $0.08/1M input & $0.45/1M output. Renting 1× RTX A6000 on Vast.ai costs $0.40/hr ($292/mo) and breaks even at 55.5M tokens/day.
Interactive breakeven calculator
All FP8 self-hosting setups for Gemma 3 27B (~31 GB VRAM)
| GPU setup | Provider | GPU / hr | Monthly (730h) | Est. peak tok/s | Self-host $/1M @ 40% | Breakeven | Deploy |
|---|---|---|---|---|---|---|---|
| 1× NVIDIA RTX A6000 Cheapest | | $0.40/hr | $292 | 111 tok/s | $2.500 | 55.5M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | | $0.45/hr | $329 | 111 tok/s | $2.813 | 62.4M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | | $0.53/hr | $387 | 260 tok/s | $1.413 | 73.5M/day | Launch ↗ |
| 1× NVIDIA A100 80GB SXM | | $0.58/hr | $423 | 293 tok/s | $1.375 | 80.5M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | | $0.59/hr | $431 | 111 tok/s | $3.688 | 81.8M/day | Launch ↗ |
| 1× NVIDIA RTX 6000 Ada | | $0.60/hr | $438 | 137 tok/s | $3.051 | 83.2M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | | $0.62/hr | $453 | 260 tok/s | $1.653 | 86.0M/day | Launch ↗ |
| 1× NVIDIA A100 40GB | | $0.63/hr | $460 | 228 tok/s | $1.919 | 87.4M/day | Launch ↗ |
All 4-bit (Q4) self-hosting setups for Gemma 3 27B (~18 GB VRAM)
| GPU setup | Provider | GPU / hr | Monthly (730h) | Est. peak tok/s | Self-host $/1M @ 40% | Breakeven | Deploy |
|---|---|---|---|---|---|---|---|
| 1× NVIDIA L4 Cheapest | Vast.ai | $0.32/hr | $234 | 78 tok/s | $2.866 | 44.4M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | TensorDock | $0.38/hr | $277 | 267 tok/s | $0.987 | 52.7M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | Vast.ai | $0.40/hr | $292 | 202 tok/s | $1.371 | 55.5M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | TensorDock | $0.45/hr | $329 | 202 tok/s | $1.543 | 62.4M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | Vast.ai | $0.45/hr | $329 | 267 tok/s | $1.169 | 62.4M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | Vast.ai | $0.53/hr | $387 | 468 tok/s | $0.787 | 73.5M/day | Launch ↗ |
| 1× NVIDIA L4 | Google Cloud | $0.56/hr | $409 | 78 tok/s | $5.015 | 77.7M/day | Launch ↗ |
| 1× NVIDIA A100 80GB SXM | Vast.ai | $0.58/hr | $423 | 533 tok/s | $0.755 | 80.5M/day | Launch ↗ |
Physics & breakeven methodology
1. Dollar breakeven: breakeven_M_per_day = (GPU_$/hr × 24) ÷ blended_API_$/1M.
We pull live token pricing from OpenRouter's public API so API benchmarks stay current.
2. Throughput & node count: Autoregressive decoding is memory-bandwidth bound:
single_stream_tok_s = min(250, (total_BW_TB/s × 600) ÷ active_GB) using 27B active parameters. Continuous batching (vLLM / SGLang) multiplies peak node throughput by 6.5×, scaled by your selected utilization preset (15%, 40%, or 75%). If your daily volume exceeds 1 node's capacity, the calculator automatically multiplies the node count needed.