Guide · Tokens & costs
The cheapest LLM APIs right now, ranked from daily price data
By blended price (three input tokens for every output token), the cheapest LLM API in our data on 2026-11-12 is Ling 3.0 Tiny from inclusionAI, at $0.0225 per million tokens. The ranking is rebuilt from public price lists whenever the daily refresh finds a change; the cheapest model for your app depends on its input/output mix, caching and quality needs.
By Tahir NazirUpdated 12 min read
On this page
- What is the cheapest LLM API right now?
- Which LLM has the lowest price for input vs output?
- How to compare LLM prices: blended price explained
- The cheapest LLM for tools, vision, reasoning and long context
- Why the cheapest per token isn’t always the cheapest per task
- Which LLM API is totally free?
- Batch and caching discounts
- Open-weight models through hosted APIs
- How to choose the cheapest model that works
- Questions people ask
What is the cheapest LLM API right now?
On 2026-11-12, the cheapest model in our data by blended price is Ling 3.0 Tiny (inclusionAI): $0.015 per million input tokens and $0.045 per million output tokens. These are the ten cheapest of the 303 text models we rank:
- 1Ling 3.0 TinyinclusionAI · $0.015 in · $0.045 out$0.0225
- 2Llama 3.1 8B InstructMeta · $0.02 in · $0.04 out$0.025
- 3Mistral NemoMistral · $0.029 in · $0.03 out$0.0293
- 4Ling 3.0 FlashinclusionAI · $0.021 in · $0.063 out$0.0315
- 5Nex-N2.5-MiniNex AGI · $0.025 in · $0.10 out$0.0438
- 6GLM 5.3 FlashZ.ai · $0.0399 in · $0.0784 out$0.0495
- 7gpt-oss-20bOpenAI · $0.03 in · $0.13 out$0.055
- 8Qwen3.7 FlashQwen · $0.03 in · $0.13 out$0.055
- 9Mistral Small 3Mistral · $0.05 in · $0.08 out$0.0575
- 10Schematron V2 TurboInference.net · $0.03 in · $0.15 out$0.06
Blended = (3 × input + 1 × output) ÷ 4, USD per 1M tokens. Median of all 303 ranked models: $0.80.
Prices as of 2026-11-12
For scale, Anthropic’s mid-tier Claude Sonnet 5.5 has a blended price 178 times that of Ling 3.0 Tiny, and the most expensive model we rank, at $67.50, is about 3,000 times. Price alone says nothing about quality, so treat the ladder as a shortlist, not a recommendation.
Which LLM has the lowest price for input vs output?
A blended price hides which side of the bill a model is cheap on. If your app sends long prompts and gets short answers (classification, extraction, RAG), the input price matters most. If it writes long answers or code, the output price does. Ranked on each side alone:
| Rank | Cheapest input | Cheapest output |
|---|---|---|
| 1 | Ling 3.0 Tiny ($0.015) | Mistral Nemo ($0.03) |
| 2 | Llama 3.1 8B Instruct ($0.02) | Llama 3.1 8B Instruct ($0.04) |
| 3 | Ling 3.0 Flash ($0.021) | Ling 3.0 Tiny ($0.045) |
| 4 | Nex-N2.5-Mini ($0.025) | Ling 3.0 Flash ($0.063) |
| 5 | Llama 3.2 1B Instruct ($0.027) | GLM 5.3 Flash ($0.0784) |
Three models are in both lists today. Same 303 models as the ladder above; prices as of 2026-11-12.
Count the tokens in a few real prompts and answers to see which side dominates your traffic, then rank by that side or by a blend that matches it.
How to compare LLM prices: blended price explained
Every API has two prices, input and output, so comparing models needs one number that combines them. A blended price is a weighted average for an assumed mix of tokens. We use three input tokens for every output token, a common shape for chat, RAG and classification, where prompts are longer than answers:
blended = (3 × input price + 1 × output price) ÷ 4The weighting matters. Long-form writing, code generation and reasoning models produce far more output, which favours models with cheap output. Here is the cheapest model under four different weightings:
| Weighting | Cheapest model | Blended price |
|---|---|---|
| Input only | Ling 3.0 Tiny | $0.015 per 1M |
| 3 input : 1 output (our ranking) | Ling 3.0 Tiny | $0.0225 per 1M |
| 1 : 1 | Mistral Nemo | $0.0295 per 1M |
| 1 input : 3 output | Mistral Nemo | $0.0297 per 1M |
Two different models win across the four weightings today, and seven of the ten cheapest at 3:1 are still in the ten cheapest at 1:3. Prices as of 2026-11-12.
Blended prices use each model’s base rate. Some models charge more once a prompt passes a size threshold, and a few list introductory prices with an end date, so check the provider’s page before you commit a budget.
The cheapest LLM for tools, vision, reasoning and long context
Most apps have hard requirements before price comes into it. The cheapest model that meets each one:
| Requirement | Cheapest model | Input / output per 1M | Blended |
|---|---|---|---|
| Any text model | Ling 3.0 Tiny | $0.015 / $0.045 | $0.0225 |
| Tool (function) calling | Ling 3.0 Tiny | $0.015 / $0.045 | $0.0225 |
| Image input | Nex-N2.5-Mini | $0.025 / $0.10 | $0.0438 |
| Reasoning | Ling 3.0 Tiny | $0.015 / $0.045 | $0.0225 |
| 1M-token context window | GLM 5.3 Flash | $0.0399 / $0.0784 | $0.0495 |
| Open weights | Ling 3.0 Tiny | $0.015 / $0.045 | $0.0225 |
| Not open weights | Qwen3.7 Flash | $0.03 / $0.13 | $0.055 |
| At batch prices | gpt-oss-20b | $0.03 / $0.13 | $0.046 (batch) |
| From OpenAI | GPT-5 Nano | $0.05 / $0.40 | $0.1375 |
| From Anthropic | Claude Haiku 5.5 | $0.10 / $0.50 | $0.20 |
| From Google | Gemini 2.5 Flash Lite | $0.10 / $0.40 | $0.175 |
Capabilities as reported by the data sources; check the provider’s docs for details such as how many images or tools a model accepts. Prices as of 2026-11-12.
The model comparison filters every model by context window, tool calling, image input, reasoning and prompt caching, and sorts by price, so you can go further down each list than the single winner shown here. For the three big vendors tier by tier, see Claude vs GPT vs Gemini API pricing, and the providers page lists every provider in our data with its models.
Why the cheapest per token isn’t always the cheapest per task
Your bill is price × tokens, and the token side varies between models as much as the price side. Four things decide the real cost of a task:
- Tokenizers. Each model family splits text differently, so the same prompt is a different number of tokens. Anthropic says the tokenizer in Claude 4.7 and later produces about 30% more tokens for the same text than its previous one. The token counter shows the count per model, and what is a token explains why.
- Verbosity. A model at half the price per token that writes twice as much costs the same per answer. Measure output length on your own prompts.
- Reasoning tokens. Reasoning models bill their hidden thinking as output tokens, which can be many times the visible answer.
- Failures and retries. A cheap model that returns invalid JSON or a wrong answer one time in five needs a retry, a repair step or a fallback to a bigger model. Cost per successful task is the number that matters.
Workload shape changes the ranking too. Running the cost calculator’s four presets (with their caching and batch settings) across every model that fits gives these winners:
| Workload | Cheapest model | Per month |
|---|---|---|
| Support chatbot | Ling 3.0 Tiny | $0.96 |
| RAG app | Ling 3.0 Tiny | $1.49 |
| Coding agent | Ling 3.0 Tiny | $1.86 |
| Document summariser | Ling 3.0 Tiny | $1.34 |
Each preset’s token counts, requests per day, cached share and batch setting are shown in the [cost calculator](/llm-cost-calculator). Prices as of 2026-11-12.
Today the same model is cheapest for all four, but its lead changes with each shape: run your own numbers before assuming the ranking holds.
Free toolLLM API cost calculatorEnter your own tokens per request and volume to see the 10 cheapest models that fit your workload, with caching and batch pricing applied.Which LLM API is totally free?
None is free without limits, but several have free tiers that cost nothing within rate limits. These are the options we checked in the providers’ own documentation:
- Google Gemini free tier. On 2026-10-15, Google’s pricing page listed text models including Gemini 3.8 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash-Lite and Gemini 3.1 Flash-Lite as free of charge for input and output. Rate limits apply per project, and Google says free-tier content is used to improve its products, so keep personal and confidential data off it. How to get a free Gemini API key walks through it.
- Groq Free tier. Groq’s rate-limits page lists a Free plan with per-model limits on requests and tokens per minute and per day, and Groq asks for a payment method only when you upgrade. See how to get a free Groq API key.
- Mistral Free mode. Mistral’s Studio quickstart starts new accounts in Free mode, with API access and no credit card; usage and rate limits apply. Read its data-use settings before sending private data.
- OpenRouter free variants. OpenRouter serves some models as free variants (IDs ending in
:free), limited to 20 requests a minute and 50 requests a day, or 1,000 a day once you have bought at least 10 credits. How to get an OpenRouter API key covers the setup. - Anthropic trial credits. Anthropic says new users receive a small amount of free credits to test the API. That’s a trial, not a free tier.
Free tiers suit prototypes, demos and personal tools. For production, plan on paid prices: limits are low and terms can change. You can try the Gemini models free in our Gemini playground with your own key: it’s BYOK, so the key goes from your browser straight to Google.
Batch and caching discounts
A model’s list price isn’t its lowest price. Two discounts often matter more than the gap between two budget models:
- Batch APIs. OpenAI, Anthropic and Google charge 50% less for requests processed asynchronously (OpenAI promises results within 24 hours). Batch prices are listed for 81 of the 303 models we rank, and backfills, nightly jobs and evaluations rarely need an instant answer. The batch API calculator ranks the cheapest batch options for your own workload, and the batch API entry explains how batch jobs work.
- Prompt caching. Repeated prefixes (system prompts, tool definitions, documents) are billed at a fraction of the input price on models that support caching. For agents and document Q&A, the cached-input price can matter more than the list input price. See prompt caching explained, or estimate your hit rate with the prompt caching calculator.
Even when the same model tops both lists, these discounts change the size of its lead, which is why the cost estimation guide prices whole workloads rather than single requests.
Open-weight models through hosted APIs
Open-weight models (Llama, Qwen, Mistral, DeepSeek, gpt-oss and others) publish their weights, so many companies can host them and compete on price. That competition helps explain why nine of the ten cheapest models today are open-weight. The price we show for them is a typical hosted price from our data sources, not necessarily the lowest any host charges.
- Prices differ by host. OpenRouter routes each request among the hosts that serve a model and, by default, prefers cheaper ones (it weights the choice by the inverse square of the price). Setting
provider.sortto"price", or adding:floorto the model ID, asks for the cheapest host. Most hosts offer an OpenAI-compatible API, so moving between them is often just a new base URL and key. - Hosts differ in more than price. OpenRouter notes that providers serve models at different quantisation levels (such as INT4, INT8 or FP8) to cut compute, so the same model can give different results from one host to another.
- Self-hosting is a different calculation. Running a model on your own GPUs swaps per-token prices for hardware and electricity. The VRAM calculator shows what hardware a model needs.
How to choose the cheapest model that works
- Write down the hard requirements: context size, tool calling, image input, structured output, data location.
- Shortlist three to five of the cheapest models that meet them, using the table above or the model comparison.
- Run 50 to 100 real prompts through each, and record quality, input and output tokens, reasoning tokens and failures.
- Compare cost per successful task, including retries and any fallback to a larger model.
- Apply batch and caching where your workload allows, then re-check every month or two. Prices in this market change often; this page is rebuilt from the daily data on every deploy, and the pricing changes log shows each move.
FAQ
Questions people ask
What is the cheapest LLM API?
By blended price (three input tokens per output token), the cheapest text model in our data on 2026-11-12 is Ling 3.0 Tiny from inclusionAI, at $0.015 per million input tokens and $0.045 per million output tokens. The cheapest model for your app depends on your token mix, required features and how often a cheap model needs a retry.
What is the cheapest OpenAI model?
Among OpenAI’s own API models in our data, the cheapest by blended price on 2026-11-12 is GPT-5 Nano, at $0.05 input and $0.40 output per million tokens. OpenAI’s Batch API halves those prices for work that can wait up to 24 hours.
What is the cheapest Claude model?
The cheapest Claude model in our data on 2026-11-12 is Claude Haiku 5.5, at $0.10 input and $0.50 output per million tokens. Anthropic’s Message Batches API halves that price, and prompt caching cuts the cost of repeated input.
What is the cheapest Gemini model?
By list price, the cheapest Gemini model in our data on 2026-11-12 is Gemini 2.5 Flash Lite, at $0.10 input and $0.40 output per million tokens. Several Gemini models are also free on Google’s free tier, within rate limits and with your content used to improve Google’s products.
Which LLM API is totally free?
None is free without limits, but several have free tiers: Google’s Gemini API, Groq’s Free plan, Mistral’s Free mode and OpenRouter’s :free models all cost nothing within rate limits. The limits are low and terms differ; Google, for one, uses free-tier content to improve its products, so check each provider’s data-use terms before sending private data.
What is the cheapest AI API key?
The key itself costs nothing on any major provider; you pay for the tokens you use. The cheapest way to start is a provider with a free tier, such as Google AI Studio for the Gemini API, which needs no card. After that, the cost depends on the model you call, so pick the cheapest one that passes your quality checks.
Is the cheapest LLM API good enough for production?
Sometimes. The cheapest models handle classification, extraction, routing and short summaries well, but fail more often on long reasoning and tool use, and every retry costs money. Run a sample of real tasks first and compare cost per successful task, not per token, before you switch.
How often do LLM API prices change?
Often enough that any fixed list goes stale within weeks. Our prices are refreshed every day from the OpenRouter models API and the LiteLLM price list (last refreshed 2026-11-12), and this ranking is rebuilt from that data. Always confirm the price on the provider’s pricing page before committing a budget.
Try it
Tools from this guide
- AI Model ComparisonCompare prices, context windows and features across models.
- LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.
- AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.
- Free Gemini API Key GuideGet a free Gemini API key in a few minutes.
- Batch API Savings CalculatorCompare batch and real-time API costs.
Glossary
Key terms in this guide
Keep reading
Related guides
- Tokens & costsHow to calculate LLM API costs: the formula, worked examples and the traps12 min read
- Tokens & costsPrompt caching explained: how it works on OpenAI, Anthropic and Gemini, and when it pays13 min read
- Tokens & costsAI tokens explained: what a token is, how it is counted, and what it costs10 min read