LLM API price comparison

The same model can cost you very different amounts depending on where you call it. Below are 43 models priced in five places at once, all converted to the same unit: US dollars per 1M tokens, cache-miss, standard tier. Every figure comes from that provider's own pricing page on the date shown.

Method

How these numbers were put together

One unit for everyone
Our rates are quoted in USD credit; a $1 top-up becomes $10 of credit. The figures in our column are credit divided by 10 — the cash that actually leaves your card. Everyone else's figures are already cash.
Cheapest published tier, cache-miss
Where a provider publishes several tiers, the table takes the cheapest one that applies to a normal call: DeepSeek's off-peak rate rather than peak, DeepInfra's standard tier rather than flex. Cached input is excluded everywhere, including ours.
Their model IDs, not ours
Aggregators often list a dated snapshot (`-0813`) instead of the rolling model, or rename it by parameter count. Those cases are marked in the table; a dated build is not guaranteed to behave like the current one.
Two different kinds of blank
A cell reading "Not in catalog" means we checked and the provider does not carry that model. An empty cell means we did not verify it — not that it is unavailable. The two are never merged.
Input price per 1M tokens for 43 models across vendor official APIs, three aggregators and Y-API
Vendor: DeepSeek
deepseek/deepseek-v4-proper 1M tokensY-API$0.05 Input$0.10 OutputDeepSeek$0.661,2off-peak rate; a cheaper cache-hit tier also exists Input$1.98 Outputdeepseek-v4-proOpenRouter$0.65873,2dated snapshot build, not the rolling model; a cheaper cache-hit tier also exists Input$1.976 Outputdeepseek/deepseek-v4-pro-0813Together AI$1.323,2dated snapshot build, not the rolling model; a cheaper cache-hit tier also exists Input$3.96 OutputDeepSeek V4 Pro 0813DeepInfra$1.306standard tier; priority and flex tiers differ Input$2.60 Outputdeepseek-ai/DeepSeek-V4-Pro
deepseek/deepseek-v4.1-flashper 1M tokensY-API$0.015 Input$0.06 OutputDeepSeek$0.151,2off-peak rate; a cheaper cache-hit tier also exists Input$0.60 Outputdeepseek-flashOpenRouter$0.02392a cheaper cache-hit tier also exists Input$0.375 Output
deepseek/deepseek-v4-flash-0731per 1M tokensY-API$0.015 Input$0.03 OutputDeepSeek$0.221,2,4off-peak rate; a cheaper cache-hit tier also exists; historical official price for this version; current rolling-model pricing may differ Input$0.66 Outputdeepseek-v4-flash
Vendor: Qwen
qwen/qwen3.8-maxper 1M tokensY-API$0.20 Input$0.60 OutputAlibaba Cloud Model Studio$1.657cheapest of its six regional price tables Input$4.951 Outputqwen3.8-maxOpenRouter$2.003dated snapshot build, not the rolling model Input$6.00 Outputqwen/qwen3.8-max-0902Together AI$2.005,2listed under a different name; a cheaper cache-hit tier also exists Input$6.00 OutputQwen3.8-2.4T-A95BDeepInfra$1.656standard tier; priority and flex tiers differ Input$4.951 OutputQwen/Qwen3.8-Max
qwen/qwen3.8-flashper 1M tokensY-API$0.02 Input$0.05 OutputAlibaba Cloud Model Studio$0.1137cheapest of its six regional price tables Input$0.382 Outputqwen3.8-flashOpenRouter$0.152a cheaper cache-hit tier also exists Input$0.47 OutputTogether AI$0.15 Input$0.47 OutputQwen3.8 FlashDeepInfra$0.113 Input$0.382 OutputQwen/Qwen3.8-Flash
Vendor: MiniMax
minimax/minimax-m3per 1M tokensY-API$0.03 Input$0.12 OutputMiniMax$0.302,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$1.20 OutputMiniMax-M3OpenRouter$0.302a cheaper cache-hit tier also exists Input$1.20 OutputTogether AI$0.302a cheaper cache-hit tier also exists Input$1.20 OutputMiniMax M3DeepInfra$0.28 Input$1.10 OutputMiniMaxAI/MiniMax-M3
minimax/minimax-m3.1-flash-previewper 1M tokensY-API$0.03 Input$0.12 OutputMiniMax$0.152,5a cheaper cache-hit tier also exists; listed under a different name Input$0.60 OutputMiniMax-M3.1-FlashTogether AINot in catalogDeepInfraNot in catalog
Vendor: Z.ai
z-ai/glm-5.1per 1M tokensY-API$0.14 Input$0.44 OutputZ.ai$1.402a cheaper cache-hit tier also exists Input$4.40 OutputGLM-5.1OpenRouter$1.402a cheaper cache-hit tier also exists Input$4.40 OutputTogether AINot in catalogDeepInfra$1.05 Input$3.50 Outputzai-org/GLM-5.1
z-ai/glm-5.2per 1M tokensY-API$0.14 Input$0.44 OutputZ.ai$1.402a cheaper cache-hit tier also exists Input$4.40 OutputGLM-5.2
z-ai/glm-5.3per 1M tokensY-API$0.14 Input$0.50 OutputZ.ai$1.402a cheaper cache-hit tier also exists Input$4.40 OutputGLM-5.3
z-ai/glm-5.3-flashper 1M tokensY-API$0.015 Input$0.05 OutputZ.ai$0.152a cheaper cache-hit tier also exists Input$0.50 OutputGLM-5.3-Flash
Vendor: Moonshot AI
moonshotai/kimi-k3per 1M tokensY-API$0.30 Input$1.50 OutputKimi$3.002a cheaper cache-hit tier also exists Input$15.00 Outputkimi-k3
moonshotai/kimi-k2.6per 1M tokensY-API$0.095 Input$0.40 OutputKimi$0.952a cheaper cache-hit tier also exists Input$4.00 Outputkimi-k2.6
Vendor: Anthropic
anthropic/claude-opus-4.6per 1M tokensY-API$0.50 Input$2.50 OutputAnthropic$5.002a cheaper cache-hit tier also exists Input$25.00 Outputclaude-opus-4.6OpenRouter$5.002a cheaper cache-hit tier also exists Input$25.00 OutputTogether AINot in catalogDeepInfraNot in catalog
anthropic/claude-opus-4.7per 1M tokensY-API$0.50 Input$2.50 OutputAnthropic$5.002a cheaper cache-hit tier also exists Input$25.00 Outputclaude-opus-4.7OpenRouter$5.002a cheaper cache-hit tier also exists Input$25.00 OutputTogether AINot in catalogDeepInfra$5.00 Input$25.00 Outputanthropic/claude-opus-4-7
anthropic/claude-opus-5per 1M tokensY-API$0.50 Input$2.50 OutputAnthropic$5.002a cheaper cache-hit tier also exists Input$25.00 Outputclaude-opus-5
anthropic/claude-opus-5.5per 1M tokensY-API$0.40 Input$2.00 OutputAnthropic$4.002a cheaper cache-hit tier also exists Input$20.00 Outputclaude-opus-5.5OpenRouter$4.002a cheaper cache-hit tier also exists Input$20.00 OutputTogether AINot in catalogDeepInfraNot in catalog
anthropic/claude-sonnet-5per 1M tokensY-API$0.20 Input$1.00 OutputAnthropic$2.002a cheaper cache-hit tier also exists Input$10.00 Outputclaude-sonnet-5
anthropic/claude-haiku-4.5per 1M tokensY-API$0.10 Input$0.55 OutputAnthropic$1.002a cheaper cache-hit tier also exists Input$5.00 Outputclaude-haiku-4.5OpenRouter$1.002a cheaper cache-hit tier also exists Input$5.00 OutputTogether AINot in catalogDeepInfra$1.00 Input$5.00 Outputanthropic/claude-haiku-4-5
anthropic/claude-haiku-5.5per 1M tokensY-API$0.015 Input$0.06 OutputAnthropic$0.102,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$0.50 Outputclaude-haiku-5.5OpenRouter$0.102,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$0.50 OutputTogether AINot in catalogDeepInfraNot in catalog
Vendor: Google
google/gemini-4-argonper 1M tokensY-API$0.40 Input$2.00 OutputGoogle$4.002a cheaper cache-hit tier also exists Input$20.00 Outputgemini-4-argonOpenRouter$2.002a cheaper cache-hit tier also exists Input$10.00 OutputTogether AINot in catalogDeepInfraNot in catalog
google/gemini-3.1-pro-previewper 1M tokensY-API$0.20 Input$1.50 OutputGoogle$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$12.00 Outputgemini-3.1-pro-previewOpenRouter$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$12.00 OutputTogether AINot in catalogDeepInfra$2.005listed under a different name Input$12.00 Outputgoogle/gemini-3.1-pro
google/gemini-3.5-flashper 1M tokensY-API$0.20 Input$1.20 OutputGoogleNot in catalogOpenRouter$1.502a cheaper cache-hit tier also exists Input$9.00 OutputTogether AINot in catalogDeepInfra$1.50 Input$9.00 Output
google/gemini-3.7-flashper 1M tokensY-API$0.15 Input$0.75 OutputGoogleNot in catalogOpenRouter$0.752a cheaper cache-hit tier also exists Input$3.75 OutputTogether AINot in catalogDeepInfra$0.75 Input$3.75 Output
google/gemini-3.8-flashper 1M tokensY-API$0.15 Input$0.75 OutputGoogle$1.502a cheaper cache-hit tier also exists Input$7.50 Outputgemini-3.8-flashOpenRouter$0.8252a cheaper cache-hit tier also exists Input$4.125 OutputTogether AINot in catalogDeepInfraNot in catalog
google/gemini-3.1-flash-liteper 1M tokensY-API$0.025 Input$0.15 OutputGoogle$0.252,6a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ Input$1.50 Outputgemini-3.1-flash-liteOpenRouter$0.252a cheaper cache-hit tier also exists Input$1.50 OutputTogether AINot in catalogDeepInfra$0.25 Input$1.50 Output
Vendor: OpenAI
openai/gpt-5.5-proper 1M tokensY-API$3.00 Input$18.00 OutputOpenAI$30.006,8standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$180.00 Outputgpt-5.5-proOpenRouter$30.008cheapest input-length tier; a longer prompt costs more per token Input$180.00 OutputTogether AINot in catalogDeepInfraNot in catalog
openai/gpt-6-astraper 1M tokensY-API$1.00 Input$5.00 OutputOpenAI$10.002,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$50.00 Outputgpt-6-astra
openai/gpt-5.5per 1M tokensY-API$0.50 Input$3.00 OutputOpenAI$5.002,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$30.00 Outputgpt-5.5OpenRouter$5.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$30.00 OutputTogether AINot in catalogDeepInfraNot in catalog
openai/gpt-5.6-solper 1M tokensY-API$0.50 Input$3.00 OutputOpenAI$5.002,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$30.00 Outputgpt-5.6-sol
openai/gpt-5.4per 1M tokensY-API$0.25 Input$1.50 OutputOpenAI$2.502,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$15.00 Outputgpt-5.4OpenRouter$2.502,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$15.00 OutputTogether AINot in catalogDeepInfraNot in catalog
openai/gpt-5.6-terraper 1M tokensY-API$0.20 Input$1.20 OutputOpenAI$2.002,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$12.00 Outputgpt-5.6-terra
openai/gpt-6-solper 1M tokensY-API$0.20 Input$1.00 OutputOpenAI$2.002,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$10.00 Outputgpt-6-solOpenRouter$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$10.00 OutputTogether AINot in catalogDeepInfraNot in catalog
openai/gpt-6.1-solper 1M tokensY-API$0.20 Input$1.00 OutputOpenAI$2.002,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$10.00 Outputgpt-6.1-solOpenRouter$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$10.00 OutputTogether AINot in catalogDeepInfraNot in catalog
openai/gpt-5.4-miniper 1M tokensY-API$0.08 Input$0.45 OutputOpenAI$0.752,6a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ Input$4.50 Outputgpt-5.4-miniOpenRouter$0.752a cheaper cache-hit tier also exists Input$4.50 OutputTogether AINot in catalogDeepInfraNot in catalog
openai/gpt-5.6-lunaper 1M tokensY-API$0.03 Input$0.13 OutputOpenAI$0.202,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$1.20 Outputgpt-5.6-luna
openai/gpt-6-lunaper 1M tokensY-API$0.01 Input$0.05 OutputOpenAI$0.102,6,8a cheaper cache-hit tier also exists; standard tier; priority and flex tiers differ; cheapest input-length tier; a longer prompt costs more per token Input$0.50 Outputgpt-6-lunaOpenRouter$0.102,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$0.50 OutputTogether AINot in catalogDeepInfraNot in catalog
Vendor: xAI
x-ai/grok-4.6per 1M tokensY-API$0.40 Input$1.20 OutputxAI$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$6.00 Outputgrok-4.6OpenRouter$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$6.00 OutputTogether AINot in catalogDeepInfraNot in catalog
x-ai/grok-4.7per 1M tokensY-API$0.20 Input$0.60 OutputxAI$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$6.00 Outputgrok-4.7OpenRouter$2.002,8a cheaper cache-hit tier also exists; cheapest input-length tier; a longer prompt costs more per token Input$6.00 OutputTogether AINot in catalogDeepInfraNot in catalog
Vendor: Other
tencent/hy4-previewper 1M tokensY-API$0.10 Input$0.30 OutputTencent Hunyuan$1.20 Input$3.60 Outputhy4-preview
xiaomi/mimo-v2.6-proper 1M tokensY-API$0.05 Input$0.10 OutputXiaomi MiMo$0.4352a cheaper cache-hit tier also exists Input$0.87 Outputmimo-v2.6-proOpenRouter$0.4352a cheaper cache-hit tier also exists Input$0.87 OutputTogether AINot in catalogDeepInfra$0.43 Input$0.87 OutputXiaomiMiMo/MiMo-V2.6-Pro
stepfun/step-3.7-flashper 1M tokensY-API$0.02 Input$0.12 OutputStepFun$0.22 Input$1.32 Outputstep-3.7-flash
xiaomi/mimo-v2.6-flashper 1M tokensY-API$0.018 Input$0.036 OutputXiaomi MiMo$0.16 Input$0.32 Outputmimo-v2.6-flash
  • 1off-peak rate
  • 2a cheaper cache-hit tier also exists
  • 3dated snapshot build, not the rolling model
  • 4historical official price for this version; current rolling-model pricing may differ
  • 5listed under a different name
  • 6standard tier; priority and flex tiers differ
  • 7cheapest of its six regional price tables
  • 8cheapest input-length tier; a longer prompt costs more per token

