Calculator › Price table

✓ Prices checked against official pricing pages on October 19, 2026

LLM API pricing: cost per 1M tokens

Official list prices in USD per million tokens, standard tier, for text input and output. Jump to OpenAI, Anthropic, Google, xAI or DeepSeek, or run your own numbers in the calculator.

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.

#ModelBlended /1MInputOutput
1GPT-5 nanoOpenAI$0.138$0.05$0.40
2GPT-6 LunaOpenAI$0.20$0.10$0.50
3Claude Haiku 5.5Anthropic$0.20$0.10$0.50
4GPT-5.6 LunaOpenAI$0.45$0.20$1.20
5GPT-5.4 nanoOpenAI$0.463$0.20$1.25
6DeepSeek V4.1 FlashDeepSeek$0.525$0.30$1.20
7Gemini 3.1 Flash-LiteGoogle$0.563$0.25$1.50
8GPT-5 miniOpenAI$0.688$0.25$2.00
9Gemini 3.5 Flash-LiteGoogle$0.85$0.30$2.50
10Grok Build 0.1xAI$1.25$1.00$2.00
11Gemini 3.8 FlashGoogle$1.50$0.75$3.75
12Grok 4.3xAI$1.563$1.25$2.50
13GPT-5.4 miniOpenAI$1.688$0.75$4.50
14DeepSeek V4 ProDeepSeek$1.98$1.32$3.96
15Claude Haiku 4.5Anthropic$2.00$1.00$5.00
16Grok 4.7xAI$3.00$2.00$6.00
17Grok 4.5xAI$3.00$2.00$6.00
18GPT-5OpenAI$3.438$1.25$10.00
19GPT-6.1 SolOpenAI$4.00$2.00$10.00
20GPT-6 SolOpenAI$4.00$2.00$10.00
21Claude Sonnet 5.5Anthropic$4.00$2.00$10.00
22Claude Sonnet 5Anthropic$4.00$2.00$10.00
23Gemini 4 ArgonGoogle$4.00$2.00$10.00
24GPT-5.6 TerraOpenAI$4.50$2.00$12.00
25Gemini 3.1 Pro (preview)Google$4.50$2.00$12.00
26GPT-5.4OpenAI$5.625$2.50$15.00
27GPT-5.6 SolOpenAI$8.00$4.00$20.00
28Claude Opus 5.5Anthropic$8.00$4.00$20.00
29Claude Opus 5Anthropic$10.00$5.00$25.00
30GPT-5.5OpenAI$11.25$5.00$30.00
31GPT-6 AstraOpenAI$20.00$10.00$50.00
32Claude Fable 5.1Anthropic$20.00$10.00$50.00
33Claude Fable 5Anthropic$20.00$10.00$50.00

OpenAI API pricing

ModelInput /1MCached input /1MOutput /1MLong-context rate
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 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 price change$4.00$0.40$20.00>272K prompt: $8.00 / $30.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$1.25$0.125$10.00—
GPT-5 mini$0.25$0.025$2.00—
GPT-5 nano$0.05$0.005$0.40—
GPT-4.1 older$2.00$0.50$8.00—
GPT-4.1 mini older$0.40$0.10$1.60—
GPT-4.1 nano older$0.10$0.025$0.40—
GPT-4o older$2.50$1.25$10.00—
GPT-4o mini older$0.15$0.075$0.60—
o3 older$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 October 19, 2026.

Anthropic API pricing

ModelInput /1MCached input /1MOutput /1MLong-context rate
Claude Fable 5.1$10.00$0.25$50.00—
Claude Fable 5$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 October 19, 2026.

Google API pricing

ModelInput /1MCached input /1MOutput /1MLong-context rate
Gemini 4 Argon price change$2.00$0.10$10.00—
Gemini 3.8 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 2.5 Pro older$1.25$0.125$10.00>200K prompt: $2.50 / $15.00
Gemini 2.5 Flash older$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. Google's page was last updated 2026-10-16. Source: ai.google.dev/gemini-api/docs/pricing, checked October 19, 2026.

xAI API pricing

ModelInput /1MCached input /1MOutput /1MLong-context rate
Grok 4.7$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$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 October 19, 2026.

DeepSeek API pricing

ModelInput /1MCached input /1MOutput /1MLong-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 October 19, 2026.

More free tools from us