Self-Hosted vs API Breakeven Simulator
Find the exact daily query volume where running an open-weight model on GPU cloud becomes cheaper than paying per-token API rates. Uses live GPU pricing.
OpenAI · $2.5/1M input · $10/1M output
VRAM needed: 70GB · GPUs on H100 SXM 80GB: 2×
Fetching live price…
Avg input tokens/req
Avg output tokens/req
Concurrency (parallel reqs)
Your daily request volume
Breakeven point
25K req/day
Above this volume, Llama 3.3 70B on H100 SXM 80GB is cheaper than GPT-4o
API cost/day
$75.00
GPT-4o
Self-hosted cost/day
$190
2× H100 SXM 80GB
API is cheaper at this volume. Scale to 25K req/day to break even.
GPU utilisation: 8%
GPUs needed: 2×
GPU price: $3.95/hr
Where the lines cross = breakeven point
Model assumptions
- GPU runs 24/7 (on-demand pricing, no spot discounts applied)
- Throughput estimate: ~35 tokens/sec/GPU for Llama 3.3 70B
- VRAM overhead: 10% reserved for KV cache and framework
- No engineering, ops, or infra overhead costs included
- API pricing excludes prompt caching discounts
- GPU price: loading…
When does self-hosting an LLM make financial sense?
The fixed-cost threshold
Self-hosting replaces variable per-token costs with a fixed GPU rental cost. At low volumes, the fixed cost dominates and APIs win. As volume grows, the per-token API bill scales linearly while the GPU cost stays flat — that's the crossover.
Latency and control
Beyond cost, self-hosting gives you dedicated throughput, no rate limits, and the ability to fine-tune on proprietary data. These non-cost factors often justify self-hosting even before the financial breakeven.
GPU selection matters
A 70B model needs at least 2× A100 80GB or 2× H100 at FP16. INT8 quantization halves VRAM requirements with minimal quality loss, letting you run on cheaper or fewer GPUs — often the fastest path to breakeven.