LLM Cost Calculator

Anthropic API Pricing 2025

Claude 4 models excel at agentic coding, reasoning, and long documents. Claude Opus 4.7 is the latest flagship with a 1M token context window.

Get Anthropic API access →

Anthropic Model Pricing

Prices in USD per 1M tokens

ModelInput / 1MOutput / 1MContext
Claude Haiku 4.5
Fastest Anthropic model; near-frontier intelligence
$1$5200,000
Claude Sonnet 4.6
Best speed/intelligence balance; extended thinking supported
$3$151,000,000
Claude Sonnet 4.5
Previous Sonnet; extended thinking supported
$3$15200,000
Claude Opus 4.7
Most capable Anthropic model; step-change in agentic coding
$5$251,000,000
Claude Opus 4.6
Previous Opus generation; extended thinking supported
$5$251,000,000

Estimated Monthly Cost (70% input / 30% output split)

Model1M tokens/mo10M tokens/mo100M tokens/mo1B tokens/mo
Claude Haiku 4.5$2.20$22.00$220$2,200
Claude Sonnet 4.6$6.60$66.00$660$6,600
Claude Sonnet 4.5$6.60$66.00$660$6,600
Claude Opus 4.7$11.00$110$1,100$11,000
Claude Opus 4.6$11.00$110$1,100$11,000

Frequently Asked Questions

How much does Anthropic LLM API cost?

Anthropic offers 5 models ranging from $1.000/1M to $5.00/1M input tokens. Claude 4 models excel at agentic coding, reasoning, and long documents. Claude Opus 4.7 is the latest flagship with a 1M token context window.

Is Anthropic cheaper than self-hosting?

For low-volume workloads (under 100M tokens/month), cloud APIs like Anthropic are almost always cheaper than purchasing and maintaining GPU hardware. Use our calculator to find the exact break-even point for your usage.