Calculator › Price table
LLM API pricing compared: 62 models, cost per 1M tokens (Dec 2026)
Updated · list prices checked against official provider pages on December 1, 2026
Official list prices in USD per million tokens, standard tier, for text input and output. Jump to OpenAI, Anthropic, Google, xAI, DeepSeek, Moonshot AI (Kimi), Alibaba Cloud (Qwen), Z.ai (GLM), LongCat (Meituan), Baidu (ERNIE), Thinking Machines Lab, Xiaomi (MiMo), Meta (Muse), Tencent (Hy), Amazon Bedrock, or find the cheapest model for a task and quality group, or run your own numbers in the calculator.
Download the data: CSV · JSON (every model on this page, USD per 1M tokens, with source URL and check date; free to reuse under CC BY 4.0 with a link to this page).
Current models ranked by blended price
Blended = (3 × input + 1 × output) ÷ 4, a common rule of thumb for chat workloads. Claude 4.7+ prices are per Claude token, which covers about 30% less text than an OpenAI token.
| # | Model | Blended /1M | Input | Output |
|---|---|---|---|---|
| 1 | Hy4 flashTencent (Hy) | $0.123 | $0.07 | $0.281 |
| 2 | GPT-5 nanoOpenAI | $0.138 | $0.05 | $0.40 |
| 3 | MiMo-V2.6-FlashXiaomi (MiMo) | $0.175 | $0.14 | $0.28 |
| 4 | GPT-6 LunaOpenAI | $0.20 | $0.10 | $0.50 |
| 5 | Claude Haiku 5.5Anthropic | $0.20 | $0.10 | $0.50 |
| 6 | Muse EmberMeta (Muse) | $0.20 | $0.10 | $0.50 |
| 7 | GLM-5.3-FlashZ.ai (GLM) | $0.237 | $0.15 | $0.50 |
| 8 | Inkling 2 MiniThinking Machines Lab | $0.237 | $0.15 | $0.50 |
| 9 | GPT-5.6 LunaOpenAI | $0.45 | $0.20 | $1.20 |
| 10 | GPT-5.4 nanoOpenAI | $0.463 | $0.20 | $1.25 |
| 11 | Inkling 2 SmallThinking Machines Lab | $0.475 | $0.30 | $1.00 |
| 12 | ERNIE 5.5 Flash PreviewBaidu (ERNIE) | $0.492 | $0.28 | $1.13 |
| 13 | DeepSeek V4.1 FlashDeepSeek | $0.525 | $0.30 | $1.20 |
| 14 | LongCat-2.5LongCat (Meituan) | $0.525 | $0.30 | $1.20 |
| 15 | MiMo-V2.6-ProXiaomi (MiMo) | $0.544 | $0.435 | $0.87 |
| 16 | Gemini 3.1 Flash-LiteGoogle | $0.563 | $0.25 | $1.50 |
| 17 | GLM-5.3-FlashXZ.ai (GLM) | $0.59 | $0.37 | $1.25 |
| 18 | GPT-5 miniOpenAI | $0.688 | $0.25 | $2.00 |
| 19 | Gemini 3.5 Flash-LiteGoogle | $0.85 | $0.30 | $2.50 |
| 20 | Hy4Tencent (Hy) | $1.251 | $0.834 | $2.501 |
| 21 | Gemini 3.8 FlashGoogle | $1.50 | $0.75 | $3.75 |
| 22 | Gemini 3.6 FlashGoogle | $1.50 | $0.75 | $3.75 |
| 23 | Amazon ErgoAmazon Bedrock | $1.50 | $1.00 | $3.00 |
| 24 | Grok 4.3xAI | $1.563 | $1.25 | $2.50 |
| 25 | GPT-5.4 miniOpenAI | $1.688 | $0.75 | $4.50 |
| 26 | DeepSeek V4 ProDeepSeek | $1.98 | $1.32 | $3.96 |
| 27 | GPT-6.1 TerraOpenAI | $2.00 | $1.00 | $5.00 |
| 28 | Claude Haiku 4.5Anthropic | $2.00 | $1.00 | $5.00 |
| 29 | Muse Spark 1.3Meta (Muse) | $2.00 | $1.25 | $4.25 |
| 30 | GLM-5.3Z.ai (GLM) | $2.15 | $1.40 | $4.40 |
| 31 | Qwen4-MaxAlibaba Cloud (Qwen) | $2.25 | $1.50 | $4.50 |
| 32 | Gemini 4 HydrogenGoogle | $3.00 | $1.50 | $7.50 |
| 33 | Grok 4.7xAI | $3.00 | $2.00 | $6.00 |
| 34 | Grok 4.6xAI | $3.00 | $2.00 | $6.00 |
| 35 | Grok 4.5xAI | $3.00 | $2.00 | $6.00 |
| 36 | Qwen 3.8 MaxAlibaba Cloud (Qwen) | $3.00 | $2.00 | $6.00 |
| 37 | GPT-5OpenAI | $3.438 | $1.25 | $10.00 |
| 38 | GPT-6.2 SolOpenAI | $4.00 | $2.00 | $10.00 |
| 39 | GPT-6.1 SolOpenAI | $4.00 | $2.00 | $10.00 |
| 40 | GPT-6 SolOpenAI | $4.00 | $2.00 | $10.00 |
| 41 | Claude Sonnet 5.5Anthropic | $4.00 | $2.00 | $10.00 |
| 42 | Claude Sonnet 5Anthropic | $4.00 | $2.00 | $10.00 |
| 43 | Kimi K3.1 ProMoonshot AI (Kimi) | $4.00 | $2.00 | $10.00 |
| 44 | GPT-5.6 TerraOpenAI | $4.50 | $2.00 | $12.00 |
| 45 | Gemini 3.1 Pro (preview)Google | $4.50 | $2.00 | $12.00 |
| 46 | GPT-5.4OpenAI | $5.625 | $2.50 | $15.00 |
| 47 | Gemini 4 NeonGoogle | $6.00 | $3.00 | $15.00 |
| 48 | Kimi K3Moonshot AI (Kimi) | $6.00 | $3.00 | $15.00 |
| 49 | Claude Opus 5.5Anthropic | $8.00 | $4.00 | $20.00 |
| 50 | Gemini 4 CarbonGoogle | $8.00 | $4.00 | $20.00 |
| 51 | Gemini 4 ArgonGoogle | $8.00 | $4.00 | $20.00 |
| 52 | Muse WonderMeta (Muse) | $8.00 | $4.00 | $20.00 |
| 53 | Claude Opus 5Anthropic | $10.00 | $5.00 | $25.00 |
| 54 | GPT-5.6 SolOpenAI | $11.25 | $5.00 | $30.00 |
| 55 | GPT-5.5OpenAI | $11.25 | $5.00 | $30.00 |
| 56 | GPT-6.2 AstraOpenAI | $16.00 | $8.00 | $40.00 |
| 57 | Claude Fable 5.2Anthropic | $16.00 | $8.00 | $40.00 |
| 58 | Claude Mythos 5.2Anthropic | $16.00 | $8.00 | $40.00 |
| 59 | GPT-6 AstraOpenAI | $20.00 | $10.00 | $50.00 |
| 60 | Claude Fable 5.1Anthropic | $20.00 | $10.00 | $50.00 |
| 61 | Claude Mythos 5.1Anthropic | $20.00 | $10.00 | $50.00 |
| 62 | Claude Fable 5Anthropic | $20.00 | $10.00 | $50.00 |
OpenAI API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| GPT-6.2 Astra | $8.00 | $0.40 | $40.00 | >272K prompt: $16.00 / $60.00 |
| GPT-6.2 Sol | $2.00 | $0.10 | $10.00 | >272K prompt: $4.00 / $15.00 |
| GPT-6 Astra | $10.00 | $1.00 | $50.00 | >272K prompt: $20.00 / $75.00 |
| GPT-6.1 Sol | $2.00 | $0.10 | $10.00 | >272K prompt: $4.00 / $15.00 |
| GPT-6.1 Terra | $1.00 | $0.05 | $5.00 | >272K prompt: $2.00 / $7.50 |
| GPT-6 Sol | $2.00 | $0.20 | $10.00 | >272K prompt: $4.00 / $15.00 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 | >272K prompt: $0.20 / $0.75 |
| GPT-5.6 Sol | $5.00 | $0.50 | $30.00 | >272K prompt: $10.00 / $45.00 |
| GPT-5.6 Terra | $2.00 | $0.20 | $12.00 | >272K prompt: $4.00 / $18.00 |
| GPT-5.6 Luna | $0.20 | $0.02 | $1.20 | >272K prompt: $0.40 / $1.80 |
| GPT-5.5 | $5.00 | $0.50 | $30.00 | >272K prompt: $10.00 / $45.00 |
| GPT-5.4 | $2.50 | $0.25 | $15.00 | >272K prompt: $5.00 / $22.50 |
| GPT-5.4 mini | $0.75 | $0.075 | $4.50 | — |
| GPT-5.4 nano | $0.20 | $0.02 | $1.25 | — |
| GPT-5.2 older | $1.75 | $0.175 | $14.00 | — |
| GPT-5 price change | $1.25 | $0.125 | $10.00 | — |
| GPT-5 mini price change | $0.25 | $0.025 | $2.00 | — |
| GPT-5 nano price change | $0.05 | $0.005 | $0.40 | — |
| GPT-4.1 older price change | $2.00 | $0.50 | $8.00 | — |
| GPT-4.1 mini older price change | $0.40 | $0.10 | $1.60 | — |
| GPT-4.1 nano older | $0.10 | $0.025 | $0.40 | — |
| GPT-4o older price change | $2.50 | $1.25 | $10.00 | — |
| GPT-4o mini older price change | $0.15 | $0.075 | $0.60 | — |
| o3 older price change | $2.00 | $0.50 | $8.00 | — |
| o4-mini older | $1.10 | $0.275 | $4.40 | — |
Standard tier. Prompts over 272K input tokens are billed at the long-context rate shown. Batch API: 50% off. Regional (data-residency) endpoints add 10% on newer models. Source: platform.openai.com/docs/pricing, checked December 2, 2026.
Anthropic API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Claude Fable 5.2 | $8.00 | $0.20 | $40.00 | — |
| Claude Mythos 5.2 | $8.00 | $0.20 | $40.00 | — |
| Claude Fable 5.1 | $10.00 | $0.25 | $50.00 | — |
| Claude Mythos 5.1 | $10.00 | $0.25 | $50.00 | — |
| Claude Fable 5 | $10.00 | $1.00 | $50.00 | — |
| Claude Mythos 5 older | $10.00 | $1.00 | $50.00 | — |
| Claude Opus 5.5 | $4.00 | $0.20 | $20.00 | — |
| Claude Opus 5 | $5.00 | $0.50 | $25.00 | — |
| Claude Opus 4.8 older | $5.00 | $0.50 | $25.00 | — |
| Claude Sonnet 5.5 | $2.00 | $0.10 | $10.00 | — |
| Claude Sonnet 5 | $2.00 | $0.20 | $10.00 | — |
| Claude Sonnet 4.6 older | $3.00 | $0.30 | $15.00 | — |
| Claude Haiku 5.5 | $0.10 | $0.01 | $0.50 | >100K prompt: $0.50 / $2.50 |
| Claude Haiku 4.5 | $1.00 | $0.10 | $5.00 | — |
Cached input = cache-hit price. Writing to the cache costs 1.25x input (5-minute) and is not included. Claude 4.7 and later use a newer tokenizer that produces about 30% more tokens for the same text. Batch API: 50% off. Source: docs.anthropic.com/en/docs/about-claude/pricing, checked December 1, 2026.
Google API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Gemini 4 Neon price change | $3.00 | $0.15 | $15.00 | — |
| Gemini 4 Carbon price change | $4.00 | $0.20 | $20.00 | — |
| Gemini 4 Argon price change | $4.00 | $0.20 | $20.00 | — |
| Gemini 4 Hydrogen | $1.50 | $0.075 | $7.50 | — |
| Gemini 3.8 Flash price change | $0.75 | $0.075 | $3.75 | — |
| Gemini 3.6 Flash price change | $0.75 | $0.075 | $3.75 | — |
| Gemini 3.5 Flash-Lite | $0.30 | $0.03 | $2.50 | — |
| Gemini 3.1 Pro (preview) | $2.00 | $0.20 | $12.00 | >200K prompt: $4.00 / $18.00 |
| Gemini 3.1 Flash-Lite | $0.25 | $0.025 | $1.50 | — |
| Gemini 3 Flash (preview) older | $0.50 | $0.05 | $3.00 | — |
| Gemini 2.5 Pro older price change | $1.25 | $0.125 | $10.00 | >200K prompt: $2.50 / $15.00 |
| Gemini 2.5 Flash older price change | $0.30 | $0.03 | $2.50 | — |
| Gemini 2.5 Flash-Lite older | $0.10 | $0.01 | $0.40 | — |
Paid tier, text input. Prompts over 200K tokens are billed at the higher rate shown (Pro models). Batch Mode: 50% off. Source: ai.google.dev/gemini-api/docs/pricing, checked December 1, 2026.
xAI API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Grok 4.7 | $2.00 | $0.50 | $6.00 | ≥200K prompt: $4.00 / $12.00 |
| Grok 4.6 | $2.00 | $0.50 | $6.00 | ≥200K prompt: $4.00 / $12.00 |
| Grok 4.5 | $2.00 | $0.30 | $6.00 | ≥200K prompt: $4.00 / $12.00 |
| Grok 4.3 | $1.25 | $0.20 | $2.50 | ≥200K prompt: $2.50 / $5.00 |
| Grok 4.20 older | $1.25 | $0.20 | $2.50 | ≥200K prompt: $2.50 / $5.00 |
| Grok Build 0.1 older | $1.00 | $0.20 | $2.00 | ≥200K prompt: $2.00 / $4.00 |
Prompts of 200K tokens or more are billed at the higher rate shown, for every token in the request. Source: docs.x.ai/docs/models, checked December 1, 2026.
DeepSeek API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| DeepSeek V4 Pro | $1.32 | $0.044 | $3.96 | — |
| DeepSeek V4.1 Flash | $0.30 | $0.006 | $1.20 | — |
Standard (peak) prices. Off-peak hours are 50% off. Source: api-docs.deepseek.com/quick_start/pricing, checked December 1, 2026.
Moonshot AI (Kimi) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Kimi K3.1 Pro | $2.00 | $0.20 | $10.00 | — |
| Kimi K3 | $3.00 | $0.30 | $15.00 | — |
Flat pricing across the 1M-token context. Cache writes are billed separately (5-minute writes at the input price, 1-hour writes at 2× input) and are not included here. Batch API for Kimi K3.1 Pro and K3 is billed at 60% of the standard price (the calculator's batch toggle does not apply it). Source: platform.kimi.ai/docs/pricing/chat, checked December 1, 2026.
Alibaba Cloud (Qwen) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Qwen4-Max price change | $1.50 | $0.075 | $4.50 | — |
| Qwen 3.8 Max | $2.00 | $0.25 | $6.00 | — |
International (Singapore) prices shown; cached = implicit cache hit. Qwen4-Max: cache hit $0.075, explicit cache creation $1.875 (5-minute) or $3.00 (1-hour) per 1M; Global deployments (Frankfurt, Hong Kong, Tokyo, Virginia) $1.413 input / $4.24 output. Qwen 3.8 Max: explicit cache reads $0.17 and explicit cache creation $2.50 per 1M; Frankfurt and Virginia deployments $1.65 input / $4.951 output. No batch in the International region for either model. Source: www.alibabacloud.com/help/en/model-studio/model-pricing, checked December 1, 2026.
Z.ai (GLM) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| GLM-5.3 | $1.40 | $0.26 | $4.40 | — |
| GLM-5.3-Flash | $0.15 | $0.03 | $0.50 | — |
| GLM-5.3-FlashX | $0.37 | $0.075 | $1.25 | — |
International Z.ai API list prices in USD. Source: docs.z.ai/guides/overview/pricing, checked December 1, 2026.
LongCat (Meituan) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| LongCat-2.5 price change | $0.30 | $0.006 | $1.20 | — |
Pay-as-you-go limited-time discounted price; LongCat has not published an end date or the regular price. Source: longcat.chat/platform/docs/pricing/longcat-2.5, checked December 1, 2026.
Baidu (ERNIE) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| ERNIE 5.5 Flash Preview price change | $0.28 | $0.028 | $1.13 | — |
Baidu AI Cloud Qianfan international pay-as-you-go prices in USD (same price in text-generation and deep-thinking modes). Mainland-China Qianfan bills in yuan with separate peak and off-peak rates. Source: intl.cloud.baidu.com/en/doc/qianfan/s/Jm8r1826a-intl-en, checked December 1, 2026.
Thinking Machines Lab API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Inkling 2 Mini price change | $0.15 | $0.015 | $0.50 | — |
| Inkling 2 Small price change | $0.30 | $0.03 | $1.00 | — |
Tinker list prices per 1M tokens: prefill = input, cached prefill = input tokens that hit the prompt cache, sample = output. Fine-tuning (train) tokens are billed separately and are not included in the calculator. The 256K training-context variants cost more for training only; prefill and sample prices are the same. Source: tinker-docs.thinkingmachines.ai/tinker/models/models_and_pricing/, checked December 1, 2026.
Xiaomi (MiMo) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| MiMo-V2.6-Pro details | $0.435 | $0.0036 | $0.87 | — |
| MiMo-V2.6-Flash details | $0.14 | $0.0028 | $0.28 | — |
Xiaomi MiMo API Platform overseas pay-as-you-go prices in USD; mainland China bills in yuan (MiMo-V2.6-Pro ¥3 input / ¥6 output, MiMo-V2.6-Flash ¥1 / ¥2 per 1M). Cache writes are free for a limited time. Batch API: 50% off for Pro and Flash. Web search is billed separately ($5 per 1,000 calls). Source: mimo.mi.com/docs/en-US/price/pay-as-you-go, checked December 1, 2026.
Meta (Muse) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Muse Wonder details | $4.00 | $0.20 | $20.00 | — |
| Muse Spark 1.3 details | $1.25 | $0.15 | $4.25 | — |
| Muse Ember details | $0.10 | $0.004 | $0.50 | >200K prompt: $0.30 / $1.50 |
Meta Model API pay-as-you-go prices in Standard mode (your content is not used to train Meta models). Contributor mode, where Meta may train on your prompts and outputs, is cheaper but is offered for Muse Spark only. Muse Ember bills requests over 200K input tokens at a higher rate for the whole request. Web search grounding costs $2.50 per 1,000 queries. Source: dev.meta.ai/docs/pricing-rate-limits, checked December 1, 2026.
Tencent (Hy) API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Hy4 details | $0.834 | $0.042 | $2.501 | — |
| Hy4 flash details | $0.07 | $0.003 | $0.281 | — |
Tencent Cloud TokenHub international (Singapore region) pay-as-you-go list prices in USD. The Hy4 flash 50% launch discount ended at 12:00 on Nov 30, 2026 (Beijing time); a 50% discount on Hy4 runs until 23:59:59 on Dec 31, 2026 (Beijing time). The calculator uses list prices. Mainland-China TokenHub bills in yuan. Source: www.tencentcloud.com/document/product/1300/78937, checked December 1, 2026.
Amazon Bedrock API pricing
| Model | Input /1M | Cached input /1M | Output /1M | Long-context rate |
|---|---|---|---|---|
| Amazon Ergo details | $1.00 | $0.03 | $3.00 | — |
Amazon Bedrock list prices for Global cross-Region inference. US cross-Region inference (data stays in US Regions) costs 10% more. Cached input = cache-read price; writing to the 30-minute cache costs $1.25 per 1M tokens on Global and is not included. Standard, Flex and Batch tiers are billed at the same rate, so there is no batch discount. Source: aws.amazon.com/products/ergo/pricing/, checked December 2, 2026.