Where we are cheaper

The gap comes from the top-up rate, not from marked-down rates

Read our credit rates as if they were dollars and they sit roughly on top of the vendors' own list prices: across the models we can compare, ours come to between 0.682× and 2× the vendor's own figure. Practically the whole difference is the 1:10 top-up rate.

Against vendor official prices, cash for cash, the models we can compare land between 80% and 93.2% below them on input.

Gaps

Coverage and pricing limits

Model coverage
The table covers 43 of our 44 models. For 1 we have not verified an external price of any kind. We would rather leave a row out than fill it from a blog post.
Alibaba does not have one Qwen price
Model Studio splits the same build across six regional rate cards, then across input-length tiers, then discounts some builds for a limited time and others at night, and bills cache hits separately at a rate the page never states. The official column takes the cheapest cell that applies to an ordinary real-time call — cheapest region, shortest input tier, at list rather than promotional rate, cache-miss — which is the reading least favourable to us. The night tier is left out on purpose: the English page says "night 80% off" while the Chinese wording reads as paying 80% at night, and we will not pick whichever reading flatters us.
No third-party figures were used
For one DeepSeek model alone, three widely-cited posts quote three mutually incompatible prices. Only a provider's own pricing page counts as a source here.
Aggregators disagree by up to 2×
The deepseek/deepseek-v4-pro row reads $0.6587 per 1M input on OpenRouter and $1.32 on Together AI — one model, one unit, both read from that provider’s own page. Treat any single aggregator figure as one data point, not as the market price.

