Self-host vs API: the break-even calculator
Self-hosting an open model only beats paying per token at a volume most teams never reach. Put your own numbers in and the arithmetic answers in one screen: two monthly costs, the break-even point, and the share of the rented month you would actually use.
On the prices checked on 26 November 2026, a 4,000-conversation agent costs about $6 a month on a small API model and $796 a month on a rented L40S. The GPU wins only past a break-even point in the hundreds of thousands of conversations, and only if the serving engine really holds the concurrency the model assumes. Below that, you are buying idle hours.
What it computes
- The API bill for your workload: conversations per month, input and output tokens per conversation, at the list price of the model you pick.
- The GPU bill for the same workload: the hourly rate of the card you pick, multiplied by the hours you rent it for. A month is 730 hours.
- The crossing point, in conversations per month, plus the utilisation line. If you use 4% of the month, a cheaper card does not fix the problem, a smaller rental does.
The numbers inside it, and their date
| Input | Value used | Source |
|---|---|---|
| GPU hourly rates | $0.76 to $4.39 across eight cards | GPU cloud price index, checked 26 November 2026 |
| API token prices | $0.10 to $3.00 input, $0.50 to $15.00 output per 1M tokens | LLM API price index, checked 26 November 2026 |
| Output speed per stream | your entry, default 40 tokens/s | an assumption, not a measurement of your engine |
| Concurrency | your entry, default 4 streams | an assumption; continuous batching decides whether it holds |
No vendor rate is used without a date, and no figure on this page comes from a test we did not run. The calculator is a cost model and says so.
What it leaves out
Egress, storage, cold start, the price of a dataset you have to move, the engineering hours to run a serving stack and the cost of the outage you cause while learning it. It also assumes throughput stays flat as concurrency rises: continuous batching makes that roughly true until the card runs out of memory, and then it stops being true without warning.
Why the answer surprises people
Token prices fell faster than GPU rent did. The open-model average dropped to $0.13 per million tokens, and a frontier model now costs under $1 per million for work that cost $30 three years ago. A rented H100 did not fall by the same factor, and a card billed by the month charges for the hours nothing arrives. That is the whole gap in one sentence: the token side became abundant, the hour side did not.
The other half is concurrency. One H100 serving a single stream at 40 tokens/s produces 144,000 tokens an hour. The same card with sixty streams in flight produces multiples of that, which moves the break-even point down by the same multiple. So the honest question is never “is self-hosting cheaper”, it is “at what concurrency, on what card, with what utilisation”. This page exists to make that question arithmetic.
Before you commit a budget
Re-check both indexes on the day you decide, because the prices move monthly and a break-even calculation is only as good as the two numbers inside it. If your workload is bursty, put the burst into the hours field instead of the conversations field: a card rented for one week a month is a different decision from one rented for all 730 hours.
When you have the number, the five routes guide covers the hidden costs that sit outside any per-hour figure, and the n8n workflow pricing piece shows the same arithmetic applied to a whole stack rather than a single model.