Sponsored
LimitDigest
Home / Models / API prices

AI API pricing comparison

Price per 1M tokens for 29 models from OpenAI, Anthropic, Google, Meta, DeepSeek, Qwen, Mistral and xAI. Checked Oct 16, 2026

Quick answer: The cheapest API model here is GPT-6 Luna at $0.10 in and $0.50 out per 1M tokens. The most expensive is GPT-6 Astra at $10 in and $50 out. Prices are direct list prices from each provider, checked Oct 16, 2026.
ProviderSource
GPT-6 Astragpt-6-astraPrompts up to 272K. Longer prompts cost $20 in, $75 out.OpenAI$10$1$50$201.05MOfficial
GPT-6.1 Solgpt-6.1-solPrompts up to 272K. Longer prompts cost $4 in, $15 out.OpenAI$2$0.10$10$41.05MOfficial
GPT-6 Solgpt-6-solPrompts up to 272K.OpenAI$2$0.20$10$41.05MOfficial
GPT-6 Lunagpt-6-lunaPrompts up to 272K.OpenAI$0.10$0.01$0.50$0.201.05MOfficial
GPT-5.6 Solgpt-5.6-solPromotional price, at least through Nov 21, 2026.OpenAI$4$0.40$20$8n/aOfficial
GPT-5.6 Terragpt-5.6-terraPrompts up to 272K.OpenAI$2$0.20$12$4.50n/aOfficial
GPT-5.5gpt-5.5Prompts up to 272K.OpenAI$5$0.50$30$11.25n/aOfficial
Claude Fable 5.1claude-fable-5.1Cache reads $0.25, 5-minute cache writes $12.50.Anthropic$10$0.25$50$201MOfficial
Claude Opus 5.5claude-opus-5.55-minute cache writes $5.Anthropic$4$0.20$20$81MOfficial
Claude Sonnet 5.5claude-sonnet-5.55-minute cache writes $2.50.Anthropic$2n/a$10$41MOfficial
Claude Haiku 5.5claude-haiku-5.5Rate for prompts up to 100K tokens.Anthropic$0.50n/a$2.50$11MOfficial
Claude Opus 5claude-opus-5Legacy model.Anthropic$5$0.50$25$101MOfficial
Gemini 4 Argongemini-4-argonLaunch price through Nov 30, 2026. From Dec 1: $4 in, $20 out.Google$2$0.10$10$41MOfficial
Gemini 3.8 Flashgemini-3.8-flashThrough Dec 31, 2026. From Jan 1, 2027: $1.50 in, $7.50 out.Google$0.75$0.075$3.75$1.501MOfficial
Gemini 3.1 Pro Previewgemini-3.1-pro-previewPrompts up to 200K. Longer prompts cost $4 in, $18 out.Google$2$0.20$12$4.50n/aOfficial
Gemini 3.5 Flash-Litegemini-3.5-flash-liteGoogle$0.30$0.03$2.50$0.85n/aOfficial
Muse Wonder 1.0muse-wonder-1.0No long-context premium.Meta$4$0.20$20$81MOfficial
Muse Spark 1.3muse-spark-1.3Contributor mode (trains on your data): $0.10 in, $0.20 out.Meta$1.25$0.15$4.25$21MOfficial
DeepSeek V4.1 Flashdeepseek-flashPeak rate. Off-peak is half price.DeepSeek$0.30$0.006$1.20$0.5251MOfficial
DeepSeek V4 Prodeepseek-v4-proPeak rate. Off-peak is half price.DeepSeek$1.32$0.044$3.96$1.981MOfficial
Qwen3.8 Maxqwen3.8-maxInternational (Singapore). Cache hits billed at 10% of input.Qwen$2$0.20$6$31MOfficial
Qwen3.7 Plusqwen3.7-plusList price, prompts up to 256K. Limited-time 20% off.Qwen$0.40$0.04$1.60$0.701MOfficial
Qwen3.8 Flashqwen3.8-flashInternational (Singapore). Cache hits billed at 10% of input.Qwen$0.15$0.015$0.47$0.231MOfficial
Mistral Large 4mistral-large-4Sale price. Regular: $1.36 in, $4.18 out.Mistral$0.68$0.07$2.09$1.031MOfficial
Mistral Medium 3.5mistral-medium-3.5Mistral$1.50$0.15$7.50$3256KOfficial
Mistral Small 4mistral-small-4Mistral$0.15$0.015$0.60$0.2625256KOfficial
Grok 4.7grok-4.7Prompts under 200K. Longer prompts cost $4 in, $12 out.xAI$2$0.50$6$3500KOfficial
Grok 4.3grok-4.3Prompts under 200K. Longer prompts cost double.xAI$1.25$0.20$2.50$1.561MOfficial
Grok Build 0.1grok-build-0.1Prompts under 200K.xAI$1$0.20$2$1.25256KOfficial
GPT-6 Astragpt-6-astra
1.05M context
$10Input
$50Output
$1Cached
Prompts up to 272K. Longer prompts cost $20 in, $75 out.OpenAI pricing page
GPT-6.1 Solgpt-6.1-sol
1.05M context
$2Input
$10Output
$0.10Cached
Prompts up to 272K. Longer prompts cost $4 in, $15 out.OpenAI pricing page
GPT-6 Solgpt-6-sol
1.05M context
$2Input
$10Output
$0.20Cached
Prompts up to 272K.OpenAI pricing page
GPT-6 Lunagpt-6-luna
1.05M context
$0.10Input
$0.50Output
$0.01Cached
Prompts up to 272K.OpenAI pricing page
GPT-5.6 Solgpt-5.6-sol
$4Input
$20Output
$0.40Cached
Promotional price, at least through Nov 21, 2026.OpenAI pricing page
GPT-5.6 Terragpt-5.6-terra
$2Input
$12Output
$0.20Cached
Prompts up to 272K.OpenAI pricing page
GPT-5.5gpt-5.5
$5Input
$30Output
$0.50Cached
Prompts up to 272K.OpenAI pricing page
Claude Fable 5.1claude-fable-5.1
1M context
$10Input
$50Output
$0.25Cached
Cache reads $0.25, 5-minute cache writes $12.50.Anthropic pricing page
Claude Opus 5.5claude-opus-5.5
1M context
$4Input
$20Output
$0.20Cached
5-minute cache writes $5.Anthropic pricing page
Claude Sonnet 5.5claude-sonnet-5.5
1M context
$2Input
$10Output
n/aCached
5-minute cache writes $2.50.Anthropic pricing page
Claude Haiku 5.5claude-haiku-5.5
1M context
$0.50Input
$2.50Output
n/aCached
Rate for prompts up to 100K tokens.Anthropic pricing page
Claude Opus 5claude-opus-5
1M context
$5Input
$25Output
$0.50Cached
Legacy model.Anthropic pricing page
Gemini 4 Argongemini-4-argon
1M context
$2Input
$10Output
$0.10Cached
Launch price through Nov 30, 2026. From Dec 1: $4 in, $20 out.Google pricing page
Gemini 3.8 Flashgemini-3.8-flash
1M context
$0.75Input
$3.75Output
$0.075Cached
Through Dec 31, 2026. From Jan 1, 2027: $1.50 in, $7.50 out.Google pricing page
Gemini 3.1 Pro Previewgemini-3.1-pro-preview
$2Input
$12Output
$0.20Cached
Prompts up to 200K. Longer prompts cost $4 in, $18 out.Google pricing page
Gemini 3.5 Flash-Litegemini-3.5-flash-lite
$0.30Input
$2.50Output
$0.03Cached
Google pricing page
Muse Wonder 1.0muse-wonder-1.0
1M context
$4Input
$20Output
$0.20Cached
No long-context premium.Meta pricing page
Muse Spark 1.3muse-spark-1.3
1M context
$1.25Input
$4.25Output
$0.15Cached
Contributor mode (trains on your data): $0.10 in, $0.20 out.Meta pricing page
DeepSeek V4.1 Flashdeepseek-flash
1M context
$0.30Input
$1.20Output
$0.006Cached
Peak rate. Off-peak is half price.DeepSeek pricing page
DeepSeek V4 Prodeepseek-v4-pro
1M context
$1.32Input
$3.96Output
$0.044Cached
Peak rate. Off-peak is half price.DeepSeek pricing page
Qwen3.8 Maxqwen3.8-max
1M context
$2Input
$6Output
$0.20Cached
International (Singapore). Cache hits billed at 10% of input.Qwen pricing page
Qwen3.7 Plusqwen3.7-plus
1M context
$0.40Input
$1.60Output
$0.04Cached
List price, prompts up to 256K. Limited-time 20% off.Qwen pricing page
Qwen3.8 Flashqwen3.8-flash
1M context
$0.15Input
$0.47Output
$0.015Cached
International (Singapore). Cache hits billed at 10% of input.Qwen pricing page
Mistral Large 4mistral-large-4
1M context
$0.68Input
$2.09Output
$0.07Cached
Sale price. Regular: $1.36 in, $4.18 out.Mistral pricing page
Mistral Medium 3.5mistral-medium-3.5
256K context
$1.50Input
$7.50Output
$0.15Cached
Mistral pricing page
Mistral Small 4mistral-small-4
256K context
$0.15Input
$0.60Output
$0.015Cached
Mistral pricing page
Grok 4.7grok-4.7
500K context
$2Input
$6Output
$0.50Cached
Prompts under 200K. Longer prompts cost $4 in, $12 out.xAI pricing page
Grok 4.3grok-4.3
1M context
$1.25Input
$2.50Output
$0.20Cached
Prompts under 200K. Longer prompts cost double.xAI pricing page
Grok Build 0.1grok-build-0.1
256K context
$1Input
$2Output
$0.20Cached
Prompts under 200K.xAI pricing page
29 modelsUSD per 1M tokens, standard tier. Blend 3:1 = (3 x input + output) / 4.

