199 priced models · 12 providers · synced 2026-11-25

Cheapest LLM API

Three answers, because the question has three meanings. A model that is cheapest on input can be among the dearest on output, and which one matters depends on whether you are feeding it documents or asking it to write them.

Cheapest input
$0.037
command-r7b-12-2024
Cheapest output
$0.10
llama-3.1-8b
Cheapest blended
$0.066
command-r7b-12-2024

The 15 cheapest, blended

Ranked on input × 3 + output, divided by four — the ratio most production traffic actually runs at, since almost every workload reads more than it writes. USD per million tokens.

Model Provider Blended Input Output Context
command-r7b-12-2024 Cohere $0.066 $0.037 $0.15 128K
llama-3.1-8b Cerebras $0.10 $0.10 $0.10 128K
ministral-3-3b-2512 Mistral $0.10 $0.10 $0.10 131K
ministral-3b-2512 Mistral $0.10 $0.10 $0.10 262K
ministral-3b-latest Mistral $0.10 $0.10 $0.10 262K
mistral-7b-instruct Perplexity $0.123 $0.07 $0.28 4K
mixtral-8x7b-instruct Perplexity $0.123 $0.07 $0.28 4K
pplx-7b-chat Perplexity $0.123 $0.07 $0.28 8K
sonar-small-chat Perplexity $0.123 $0.07 $0.28 16K
gpt-oss-20b Groq $0.131 $0.075 $0.30 131K
gpt-oss-safeguard-20b Groq $0.131 $0.075 $0.30 131K
ministral-3-8b-2512 Mistral $0.15 $0.15 $0.15 262K
ministral-8b-2512 Mistral $0.15 $0.15 $0.15 262K
ministral-8b-latest Mistral $0.15 $0.15 $0.15 262K
devstral-small-latest Mistral $0.15 $0.10 $0.30 256K

Cheapest that can still do the work

The rows above are led by small models, which is what "cheapest" honestly returns and rarely what anyone should deploy. This table applies a floor: current models only, and only those averaging at least 40% across at least two independently measured pass rates. Nothing here is scored by us, and a model measured once or not at all is absent rather than assumed.

Model Provider Blended Mean pass rate Tests
gpt-oss-120b Groq $0.262 75.2% 4
magistral-small-latest Mistral $0.262 41.7% 4
deepseek-v3.2 DeepSeek $0.31 65.6% 4
mistral-large-3 Mistral $0.75 43.8% 4
gemini-3-flash-preview Google $1.13 64.8% 4
grok-4.3 xAI $1.56 89.7% 3
gpt-5.4-mini OpenAI $1.69 81.4% 3
kimi-k2.6 Moonshot $1.71 87.7% 3

Pass rates are the share of a fixed public test set answered correctly, averaged over the tests each model has sat — so a model measured on two tests and one measured on four are not strictly comparable, and the count is shown for that reason. Compare a model to a model, not a row to a row.

Cheapest at each provider

If switching vendor is not on the table, this is the floor inside the one you have.

Provider Cheapest model Blended Input Output
Cohere command-r7b-12-2024 $0.066 $0.037 $0.15
Mistral ministral-3-3b-2512 $0.10 $0.10 $0.10
Cerebras llama-3.1-8b $0.10 $0.10 $0.10
Perplexity mistral-7b-instruct $0.123 $0.07 $0.28
Groq gpt-oss-20b $0.131 $0.075 $0.30
Gemini gemini-2.5-flash-lite $0.175 $0.10 $0.40
DeepSeek deepseek-coder $0.175 $0.14 $0.28
OpenAI gpt-6-luna $0.20 $0.10 $0.50
Claude claude-haiku-5-5 $0.20 $0.10 $0.50
AI21 jamba-1.5 $0.25 $0.20 $0.40
Grok grok-code-fast $1.25 $1.00 $2.00
Kimi kimi-k2.6 $1.71 $0.95 $4.00

Questions

What is the cheapest LLM API?
On input tokens it is command-r7b-12-2024 from Cohere at $0.037 per million. On a 3:1 input-weighted blend, closer to a real workload, it is command-r7b-12-2024 at $0.066 per million. Rates are list prices synced 2026-11-25 across 261 models from 12 providers.
Is the cheapest LLM API good enough to use?
Often not. The cheapest listed rates belong to small models. Among current models with an independently measured pass rate of at least 40%, the cheapest is gpt-oss-120b at $0.262 per million blended — 4.0× the cheapest rate on the board.
Are there free LLM APIs?
None of the models tracked here list a rate of $0. Free tiers exist at several providers as trial credits and rate-limited access, but they are not list prices and are not tracked on this page.

Price your own prompt against these models →