Anyone who tells you one provider is the cheapest LLM API has not asked what you send. A support bot that reads a 4,000-token history and answers in forty words is input-heavy; a story generator is output-heavy; an agent that calls tools in a loop re-sends the same prefix fifty times and lives or dies on cached-input pricing. The cheapest model for each of those is a different id, and the cheapest provider is whoever serves that id at the lowest all-in price with no fee, minimum or subscription on top. This page gives you the method, then the live catalog's lowest-priced ids per use case, with our price beside the developer's list price so you can check the claim rather than trust it.
The method, in five questions
- What is your input-to-output ratio? Count tokens on a day of real traffic, or estimate: chat and RAG run about 3 input tokens per output token, agents 10 or more, drafting and code generation closer to 1 to 2. Weight the two prices by that ratio before comparing anything. A model with cheap input and expensive output wins for RAG and loses for generation.
- How much of your input repeats? Agents and long chats resend the same system prompt and history. Where a model lists a cached-input price, that is the number that matters for them, and a model with no cache price can cost more in practice than a dearer model with one.
- What context do you need? Pay for a million-token window only if you fill it. Several of the cheapest ids below carry a 1M window at no premium, so this is often free, but an 8K model can be cheaper still for short turns.
- Which features are non-negotiable? Tool calling, JSON mode, vision, a specific wire format. The catalog's
supported_parametersfield lists what each id has been verified to accept; an empty list means unverified, not refused. - What is the quality floor? Run your own ten hardest prompts on the two or three cheapest candidates before you move traffic. The compare page runs one prompt on two ids side by side with cost and time.
Then price the whole month, not a request: the cost calculator takes tokens per request and requests per day and gives the bill at list and at our price on every chat model.
The cheapest ids on the live catalog, by use case
Read at 17:44 UTC on 2026-11-21 from GET https://api.uplinkswitch.com/v1/catalog, which needs no key and is what these tokens render from. Verify every id on the live catalog before build. Ranking weight for "general chat" is 3 input to 1 output.
General chat and RAG (input-heavy)
| Id (verify on live catalog first) | Developer | Our price, in / out per 1M | List price | Context |
|---|---|---|---|---|
glm-5.3-flashx | Z.ai | $0.047887 / $0.15962 | $0.075 / $0.25 | see model page |
claude-haiku-5-5 | Anthropic | $0.0582 / $0.1455 | $0.10 / $0.50 | 1M |
deepseek-v4.1-flash | DeepSeek | $0.0564 / $0.1692 | $0.30 / $1.20 | 1M |
deepseek-v4-flash-0731 | DeepSeek | $0.08148 / $0.1164 | $0.14 / $0.28 | 1M |
mimo-v2.6-flash | Xiaomi | $0.084 / $0.12 | $0.14 / $0.28 | 1M |
gpt-6-luna | OpenAI | $0.0625 / $0.20 | $0.10 / $0.50 | 1M |
Long context without a premium (1M-token window)
The same six minus glm-5.3-flashx, plus glm-5.3-flash ($0.0873 / $0.1455). On this catalog a million-token window is not a price tier; it comes with the id.
Agents and structured output (verified tool calling)
| Id (verify on live catalog first) | Developer | Our price | Verified parameters | Note |
|---|---|---|---|---|
claude-haiku-5-5 | Anthropic | $0.0582 / $0.1455 | tools, tool_choice, response_format, reasoning | cheapest id with verified tools and a 1M window |
gemma-3n-e2b-it | $0.12 / $0.08 | tools, tool_choice, response_format | 8K context; output cheaper than input, unusual and useful for short structured replies | |
nemotron-3.5-super-vl | NVIDIA | $0.225 / $0.75 | tools, response_format, structured_outputs | vision and 262K context |
Many cheaper ids probably accept tools too; they are not in this table because the catalog has not verified them. If an id you want shows an empty parameter list, send one small request before you commit.
Cheapest id per developer
| Developer | Id (verify on live catalog first) | Our price |
|---|---|---|
| OpenAI | gpt-6-luna | $0.0625 / $0.20 |
| Anthropic | claude-haiku-5-5 | $0.0582 / $0.1455 |
gemini-2.5-flash-lite (chat) or gemma-3n-e2b-it (open weights) | $0.075 / $0.30 / $0.12 / $0.08 | |
| DeepSeek | deepseek-v4.1-flash | $0.0564 / $0.1692 |
| xAI | grok-4.5 | $0.60 / $1.80 |
| Qwen | qwen2.5-7b-instruct | $0.20 / $0.20 |
| Z.ai | glm-5.3-flashx | $0.047887 / $0.15962 |
| MiniMax | minimax-m3 | $0.09 / $0.36 |
Embeddings
bge-m3 and qwen3-embedding-0.6b are the lowest-priced embedding ids on the catalog ($0.0295 and $0.0295 per 1M input tokens); text-embedding-3-small is there for teams that need OpenAI's vector space. Embedding ids live on /v1/catalog, not on /v1/models.
Where the saving against list is largest
Our price and the developer's list price sit in the same catalog row, so the gap is a fact you can download, not a slogan. On the reading date the widest gaps on chat ids were on deepseek-v4.1-flash ($0.0564 against $0.30 list input), glm-5.3, gpt-6.1-sol, claude-fable-5 and gemini-4-argon. Some lines sit at list price with no saving at all; the price index marks each row's saving, including the zeros, and offers the whole table as JSON or CSV.
What "cheapest provider" hides
- A platform fee on top of list. Marketplaces that pass the developer's price through and add a percentage are never the cheapest for a model the developer sells directly; the aggregator comparison lists who charges what, from each vendor's own page.
- A subscription or a minimum. A flat monthly plan is cheap only if you use it. Here credit is prepaid, there is no plan unless you want one, and the smallest top-up and the 30-day price lock are on pricing.
- Rate limits that force you upward. A free or cheap tier with a tight per-minute cap pushes real traffic to a dearer tier. Every key here has one documented limit, in the docs, with budgets per key so a runaway agent stops at a number you set.
- The fallback model. When a provider silently routes your request to a different model under load, the price you compared is not the price you paid. Each answer here carries the id that was billed in the response body's
modelfield and the charge inusage.cost. - Retries on bad JSON. A structured-output request that fails to parse is retried once free here and the miss is not billed; elsewhere you pay twice.
Let the gateway pick the cheapest for you
Two shortcuts when you would rather not maintain a table: the auto id with its fast tier sends short tasks to the cheapest capable models and heavier ones upward (tier membership is on the auto router page), and a request can name several ids with routing: price so the gateway takes the cheapest one that is up. Both bill the id that answered, at its own price. One key reaches every developer on the list through one base URL; the gateway page explains how.