AI API pricing and cost calculators

Choose a text-generation model, review its current token pricing, and calculate your API cost for a real workload.

Anthropic

Claude Fable 5

Verified

Anthropic's highest-priced frontier Claude model, modeled with first-party global endpoint rates.

Input
$10.00
Cached
$1.00
Output
$50.00
Open Claude Fable 5 cost calculator
Anthropic

Claude Haiku 4.5

Verified

Anthropic's lower-cost Claude model for latency-sensitive and high-volume API workloads.

Input
$1.00
Cached
$0.10
Output
$5.00
Open Claude Haiku 4.5 cost calculator
Anthropic

Claude Opus 5

Verified

Anthropic's advanced Claude model for complex reasoning and agentic production workloads.

Input
$5.00
Cached
$0.50
Output
$25.00
Open Claude Opus 5 cost calculator
Anthropic

Claude Sonnet 5

Verified

Anthropic's balanced Claude model, using its current limited-time first-party API price.

Input
$2.00
Cached
$0.20
Output
$10.00
Open Claude Sonnet 5 cost calculator
Google

Gemini 2.5 Flash

Verified

Google's high-throughput Gemini 2.5 model using standard text, image, and video input rates.

Input
$0.30
Cached
$0.03
Output
$2.50
Open Gemini 2.5 Flash cost calculator
Google

Gemini 2.5 Pro

Verified

Google's long-context Gemini Pro model, using the standard paid tier for prompts up to 200K tokens.

Input
$1.25
Cached
$0.125
Output
$10.00
Open Gemini 2.5 Pro cost calculator
Google

Gemini 3.6 Flash

Verified

Google's current Flash model, calculated with the Gemini Developer API standard paid tier.

Input
$1.50
Cached
$0.15
Output
$7.50
Open Gemini 3.6 Flash cost calculator
OpenAI

GPT-5.6 Luna

Verified

OpenAI's fast, economical model for everyday API tasks and large request volumes.

Input
$0.20
Cached
$0.02
Output
$1.20
Open GPT-5.6 Luna cost calculator
OpenAI

GPT-5.6 Sol

Verified

OpenAI's flagship model for demanding agentic tasks, calculated at the standard API processing rate.

Input
$5.00
Cached
$0.50
Output
$30.00
Open GPT-5.6 Sol cost calculator
OpenAI

GPT-5.6 Terra

Verified

OpenAI's balanced model for performance-sensitive, high-throughput production workloads.

Input
$2.00
Cached
$0.20
Output
$12.00
Open GPT-5.6 Terra cost calculator