Cost per million tokens
All reportsLLM API pricing comparison
Models with published API pricing, sorted cheapest-first by output cost. Input and output rates are shown separately because they bill differently.
Headline “price” for an LLM is really two numbers: the cost per million input tokens and per million outputtokens. Output is typically the pricier of the two, so the table is sorted by output cost — the figure that tends to dominate generation-heavy and agentic workloads.
Only models with a published price appear below. Open-weight models you run yourself are excluded unless their lab also lists a hosted API rate.
Prices are list rates per 1M tokens in USD and can change without notice; always confirm against the provider before budgeting.
| Model | Lab | Access | Input $/Mtok | Output $/Mtok | Context | Date | Source |
|---|---|---|---|---|---|---|---|
| Perplexity Decider Flash v1.3 | Perplexity | Apache-2.0 | $0.01 | $0 | — | Released Nov 12, 2026 | source |
| Perplexity Decider v1.3 | Perplexity | Apache-2.0 | $0.02 | $0 | 262K | Released Nov 12, 2026 | source |
| Jev | TypeSafe AI | Proprietary (commercial use conditional) | $0.042 | $0 | — | Released Sep 15, 2026 | source |
| Gemini Decision 1 | DeepMind | Proprietary | $0.1 | $0 | — | Released Nov 11, 2026 | source |
| HeyGen Decision 1 | HeyGen | Proprietary | $0.14 | $0 | 131K | Released Nov 13, 2026 | source |
| LFM3-1.7B | Liquid | LFM Open License v1.0 | $0.08 | - | 262K | Released Oct 27, 2026 | source |
| Qwen3.7-Flash | Qwen | Proprietary | $0.03 | $0.13 | 1M | Released Jul 27, 2026 | source |
| Schematron V2 Turbo | Inference.net | Proprietary | $0.03 | $0.15 | 128K | Released Sep 12, 2026 | source |
| Laguna XS 2.1 | Poolside | OpenMDW-1.1 | $0.1 | $0.2 | 256K | Released Jul 2, 2026 | source |
| Laguna S 2.1 | Poolside | OpenMDW-1.1 | $0.1 | $0.2 | 1M | Released Jul 21, 2026 | source |
| Schematron V2 Small | Inference.net | Proprietary | $0.05 | $0.23 | 128K | Released Sep 12, 2026 | source |
| DeepSeek-V4-Flash-0731 | DeepSeek | MIT | $0.14 | $0.28 | 1M | Released Jul 31, 2026 | source |
| MiMo-V2.6-Flash | Xiaomi | MIT | $0.14 | $0.28 | 1.0M | Released Sep 21, 2026 | source |
| Solar Mini 4 | Upstage | Proprietary | $0.1 | $0.4 | 524K | Released Sep 23, 2026 | source |
| Gemini 2.5 Flash-Lite | DeepMind | Proprietary | $0.1 | $0.4 | 1M | Released Jul 22, 2025 | source |
| Naive-N0.5-Flash | NaiveAI | MIT | $0.1 | $0.4 | 1.0M | Released Sep 27, 2026 | source |
| Nex-N2.6 | Nex AGI | Apache-2.0 | $0.12 | $0.4 | 262K | Released Nov 10, 2026 | source |
| Qwen3.8-Omni-Flash | Qwen | Proprietary (Alibaba Cloud) | $0.15 | $0.47 | 1M | Released Sep 18, 2026 | source |
| Qwen3.8-Flash | Qwen | Proprietary managed API (underlying architecture open-weight as Qwen3.8-Flash-Next, Qwen Community License 1.0) | $0.15 | $0.47 | 1M | Released Aug 26, 2026 | source |
| GPT-6 Luna | OpenAI | Proprietary | $0.1 | $0.5 | 1.1M | Released Sep 22, 2026 | source |
| Muse Ember | Meta | Proprietary | $0.1 | $0.5 | 1.0M | Released Nov 9, 2026 | source |
| Claude Haiku 5.5 | Anthropic | Proprietary | $0.1 | $0.5 | 1M | Released Oct 7, 2026 | source |
| GLM-5.3-Flash | Z.ai | MIT | $0.15 | $0.5 | 1M | Released Aug 26, 2026 | source |
| Mistral Small 4 | Mistral | Apache 2.0 | $0.15 | $0.6 | 256K | Released Mar 16, 2026 | source |
| KAT-Coder-Air V2.5 | Kwaipilot | Proprietary | $0.15 | $0.6 | 262K | Released Jul 14, 2026 | source |
| MiniMax M3.1 Flash | MiniMax | MiniMax Community License | $0.15 | $0.6 | 1.0M | Released Sep 27, 2026 | source |
| DeepSeek-V4-Flash-Vision-Exp | DeepSeek | Proprietary | $0.22 | $0.66 | 1M | Released Aug 21, 2026 | source |
| Mercury 3 | Inception | Proprietary | $0.2 | $0.7 | 1M | Released Oct 19, 2026 | source |
| Mercury 2.5 Preview | Inception | Proprietary | $0.2 | $0.75 | 260K | Released Aug 31, 2026 | source |
| Mi:dm K 3.0 Pro | KT | Proprietary | $0.2 | $0.8 | 262K | Released Oct 29, 2026 | source |
| MiMo-V2.6-Pro | Xiaomi | MIT | $0.435 | $0.87 | 1.0M | Released Sep 21, 2026 | source |
| DeepSeek-V4-Pro-0813 | DeepSeek | Proprietary | $0.435 | $0.87 | 1M | Released Aug 13, 2026 | source |
| LFM2.5-24B-A2B | Liquid | LFM Open License v1.0 | $0.1 | $1 | 131K | Released Oct 13, 2026 | source |
| Inkling 2 Small | Thinking Machines | Apache-2.0 | $0.3 | $1 | 1.0M | Released Nov 5, 2026 | source |
| Step-3.7-Flash | StepFun | Apache-2.0 | $0.2 | $1.15 | 256K | Released May 29, 2026 | source |
| Solar Pro 4 | Upstage | Proprietary | $0.3 | $1.2 | 524K | Released Aug 10, 2026 | source |
| DeepSeek-V4.1-Flash | DeepSeek | MIT | $0.3 | $1.2 | 1M | Released Sep 10, 2026 | source |
| Particle-1 | Particle | Proprietary | $0.3 | $1.2 | 1.0M | Released Oct 28, 2026 | source |
| DeepSeek-V4.1-Flash-1017 | DeepSeek | MIT | $0.3 | $1.2 | 1.0M | Released Oct 17, 2026 | source |
| LongCat-2.5-Preview | Meituan | Proprietary | $0.3 | $1.2 | 1.0M | Released Sep 25, 2026 | - |
| GLM-5.3-FlashX-Legal | Z.ai | Proprietary | $0.37 | $1.25 | 1.0M | Released Nov 2, 2026 | source |
| Perceptron Mk1.5 | Perceptron | Proprietary | $0.15 | $1.5 | 37K | Released Sep 25, 2026 | source |
| Qwen3.7-Plus | Qwen | Proprietary | $0.4 | $1.6 | 1M | Released Jun 3, 2026 | source |
| Mistral Medium 3 | Mistral | Proprietary | $0.4 | $2 | — | Released May 7, 2025 | source |
| Gemini 2.5 Flash | DeepMind | Proprietary | $0.3 | $2.5 | 1M | Released Jun 17, 2025 | source |
| Gemini 3.5 Flash-Lite | DeepMind | Proprietary | $0.3 | $2.5 | 1M | Released Jul 21, 2026 | source |
| Grok 4.3 | xAI | Proprietary | $1.25 | $2.5 | 1M | Released May 6, 2026 | source |
| Hy4 preview | Hunyuan | Apache-2.0 | $0.834 | $2.501 | 1.0M | Released Aug 28, 2026 | source |
| Hy4 | Hunyuan | Proprietary | $0.9 | $2.7 | — | Released Nov 4, 2026 | source |
| Step 5 Preview | StepFun | Proprietary (open weights promised 2026-10-15) | $1 | $2.7 | 1M | Released Sep 20, 2026 | source |
| KAT-Coder-Pro V2.5 | Kwaipilot | Proprietary | $0.74 | $2.96 | 262K | Released Jul 14, 2026 | source |
| Gemini 3.7 Flash | DeepMind | Proprietary | $0.75 | $3.75 | 1.0M | Released Aug 13, 2026 | source |
| Gemini 3.8 Flash | DeepMind | Proprietary | $0.75 | $3.75 | 1.0M | Released Sep 2, 2026 | source |
| ERNIE-Light-DT-1.0 | Baidu | Proprietary | $1.13 | $3.94 | 1.0M | Released Nov 10, 2026 | source |
| Kimi K2.7 Code | Moonshot | Modified MIT | $0.95 | $4 | 262K | Released Jun 18, 2026 | source |
| Namazu | Sakana | Proprietary | $0.95 | $4 | 262K | Released Aug 11, 2026 | source |
| GLM-5V-Turbo | Z.ai | Proprietary | $1.2 | $4 | 203K | Released Apr 1, 2026 | source |
| Mistral Large 4 | Mistral | Mistral Ecosystem Open-Weight License (modified MIT) | $1.36 | $4.18 | 1.0M | Released Oct 6, 2026 | source |
| Muse Spark 1.1 | Meta | Proprietary | $1.25 | $4.25 | 1.0M | Released Jul 9, 2026 | source |
| Muse Spark 1.2 | Meta | Meta license (weights pending) | $1.25 | $4.25 | 1.0M | Released Aug 5, 2026 | source |
| Muse Spark 1.3 | Meta | Meta license (weights pending) | $1.25 | $4.25 | 1.0M | Released Sep 2, 2026 | source |
| Muse Spark Open | Meta | Muse Model License | $1.25 | $4.25 | 1.0M | Released Oct 15, 2026 | source |
| Claude Haiku 4.5 | Anthropic | Proprietary | $1 | $5 | 200K | Released Oct 15, 2025 | source |
| GPT-6.1 Terra | OpenAI | Proprietary | $1 | $5 | 1.1M | Released Oct 26, 2026 | source |
| GPT-5.6 Luna | OpenAI | Proprietary | $1 | $6 | 1.5M | Released Jul 9, 2026 | source |
| Grok 4.7 | xAI | Proprietary | $2 | $6 | 500K | Released Sep 21, 2026 | source |
| Grok 4.5 | xAI | Proprietary | $2 | $6 | — | Released Jul 8, 2026 | source |
| Grok 4.6 | xAI | Proprietary | $2 | $6 | 500K | Released Aug 12, 2026 | source |
| Qwen3.8-Max | Qwen | Apache-2.0 | $2 | $6 | 1.0M | Released Aug 3, 2026 | source |
| Qwen3.8-Max-0902 | Qwen | Closed-weight (Max flagship API tier) | $2 | $6 | 1M | Released Sep 2, 2026 | source |
| Fugu Max | Sakana | Proprietary | $2 | $6 | — | Released Sep 11, 2026 | source |
| GLM-5.2 Turbo | Z.ai | Proprietary | $1.99 | $6.16 | 1M | Released Aug 17, 2026 | source |
| Gemini 3.6 Flash | DeepMind | Proprietary | $1.5 | $7.5 | 1M | Released Jul 21, 2026 | source |
| Gemini 4 Hydrogen | DeepMind | Proprietary | $1.5 | $7.5 | 1.0M | Released Nov 12, 2026 | source |
| Qwen3.7-Max | Qwen | Proprietary | $2.5 | $7.5 | 1M | Released May 20, 2026 | source |
| Pareto | Unbiased | Proprietary (Unbiased) | $2.5 | $7.5 | 262K | Released Sep 17, 2026 | source |
| Gemini 3.5 Flash | DeepMind | Proprietary | $1.5 | $9 | 1M | Released May 19, 2026 | source |
| Inkling | Thinking Machines | Apache-2.0 | $3.74 | $9.36 | 1.0M | Released Jul 15, 2026 | source |
| GPT-5.3-Codex | OpenAI | Proprietary | $1.25 | $10 | 400K | Released Feb 5, 2026 | source |
| GPT-5.2-Codex | OpenAI | Proprietary | $1.25 | $10 | 400K | Released Dec 18, 2025 | source |
| Claude Sonnet 5.5 | Anthropic | Proprietary | $2 | $10 | 1M | Released Sep 28, 2026 | source |
| GPT-6.1 Sol | OpenAI | Proprietary | $2 | $10 | 1.1M | Released Sep 29, 2026 | source |
| GPT-6 Sol | OpenAI | Proprietary | $2 | $10 | 1.1M | Released Sep 22, 2026 | source |
| Gemini 4 Argon | DeepMind | Proprietary | $2 | $10 | 1.0M | Released Sep 30, 2026 | source |
| Kimi K3.1 Pro | Moonshot | Kimi K3.1-Pro License | $2 | $10 | 1.0M | Released Oct 23, 2026 | source |
| Gemini 4 Carbon | DeepMind | Proprietary | $2 | $10 | 1.0M | Released Oct 28, 2026 | source |
| GPT-5.2 | OpenAI | Proprietary | $2 | $12 | 400K | Released Dec 11, 2025 | source |
| GPT-5.6 Terra | OpenAI | Proprietary | $2.5 | $15 | 1.5M | Released Jul 9, 2026 | source |
| Ember-1 | Fireworks | Proprietary | $3 | $15 | 1.0M | Released Sep 23, 2026 | source |
| Claude Sonnet 5 | Anthropic | Proprietary | $3 | $15 | 200K | Released Jun 30, 2026 | source |
| Kimi K3 | Moonshot | Modified MIT | $3 | $15 | 1.0M | Released Jul 16, 2026 | source |
| Claude Sonnet 4.5 | Anthropic | Proprietary | $3 | $15 | 200K | Released Sep 29, 2025 | source |
| GPT-5.5 | OpenAI | Proprietary | $3 | $20 | 800K | Released May 7, 2026 | source |
| Claude Opus 5.5 | Anthropic | Proprietary | $4 | $20 | 1M | Released Sep 22, 2026 | source |
| Muse Wonder | Meta | Proprietary | $4 | $20 | 1.0M | Released Oct 12, 2026 | source |
| Claude Opus 5 | Anthropic | Proprietary | $5 | $25 | 1M | Released Jul 24, 2026 | source |
| GPT-5.6 Sol | OpenAI | Proprietary | $5 | $30 | 1.5M | Released Jul 9, 2026 | source |
| Fugu Ultra | Sakana | Proprietary | $5 | $30 | — | Released Jun 22, 2026 | source |
| Fugu Ultra v2 | Sakana | Proprietary | $5 | $30 | — | Released Sep 11, 2026 | source |
| Claude Mythos 5.2 | Anthropic | Proprietary | $8 | $40 | 1M | Released Nov 9, 2026 | source |
| Claude Fable 5.2 | Anthropic | Proprietary | $8 | $40 | 1M | Released Nov 9, 2026 | source |
| Claude Mythos 5 | Anthropic | Proprietary | $10 | $50 | — | Announced Apr 7, 2026 | source |
| Claude Fable 5 | Anthropic | Proprietary | $10 | $50 | 1M | Released Jun 9, 2026 | source |
| Claude Fable 5.1 | Anthropic | Proprietary | $10 | $50 | 1M | Released Sep 1, 2026 | source |
| GPT-6 Astra | OpenAI | Proprietary | $10 | $50 | 1M | Released Sep 3, 2026 | source |
| GPT-6 Astra Pro | OpenAI | Proprietary | $10 | $50 | 1.1M | Released Sep 4, 2026 | source |
| Claude Opus 4.6 | Anthropic | Proprietary | $15 | $75 | 200K | Released Feb 5, 2026 | source |
| Claude Opus 4.8 | Anthropic | Proprietary | $15 | $75 | 500K | Released May 28, 2026 | source |
| Claude Opus 4.1 | Anthropic | Proprietary | $15 | $75 | 200K | Released Aug 5, 2025 | source |
| GPT-6 Cyber | OpenAI | Proprietary | $20 | $100 | — | Released Nov 5, 2026 | source |
Frequently asked questions
Why are input and output prices listed separately?
Providers bill input (prompt) and output (generated) tokens at different rates — output is usually several times more expensive. Your real cost depends on the ratio of the two in your workload, so a model that looks cheap on input can be expensive for long generations, and vice-versa.
How do I estimate my actual cost?
Multiply your expected input tokens by the input rate and your expected output tokens by the output rate, both per million, then add them. For chat and retrieval workloads input usually dominates; for drafting and agentic generation, output dominates.
Are open-weight models free?
Self-hosting open-weight models has no per-token licence fee, but you still pay for the hardware or a hosting provider's API. The prices here are list API prices for the model's primary hosted endpoint, where one is published.
Related