Self-host gemma 4 26B A4B it vs. API cost
Live OpenRouter API pricing is $0.07/1M input & $0.23/1M output. Renting 1× RTX A6000 on Vast.ai costs $0.40/hr ($292/mo) and breaks even at 89.7M tokens/day.
Interactive breakeven calculator
All FP8 self-hosting setups for gemma-4-26B-A4B-it (~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 | 117 tok/s | $2.376 | 89.7M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | | $0.45/hr | $329 | 117 tok/s | $2.673 | 100.9M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | | $0.53/hr | $387 | 273 tok/s | $1.347 | 118.9M/day | Launch ↗ |
| 1× NVIDIA A100 80GB SXM | | $0.58/hr | $423 | 306 tok/s | $1.318 | 130.1M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | | $0.59/hr | $431 | 117 tok/s | $3.505 | 132.3M/day | Launch ↗ |
| 1× NVIDIA RTX 6000 Ada | | $0.60/hr | $438 | 143 tok/s | $2.903 | 134.6M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | | $0.62/hr | $453 | 273 tok/s | $1.576 | 139.1M/day | Launch ↗ |
| 1× NVIDIA A100 40GB | | $0.63/hr | $460 | 234 tok/s | $1.871 | 141.3M/day | Launch ↗ |
All 4-bit (Q4) self-hosting setups for gemma-4-26B-A4B-it (~17 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 | 85 tok/s | $2.630 | 71.8M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | TensorDock | $0.38/hr | $277 | 280 tok/s | $0.942 | 85.2M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | Vast.ai | $0.40/hr | $292 | 215 tok/s | $1.290 | 89.7M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | TensorDock | $0.45/hr | $329 | 215 tok/s | $1.452 | 100.9M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | Vast.ai | $0.45/hr | $329 | 280 tok/s | $1.116 | 100.9M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | Vast.ai | $0.53/hr | $387 | 494 tok/s | $0.745 | 118.9M/day | Launch ↗ |
| 1× NVIDIA L4 | Google Cloud | $0.56/hr | $409 | 85 tok/s | $4.603 | 125.6M/day | Launch ↗ |
| 1× NVIDIA A100 80GB SXM | Vast.ai | $0.58/hr | $423 | 559 tok/s | $0.720 | 130.1M/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 25.8B 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.