Self-host Llama 3.2 3B Instruct vs. API cost
Live OpenRouter API pricing is $0.05/1M input & $0.33/1M output. Renting 1× L4 on Vast.ai costs $0.32/hr ($234/mo) and breaks even at 64.0M tokens/day.
Interactive breakeven calculator
All FP8 self-hosting setups for Llama-3.2-3B-Instruct (~6 GB VRAM)
| GPU setup | Provider | GPU / hr | Monthly (730h) | Est. peak tok/s | Self-host $/1M @ 40% | Breakeven | Deploy |
|---|---|---|---|---|---|---|---|
| 1× NVIDIA L4 Cheapest | | $0.32/hr | $234 | 364 tok/s | $0.611 | 64.0M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | | $0.38/hr | $277 | 1,229 tok/s | $0.215 | 76.0M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | | $0.40/hr | $292 | 936 tok/s | $0.297 | 80.0M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | | $0.45/hr | $329 | 936 tok/s | $0.334 | 90.0M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | | $0.45/hr | $329 | 1,229 tok/s | $0.254 | 90.0M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | | $0.53/hr | $387 | 1,625 tok/s | $0.226 | 106.0M/day | Launch ↗ |
| 1× NVIDIA L4 | | $0.56/hr | $409 | 364 tok/s | $1.070 | 112.0M/day | Launch ↗ |
| 1× NVIDIA A100 80GB SXM | | $0.58/hr | $423 | 1,625 tok/s | $0.248 | 116.0M/day | Launch ↗ |
All 4-bit (Q4) self-hosting setups for Llama-3.2-3B-Instruct (~3 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 | 663 tok/s | $0.335 | 64.0M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | TensorDock | $0.38/hr | $277 | 1,625 tok/s | $0.162 | 76.0M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | Vast.ai | $0.40/hr | $292 | 1,625 tok/s | $0.171 | 80.0M/day | Launch ↗ |
| 1× NVIDIA RTX A6000 | TensorDock | $0.45/hr | $329 | 1,625 tok/s | $0.192 | 90.0M/day | Launch ↗ |
| 1× NVIDIA RTX 4090 | Vast.ai | $0.45/hr | $329 | 1,625 tok/s | $0.192 | 90.0M/day | Launch ↗ |
| 1× NVIDIA RTX 5090 | Vast.ai | $0.53/hr | $387 | 1,625 tok/s | $0.226 | 106.0M/day | Launch ↗ |
| 1× NVIDIA L4 | Google Cloud | $0.56/hr | $409 | 663 tok/s | $0.586 | 112.0M/day | Launch ↗ |
| 1× NVIDIA A100 80GB SXM | Vast.ai | $0.58/hr | $423 | 1,625 tok/s | $0.248 | 116.0M/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 3.2B 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.