Savings
Self-host vs API break-even calculator
Monthly token volume at which renting a GPU and serving an open model costs the same as an API model.
With gpu hourly cost $2.50, gpus 1, output tokens per second 800 tokens, gpu utilisation 35%, input tokens per output token 4, api model to compare claude-haiku-5-5, the self host monthly is $1,825 at list prices read 2026-11-01.
Self host monthly
Read from vendor pricing pages on 2026-11-01. Arithmetic on list prices, not advice or a quote.
Saving and exports come with Pro, $9 a month. What is in it. The calculator itself is free.
How it works
A rented GPU costs the same whether it is busy or idle, so self-hosting is a utilization bet. The break-even is the monthly output volume where the fixed GPU bill equals what the API would charge for the same tokens. Engineering time, model quality and compliance are not in the formula and usually decide it.
The formula
self = gpu_hourly * gpus * 730; tokens = throughput * 3600 * 730 * utilization; api_equiv = output_price + ratio * input_price; break_even = self / api_equiv * 1,000,000
Worked example
Inputs
- GPU hourly cost
- $2.50
- Gpus
- 1
- Output tokens per second
- 800 tokens
- GPU utilisation
- 35%
- Input tokens per output token
- 4
- API model to compare
- claude-haiku-5-5
Result
- Self host monthly
- $1,825
- Self host cost per million output
- $2.48
- API cost per million output equivalent
- $0.900
- Break even output tokens per month
- 2,027,777,778 tokens
- Monthly output tokens at utilization
- 735,840,000 tokens
Sources
- developers.openai.com/api/docs/pricing (read 2026-11-01)
- platform.claude.com/docs/en/about-claude/pricing (read 2026-11-01)
- ai.google.dev/gemini-api/docs/pricing (read 2026-11-01)
Prices read from each vendor's own pricing page on 2026-11-01; the page may have changed since. This is arithmetic on published list prices, not advice or a quote. Check the vendor's page before committing a budget.