Skip to content

Checked daily

AI API pricing for every current model

What 59 models from OpenAI, Anthropic, Google and xAI cost per million tokens, read every day from each provider's own pricing page. Prices are in US dollars per 1 million tokens. "A chat reply" is one support chat answer: 1,500 tokens in, 300 out.

Cheapest for a chat reply

  1. GPT-5 nano (OpenAI): $0.00019 per reply, $1.95 per 10,000
  2. GPT-4.1 nano (OpenAI): $0.00027 per reply, $2.70 per 10,000
  3. Gemini 2.5 Flash-Lite (Google): $0.00027 per reply, $2.70 per 10,000
  4. GPT-6 Luna (OpenAI): $0.00030 per reply, $3.00 per 10,000
  5. Claude Haiku 5.5 (Anthropic): $0.00030 per reply, $3.00 per 10,000

Cheapest isn't the same as good enough: that depends on what each request asks for.

Announced price changes

Gemini 3.8 Flash. Input: $0.75 per 1M tokens through December 31, 2026, then $1.50 from January 1, 2027.

Gemini 3.8 Flash. Output: $3.75 per 1M tokens through December 31, 2026, then $7.50 from January 1, 2027.

Gemini 3.6 Flash. Input: $0.75 per 1M tokens through December 31, 2026, then $1.50 from January 1, 2027.

Gemini 3.6 Flash. Output: $3.75 per 1M tokens through December 31, 2026, then $7.50 from January 1, 2027.

OpenAI

Newest first. Source: OpenAI's pricing page.

ModelInputOutputCached inputA chat replyContext
GPT-6.1 Sol$2$10$0.10$0.00601.05M
GPT-6 Sol$2$10$0.20$0.00601.05M
GPT-6 Luna$0.10$0.50$0.01$0.000301.05M
GPT-6 Astra$10$50$1$0.031.05M
GPT-5.6 Sol$4$20$0.40$0.0121.05M
GPT-5.6 Terra$2$12$0.20$0.00661.05M
GPT-5.6 Luna$0.20$1.20$0.02$0.000661.05M
GPT-5.5 Pro$30$180-$0.0991.05M
GPT-5.5$5$30$0.50$0.0171.05M
GPT-5.4 mini$0.75$4.50$0.075$0.0025400K
GPT-5.4 nano$0.20$1.25$0.02$0.00068400K
GPT-5.4 Pro$30$180-$0.0991.05M
GPT-5.4$2.50$15$0.25$0.00831.05M
GPT-5.2 Pro$21$168-$0.082400K
GPT-5.2$1.75$14$0.175$0.0068400K
GPT-5.1$1.25$10$0.125$0.0049400K
GPT-5 Pro$15$120-$0.059400K
GPT-5$1.25$10$0.125$0.0049400K
GPT-5 mini$0.25$2$0.025$0.00097400K
GPT-5 nano$0.05$0.40$0.005$0.00019400K
o3-pro$20$80-$0.054200K
o3$2$8$0.50$0.0054200K
o4-mini$1.10$4.40$0.275$0.0030200K
GPT-4.1$2$8$0.50$0.00541.05M
GPT-4.1 mini$0.40$1.60$0.10$0.00111.05M
GPT-4.1 nano$0.10$0.40$0.025$0.000271.05M
o1-pro$150$600-$0.405200K
o3-mini$1.10$4.40$0.55$0.0030200K
o1$15$60$7.50$0.041200K
GPT-4o mini$0.15$0.60$0.075$0.00040128K
GPT-4o$2.50$10$1.25$0.0067128K

Anthropic

Newest first. Source: Anthropic's pricing page.

ModelInputOutputCached inputA chat replyContext
Claude Haiku 5.5$0.10$0.50$0.01$0.000301M
Claude Sonnet 5.5$2$10$0.10$0.00601M
Claude Opus 5.5$4$20$0.20$0.0121M
Claude Fable 5.1$10$50$0.25$0.031M
Claude Opus 5$5$25$0.50$0.0151M
Claude Sonnet 5$2$10$0.20$0.00601M
Claude Fable 5$10$50$1$0.031M
Claude Opus 4.8$5$25$0.50$0.0151M
Claude Opus 4.7$5$25$0.50$0.0151M
Claude Sonnet 4.6$3$15$0.30$0.00901M
Claude Opus 4.6$5$25$0.50$0.0151M
Claude Opus 4.5$5$25$0.50$0.015200K
Claude Haiku 4.5$1$5$0.10$0.0030200K
Claude Sonnet 4.5$3$15$0.30$0.00901M

Google

Newest first. Source: Google's pricing page.

ModelInputOutputCached inputA chat replyContext
Gemini 3.8 Flash$0.75$3.75$0.075$0.00221.05M
Gemini 3.6 Flash$0.75$3.75$0.075$0.00221.05M
Gemini 3.5 Flash-Lite$0.30$2.50$0.03$0.00121.05M
Gemini 3.1 Flash-Lite$0.25$1.50$0.025$0.000821.05M
Gemini 3.1 Pro Preview$2$12$0.20$0.00661.05M
Gemini 3 Flash Preview$0.50$3$0.05$0.00161.05M
Gemini 2.5 Flash-Lite$0.10$0.40$0.01$0.000271.05M
Gemini 2.5 Pro$1.25$10$0.125$0.00491.05M
Gemini 2.5 Flash$0.30$2.50$0.03$0.00121.05M

xAI

Newest first. Source: xAI's pricing page.

ModelInputOutputCached inputA chat replyContext
Grok 4.7$2$6$0.50$0.0048500K
Grok 4.6$2$6$0.50$0.0048500K
Grok 4.5$2$6$0.30$0.0048500K
Grok Build 0.1$1$2$0.20$0.0021256K
Grok 4.3$1.25$2.50$0.20$0.00261M

Head-to-head comparisons

Paying flagship prices for every request?

Most apps send simple requests to the same strong model as the hard ones. PromptUnit checks each request your app sends and uses a cheaper model only when it is just as good for that request. You pay 20% of what it saves, and nothing if it saves nothing.

Checked October 14, 2026. Prices are read every day from OpenAI's pricing page, Anthropic's pricing page, Google's pricing page and xAI's pricing page. Context window, inputs and release date come from OpenRouter's public model list.

These are the standard list prices on each provider's own API. Batch, flex and priority tiers, cloud platforms such as Amazon Bedrock or Google Vertex AI, and regional endpoints are priced differently. Request costs above count input and output tokens only, not cache, search or image fees.