AI API cost calculators

Choose a text-generation model and turn its token pricing into a workload estimate.

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 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 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 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 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 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 calculator
Google

Gemini 3.5 Flash

Verified

Google's Gemini Flash model priced at the standard paid tier for production API traffic.

Input
$1.50
Cached
$0.15
Output
$9.00
Open calculator
Google

Gemini 3.5 Flash-Lite

Verified

Google's low-cost Gemini model for high-volume applications on the standard paid tier.

Input
$0.30
Cached
$0.03
Output
$2.50
Open 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 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 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 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 calculator