LLM API Pricing 2026: Compare Token Costs Across 8 Providers
Cheapest verified LLM API: $0.03/M · GPT-6.2 Sol $2/M · Claude Sonnet 5.5 $2/M. Compare 43 prices with context windows, source links, and verified dates.
Verified pricing dataset
LLM API prices from tracked source data
Prices are shown only after source verification. Pending providers are tracked but excluded from rankings and calculators.
- As of
- Update cadence
- Checked daily; published only after source verification.
- Source policy
- Official provider pricing pages or APIs only.
- Machine-readable data
- /api/pricing.json
- Tracked sources
- https://developers.openai.com/api/docs/models/gpt-6.2-astrahttps://developers.openai.com/api/docs/models/gpt-6.2-solhttps://developers.openai.com/api/docs/models/gpt-6.1-terrahttps://developers.openai.com/api/docs/models/gpt-6-astrahttps://developers.openai.com/api/docs/models/gpt-6.1-solhttps://developers.openai.com/api/docs/models/gpt-6-lunahttps://developers.openai.com/api/docs/models/gpt-5.6-cyberhttps://www.anthropic.com/claude-fable-and-mythos-5-2https://www.anthropic.com/claude-fable-and-mythos-5-1https://www.anthropic.com/claude-opus-5-5https://www.anthropic.com/claude-sonnet-5-5https://www.anthropic.com/claude-haiku-5-5https://aistudio.google.com/docs/pricing?hl=enhttps://ai.google.dev/gemini-api/docs/pricinghttps://ai.google.dev/gemini-api/docs/pricing?hl=enhttps://platform.kimi.ai/docs/pricing/chat-k3.mdhttps://api-docs.deepseek.com/quick_start/pricing/https://platform.openai.com/docs/pricinghttps://docs.anthropic.com/en/docs/about-claude/pricinghttps://docs.x.ai/overviewhttps://www.together.ai/pricinghttps://groq.com/pricing/https://docs.mistral.ai/getting-started/models/models_overview/https://fireworks.ai/pricinghttps://openrouter.ai/api/v1/models
Quick pricing answers
Cheapest input
LFM2 24B A2B on Together
$0.03/M input · $0.12/M output
Cheapest output
Llama 3.1 8B Instant on Groq
$0.08/M output
Lowest first-party lab price
GPT-6 Luna
OpenAI · $0.10/M input
Best cached-input price
DeepSeek V4.1 Flash 1017
$0.003/M cached input
These answers are generated from 43 verified models across 8 providers as of November 2026. Use the calculator for workload-specific totals because output tokens and cache hit rate can change the cheapest choice.
| Provider | Model | Input / 1M | Cached input / 1M | Output / 1M | Context | Verified |
|---|---|---|---|---|---|---|
| OpenAI | GPT-6.2 Astra | $8.00 | $0.40 | $40.00 | 1,050,000 | November 2026 |
| OpenAI | GPT-6.2 Sol | $2.00 | $0.10 | $10.00 | 1,050,000 | November 2026 |
| OpenAI | GPT-6.1 Terra | $1.00 | $0.05 | $5.00 | 1,050,000 | November 2026 |
| OpenAI | GPT-6 Astra | $10.00 | $1.00 | $50.00 | 1,050,000 | November 2026 |
| OpenAI | GPT-6.1 Sol | $2.00 | $0.10 | $10.00 | 1,050,000 | November 2026 |
| OpenAI | GPT-6 Luna | $0.10 | $0.01 | $0.50 | 1,050,000 | November 2026 |
| OpenAI | GPT-5.6 Cyber | $12.50 | $1.25 | $75.00 | 400,000 | October 2026 |
| Anthropic | Claude Fable 5.2 | $8.00 | $0.20 | $40.00 | 1,000,000 | November 2026 |
| Anthropic | Claude Fable 5.1 | $10.00 | $0.25 | $50.00 | 1,000,000 | November 2026 |
| Anthropic | Claude Opus 5.5 | $4.00 | $0.20 | $20.00 | n/a | November 2026 |
| Anthropic | Claude Sonnet 5.5 | $2.00 | $0.10 | $10.00 | n/a | November 2026 |
| Anthropic | Claude Haiku 5.5 | $0.10 | $0.01 | $0.50 | n/a | November 2026 |
| Gemini 4 Carbon | $2.00 | $0.10 | $10.00 | 1,048,576 | November 2026 | |
| Gemini 4 Argon | $2.00 | $0.10 | $10.00 | 1,048,576 | November 2026 | |
| Gemini 3.8 Flash | $0.75 | $0.075 | $3.75 | 1,048,576 | November 2026 | |
| Gemini Robotics ER 2 Streaming | $1.00 | n/a | $5.00 | n/a | November 2026 | |
| Gemini Robotics ER 2 | $1.00 | $0.10 | $5.00 | n/a | November 2026 | |
| Kimi | Kimi K3 | $3.00 | $0.30 | $15.00 | 1,048,576 | July 2026 |
| DeepSeek | DeepSeek V4.1 Flash 1017 | $0.15 | $0.0030 | $0.60 | 1,000,000 | October 2026 |
| OpenAI | GPT-5.6 Sol | $4.00 | $0.40 | $20.00 | 1,000,000 | November 2026 |
| OpenAI | GPT-5.6 Terra | $2.00 | $0.20 | $12.00 | 1,000,000 | November 2026 |
| OpenAI | GPT-5.6 Luna | $0.20 | $0.02 | $1.20 | 1,000,000 | November 2026 |
| DeepSeek | DeepSeek V4 Pro 0813 | $0.66 | $0.022 | $1.98 | 1,000,000 | October 2026 |
| OpenAI | GPT-5.5 | $5.00 | $0.50 | $30.00 | 1,000,000 | July 2026 |
| OpenAI | GPT-5.4 | $2.50 | $0.25 | $15.00 | 1,000,000 | July 2026 |
| OpenAI | GPT-5.4 mini | $0.75 | $0.075 | $4.50 | 400,000 | July 2026 |
| OpenAI | GPT-5.4 nano | $0.20 | $0.02 | $1.25 | n/a | July 2026 |
| Anthropic | Claude Opus 4.8 | $5.00 | $0.50 | $25.00 | 1,000,000 | November 2026 |
| Anthropic | Claude Sonnet 4.6 | $3.00 | $0.30 | $15.00 | n/a | November 2026 |
| Anthropic | Claude Haiku 4.5 | $1.00 | $0.10 | $5.00 | 200,000 | November 2026 |
| Gemini 3 Flash Preview | $0.50 | $0.05 | $3.00 | n/a | November 2026 | |
| Gemini 2.5 Pro | $1.25 | $0.125 | $10.00 | 1,000,000 | November 2026 | |
| Gemini 2.5 Flash | $0.30 | $0.03 | $2.50 | 1,000,000 | November 2026 | |
| Gemini 2.5 Flash-Lite | $0.10 | $0.01 | $0.40 | n/a | November 2026 | |
| xAI | Grok Build 0.1 | $1.00 | n/a | $2.00 | 256,000 | July 2026 |
| Together AI | DeepSeek V4 Pro on Together | $1.74 | $0.20 | $3.48 | n/a | July 2026 |
| Together AI | MiniMax M3 on Together | $0.30 | $0.06 | $1.20 | n/a | July 2026 |
| Together AI | gpt-oss-120B on Together | $0.15 | n/a | $0.60 | n/a | July 2026 |
| Together AI | LFM2 24B A2B on Together | $0.03 | n/a | $0.12 | n/a | July 2026 |
| Groq | GPT OSS 20B on Groq | $0.075 | $0.038 | $0.30 | 128,000 | July 2026 |
| Groq | GPT OSS 120B on Groq | $0.15 | $0.075 | $0.60 | 128,000 | July 2026 |
| Groq | Llama 4 Scout on Groq | $0.11 | n/a | $0.34 | 128,000 | July 2026 |
| Groq | Llama 3.1 8B Instant on Groq | $0.05 | n/a | $0.08 | 128,000 | July 2026 |
Pending source verification
Mistral
Official model docs are tracked, but a stable per-model token pricing table was not found in the fetched docs. Do not publish Mistral prices until verified from an official pricing table.
https://docs.mistral.ai/getting-started/models/models_overview/Fireworks
Official pricing page exposes serverless, fine-tuning, and GPU-hour pricing, but the fetched content points per-token estimates to a separate blog. Keep token pricing pending until a stable official per-model token table is available.
https://fireworks.ai/pricingOpenRouter
Provider exposes model pricing through its models API; ingestion needs a deterministic model-selection policy before publishing aggregate OpenRouter prices.
https://openrouter.ai/api/v1/modelsPricing questions
What is the cheapest LLM API in November 2026?
LFM2 24B A2B on Together has the lowest verified input-token price at $0.03/M input tokens.
Which model is cheapest for generation-heavy workloads?
Llama 3.1 8B Instant on Groq has the lowest verified output-token price at $0.08/M output tokens.
Why are some providers still pending?
TLDL publishes prices only when the official source exposes stable per-model token pricing. Pending rows keep tracked sources visible without mixing guessed prices into the table.
Pricing data changelog
2026-11-17 · OpenAI
Added GPT-6.2 Astra ($8/$40, 20% below GPT-6 Astra) and GPT-6.2 Sol ($2/$10), released November 17, 2026, plus GPT-6.1 Terra ($1/$5, released October 26); re-verified other GPT-6 and GPT-5.6 rows.
https://developers.openai.com/api/docs/pricing2026-11-11 · Google
Added Gemini 4 Carbon and Gemini 4 Argon at introductory pricing ($2/$10 per M tokens, $0.10 cached input) through November 30, 2026; re-verified other Gemini rows from Google's new AI Studio pricing page.
https://aistudio.google.com/docs/pricing?hl=en2026-11-11 · Anthropic
Added Claude Fable 5.2 ($8/$40 per M tokens, $0.20 cache reads), released November 9, 2026; re-verified all other Claude prices against the official pricing page.
https://platform.claude.com/docs/en/about-claude/pricing2026-10-21 · OpenAI
Added GPT-6 Astra, GPT-6.1 Sol, GPT-6 Luna, and GPT-5.6 Cyber, and refreshed GPT-5.6 family rates from current official documentation.
https://developers.openai.com/api/docs/models2026-10-21 · Anthropic
Added Claude Opus 5.5, Sonnet 5.5, Haiku 5.5, and Fable 5.1 with current first-party API pricing.
https://www.anthropic.com/claude2026-10-21 · Google
Added Gemini 3.8 Flash GA introductory pricing, valid through December 31, 2026.
https://ai.google.dev/gemini-api/docs/pricing2026-10-21 · DeepSeek
Replaced retired V4 Flash with DeepSeek V4.1 Flash 1017, updated V4 Pro rates, and recorded the active peak and off-peak pricing policy.
https://api-docs.deepseek.com/quick_start/pricing/2026-07-31 · DeepSeek
Verified unchanged V4 Flash and V4 Pro token prices after the DeepSeek-V4-Flash-0731 public-beta update. DeepSeek also announced a future 2x peak-hours policy, but has not set its effective date.
https://api-docs.deepseek.com/quick_start/pricing/2026-07-30 · Google
Model watch detected official pricing updates for gemini-robotics-er-2, gemini-robotics-er-2-streaming. Review the automated draft PR before merging.
https://ai.google.dev/gemini-api/docs/pricing?hl=en2026-07-18 · Kimi
Model watch detected official pricing updates for kimi-k3. Review the automated draft PR before merging.
https://platform.kimi.ai/docs/pricing/chat-k3.md2026-07-17 · OpenAI
Added GPT-5.6 Sol, Terra, and Luna standard API pricing plus the 90% cache-read discount from OpenAI's official launch announcement.
https://openai.com/index/gpt-5-6/2026-07-17 · Anthropic
Added Claude Fable 5 API pricing and prompt-cache-hit discount from Anthropic's official model page.
https://www.anthropic.com/claude/fable2026-07-17 · Kimi
Added verified Kimi K3 API pricing, 1M-token context, and maximum completion-token limit from Kimi's official launch and API documentation.
https://platform.kimi.ai/docs/pricing/chat-k32026-07-04 · DeepSeek
Verified DeepSeek V4 Flash and V4 Pro pricing from the official DeepSeek API pricing page.
https://api-docs.deepseek.com/quick_start/pricing2026-07-04 · OpenAI
Verified GPT-5.5 and GPT-5.4 family standard API pricing from the official OpenAI pricing page.
https://platform.openai.com/docs/pricing2026-07-04 · Anthropic
Verified current Claude first-party API pricing from the official Anthropic pricing page.
https://docs.anthropic.com/en/docs/about-claude/pricing2026-07-04 · Google
Verified Gemini 3 Flash and Gemini 2.5 family standard text pricing from the official Gemini API pricing page.
https://ai.google.dev/gemini-api/docs/pricing2026-07-04 · Groq
Verified Groq on-demand LLM token pricing from the official Groq pricing page.
https://groq.com/pricing/2026-07-04 · Together AI
Verified selected Together AI serverless inference prices from the official Together AI pricing page.
https://www.together.ai/pricing2026-07-04 · xAI
Verified Grok Build 0.1 token pricing from the official xAI docs overview.
https://docs.x.ai/overview2026-07-04 · TLDL
Kept Mistral, Fireworks token inference, and OpenRouter aggregate pricing as source-pending where the official source is not a stable per-model token table in this dataset yet.
https://www.tldl.io/api/pricing.jsonThis page compares LLM API prices from TLDL's shared pricing dataset. The table above is generated from src/data/llm-pricing.json, the same source used by the public pricing API and the LLM cost calculator.
November 17 update: GPT-6.2 Astra ($8/M input, $40/M output, 20% below GPT-6 Astra) and GPT-6.2 Sol ($2/$10) are in the dataset, along with GPT-6.1 Terra ($1/$5); all OpenAI GPT-6 and GPT-5.6 prices were re-verified.
November 2026 update: Claude Fable 5.2 (released November 9) is now in the dataset at $8/M input and $40/M output, 20% below Fable 5.1, and all Claude prices were re-verified on November 11. Gemini 4 Carbon and Gemini 4 Argon were added at Google's introductory $2/M input and $10/M output, which applies through November 30 and doubles on December 1.
October 2026 update: the dataset now includes GPT-6 Astra, GPT-6.1 Sol, GPT-6 Luna, Claude 5.5, Claude Fable 5.1, Gemini 3.8 Flash, and DeepSeek V4.1 Flash. DeepSeek rows show off-peak rates and label the active 2× peak tier; Gemini 3.8 Flash shows introductory pricing through December 31, 2026.
Prices are included only after they are verified from official provider sources. Providers that are still pending stay visible in the source-tracking list, but they are excluded from rankings and calculators until the data is verified.
Why the dataset is strict
LLM pricing pages drift quickly. Model names change, cached-token rules change, context tiers split by prompt length, and provider pages move behind bot protection. TLDL treats the official rate card as the source of truth and avoids publishing copied numbers when a source cannot be verified.
How to read the table
- Input / 1M is the provider's verified input-token price per million tokens.
- Cached input / 1M is shown only when the provider exposes a separate cached-input price.
- Output / 1M is the provider's verified output-token price per million tokens.
- Context and Verified show the model metadata and verification month from the shared dataset.
Source status
The pending section shows providers where TLDL already tracks the official pricing URL but has not verified current token prices. This is intentional: pending rows are better than stale prices because they make the missing verification explicit.
Related
Related Resources
Follow LLM pricing updates
Read website-published updates when TLDL verifies pricing changes, data refreshes, or useful cost comparisons.
Published on TLDL. Follow the newsletter RSS feed for lightweight updates.