One provider at a time

Compared against a single provider

This table is wide and shallow on purpose: one figure per cell, no room to explain how any one provider structures its rates. Each page below takes a single provider and goes the other way — every model both sides sell, the tiers sitting behind each figure, the date it was read, and the cases where that provider is the cheaper of the two.

FAQ

Questions this table raises

What is the cheapest way to call deepseek/deepseek-v4-pro?
Per 1M input tokens, every figure read on or after 2026-09-18: Y-API $0.05 in cash, DeepSeek's own API $0.66, OpenRouter $0.6587 listed as deepseek/deepseek-v4-pro-0813, Together AI $1.32 listed as DeepSeek V4 Pro 0813 and DeepInfra $1.30 listed as deepseek-ai/DeepSeek-V4-Pro. The one case that flips is a constantly cached prompt — DeepSeek charges $0.022 per 1M for cached input, below our $0.05.
Why are Y-API's prices quoted in credit instead of dollars?
Credit is the metering unit inside the service: a top-up converts dollars into credit at the current rate, and each model deducts credit per token. Quoting the credit rate keeps the per-model figure stable when the top-up rate changes. To get the cash price, divide the credit rate by the top-up rate (10). Both figures are published, and the cash price is in the machine-readable pricing endpoint.
Is an aggregator ever cheaper than the model vendor itself?
Yes, and this table has an example. OpenRouter lists deepseek/deepseek-v4.1-flash at $0.0239 per 1M input, below DeepSeek's own $0.15. Aggregators also sometimes list only a dated snapshot, which will not track the rolling model as it is updated — cheaper, but not the same thing.
How much of the difference is a real discount versus the top-up rate?
Almost all of it is the top-up rate. Read as if credit were dollars, our rates come to between 0.682× and 2× the vendors' own list prices across the models we can compare. The large savings on the pricing page come from the 1:10 top-up rate.
How often is this table updated?
Every figure carries the date it was checked, shown at the top of the page. Providers change prices without notice, so treat anything older than a few weeks as a starting point and follow the source link before committing spend. Our own rates are synced from the live catalog at build time, so they are never staler than the last deploy.

Provenance

Sources

Sources include provider pricing pages and version-specific pricing announcements. Our own prices are published on the models page, pricing page, and in pricing.json.

Check one model against your own bill

Pick the model you call most, find it in the table, and multiply by last month's token count. If the arithmetic works out, sign in and point one call here — the request log will show the real deduction.