AI model API prices

Standard list prices per million tokens for every model we track. Pick one for a detailed price page and a calculator, or calculate costs for your own prompt.

Prices last updated:

OpenAI

ModelInput / 1MOutput / 1MContextBatch discountTokenizer
GPT-6 Astra $10.00 $50.00 1.05M 50% off Exact
GPT-5.6 Sol $5.00 $30.00 1.05M 50% off Exact
GPT-5.6 Terra $2.00 $12.00 1.05M 50% off Exact
GPT-5.6 Luna $0.20 $1.20 1.05M 50% off Exact

Source: OpenAI pricing

Anthropic

ModelInput / 1MOutput / 1MContextBatch discountTokenizer
Claude Fable 5.1 $10.00 $50.00 1M 50% off Estimated
Claude Opus 5.5 $4.00 $20.00 1M 50% off Estimated
Claude Opus 5 $5.00 $25.00 1M 50% off Estimated
Claude Sonnet 5 $2.00 $10.00 1M 50% off Estimated
Claude Haiku 4.5 $1.00 $5.00 200K 50% off Estimated

Source: Anthropic pricing

Google

ModelInput / 1MOutput / 1MContextBatch discountTokenizer
Gemini 3.1 Pro $2.00 $12.00 1.05M 50% off Estimated
Gemini 3.8 Flash $0.75 $3.75 1.05M 50% off Estimated

Source: Google pricing

xAI

ModelInput / 1MOutput / 1MContextBatch discountTokenizer
Grok 4.7 $2.00 $6.00 500K — Estimated

Source: xAI pricing

DeepSeek

ModelInput / 1MOutput / 1MContextBatch discountTokenizer
DeepSeek V4 Pro $0.435 $0.87 1M — Estimated
DeepSeek V4 Flash $0.14 $0.28 1M — Estimated

Source: DeepSeek pricing

Developers: the same data is available as /api/pricing.json.