Cheapest AI model API leaderboard
Hosted routes with both input and output rates, ranked by an equal-weight price index. Models with no per-token API rate are listed separately, not treated as $0 APIs.
| Rank | Model | Provider | Blended $/1M | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Loading hosted API prices… | |||||
Models without a per-token API rate
These records may be available for self-hosting, but the shared index has no input/output API pair to rank. License terms and infrastructure cost are separate questions.
| Model | Provider | Status in this ranking | Cost to evaluate |
|---|---|---|---|
| Loading unpriced model records… | |||
How the budget tier works in 2026
The budget tier has moved twice in four weeks. DeepSeek moved its V4 models to peak and off-peak rates on August 16, 2026, and V4-Flash input went from a flat $0.14/1M to $0.44 during peak hours (01:00–04:00 and 06:00–10:00 UTC, Monday to Friday) and $0.22 the rest of the week. That briefly handed first place on the blended index to MiniMax M3 at $0.75. Then, on September 10, DeepSeek retired the hosted V4-Flash model. The deepseek-v4-flash ID now routes temporarily to DeepSeek-V4.1-Flash, which bills $0.30 input / $1.20 output per 1M at peak and $0.15 / $0.60 off-peak. V4-Flash's MIT weights remain downloadable for self-hosting, but the V4-Flash row in the table is a retired API record until the shared index is updated, not a live price.
The first row of the blended index is now Qwen3.8-Flash, at $0.15 input / $0.47 output per 1M (a $0.31 blend), ahead of MiniMax M3. Two other low-cost routes are not in this index yet: DeepSeek-V4.1-Flash, and OpenAI's GPT-5.6 Luna at $0.20 input / $1.20 output per 1M, which undercuts GPT-5 Mini on both sides. The table shows peak rates where a provider has them, because that is the rate you pay unless you deliberately schedule around it.
One newer option is not in this index yet: Z.ai published GLM-5.3-Flash on August 26, 2026 at $0.15/1M input and $0.50/1M output, halved to $0.075 and $0.25 through September 9, a launch promotion that has since ended. It is in benchr's verified ledger but has not been added to the tool set that feeds this ranking, so treat it as a lead to check rather than a row you can compare here.
The blended ranking also includes output price, so the order can differ from a list sorted on input alone.
Lower price does not imply that a model is limited to trivial work. DeepSeek reports 79.0% on SWE-bench Verified for V4-Flash, whose open weights are still available, and OpenAI reports 79.8% for GPT-5.6 Luna at $0.20 input / $1.20 output per 1M. Provider figures and token prices still need to be tested against the same workload before they are treated as a quality-per-dollar result.
Self-hosted vs managed API
An open-weight model can have no license fee and still be expensive to serve. Hardware, utilization, concurrency, context length, electricity or cloud rent, engineering, monitoring, and support all enter the total. Models without a per-token API pair stay outside the hosted ranking.
There is no universal traffic level at which self-hosting becomes cheaper. Get a hardware or cloud quote for the exact checkpoint and serving target, measure sustained throughput, and compare that total with the managed API bill for the same accepted workload.
Methodology
Blended price = (input price + output price) / 2. Only records with both rates are ranked. The equal-weight result is a comparison index, not a bill estimate. All listed prices are sourced from provider documentation; use the Cost Calculator to model your token mix.
When the cheapest model is not the cheapest choice
A low token price only wins when the model completes the task with a similar retry rate and similar human-review cost. If a cheaper model produces two extra failed generations for every successful answer, the apparent savings disappear quickly. Measure cost per accepted result, not cost per generated token.
For production routing, use this leaderboard as the first filter, then run a narrow evaluation on your own prompts. The practical test is simple: compare one budget model, one mid-tier default, and one frontier model on the same 100 to 300 examples, then price only the outputs your team would actually accept.
Update cadence and verification
Prices in this table are reviewed against provider documentation when a major model ships, when a provider announces a pricing change, or when benchr updates the shared model index. Because API prices can change quietly, the table should be treated as a decision aid, not a procurement contract. Before signing a long-term vendor agreement, re-check the provider's live pricing page and any enterprise discounts available to your account.
The table also separates token price from platform fit. A model can be cheapest and still be wrong for a team that needs existing SDK support, SOC review, cloud-region guarantees, or internal approval for a specific vendor. Those constraints belong in your evaluation sheet next to the token cost.
Frequently asked questions
What is the cheapest hosted LLM API in 2026?
In this benchr set, Qwen3.8-Flash has the lowest blended rate at $0.15/1M input and $0.47/1M output, followed by MiniMax M3 at $0.30/$1.20. Outside the index, DeepSeek-V4.1-Flash — which replaced the hosted V4-Flash on September 10, 2026 — costs $0.30/$1.20 at DeepSeek's peak hours and $0.15/$0.60 outside them, and GPT-5.6 Luna costs $0.20/$1.20. Check the provider's live rate card before budgeting.
Are self-hosted open-weight models free?
No. A model may have no license fee, but serving it still requires hardware, electricity or cloud instances, engineering, monitoring, and capacity planning. The crossover with a managed API depends on the exact model, throughput, hardware, utilization, and operating costs; this page does not assume a universal volume threshold.
How is blended price calculated?
Blended price is (input price + output price) / 2, an equal-weight comparison index. It is not a forecast of your bill. Use the calculator with your own input/output ratio, cache rate, batch use, and retries.