How to read these prices

Input is what you pay for the prompt you send, output is what the model writes back, and cached input is the discounted rate when part of your prompt repeats. Output usually costs 3 to 8 times more than input, so the 3:1 blend gives a fair single number for typical chat and coding use. Many providers charge more for very long prompts and less for batch jobs; those details are in each model's note.

Cheapest LLM APIs right now

By blended price the cheapest models are GPT-6 Luna ($0.20), Qwen3.8 Flash ($0.23), Mistral Small 4 ($0.2625). For top-end work, 13 of the 29 models charge $10 or more per 1M output tokens. If you use a chat app all day, a flat plan may still be cheaper: compare plans side by side or check our plan guides.

OpenRouter vs direct pricing

We list direct prices from each provider's own pricing page. OpenRouter resells most of these models through one API and usually passes through the provider's list price, but its own credit fees and per-provider routing can change what you pay. We don't copy OpenRouter's prices, since their terms don't allow automated copying, so check their model page before you commit.

Sources

FAQ

What is the cheapest AI API?

GPT-6 Luna from OpenAI is the cheapest in this table at $0.10 per 1M input tokens and $0.50 per 1M output tokens.

How much does the Claude API cost?

Claude Fable 5.1 $10 in, $50 out; Claude Opus 5.5 $4 in, $20 out; Claude Sonnet 5.5 $2 in, $10 out; Claude Haiku 5.5 $0.50 in, $2.50 out; Claude Opus 5 $5 in, $25 out per 1M tokens.

How much does the OpenAI API cost?

GPT-6 Astra $10 in, $50 out; GPT-6.1 Sol $2 in, $10 out; GPT-6 Sol $2 in, $10 out; GPT-6 Luna $0.10 in, $0.50 out; GPT-5.6 Sol $4 in, $20 out; GPT-5.6 Terra $2 in, $12 out; GPT-5.5 $5 in, $30 out per 1M tokens.

How much does the Gemini API cost?

Gemini 4 Argon $2 in, $10 out; Gemini 3.8 Flash $0.75 in, $3.75 out; Gemini 3.1 Pro Preview $2 in, $12 out; Gemini 3.5 Flash-Lite $0.30 in, $2.50 out per 1M tokens. Several Gemini prices are launch prices that rise later; see the notes.

How often are these prices checked?

Every day against each provider's official pricing page. The date at the top shows the last check.

Pricing by provider: OpenAI · Anthropic · Google · Meta · DeepSeek · Qwen · Mistral · xAI