Anthropic pricing

Anthropic API Pricing Calculator

Estimate Anthropic API pricing and Claude API pricing for Claude model token costs using input tokens, output tokens, prompt caching, cached prompts, and monthly Claude API cost estimation assumptions.

Calculate monthly input and output token costs using current Anthropic model prices.

MODELS COVERED
14
DATA SOURCE
Official Anthropic
PRICING UNIT
Per 1M tokens
LAST VERIFIED
Oct 9, 2026
API cost estimate

Estimate Claude API Cost

Choose a current Anthropic model from the same pricing rows, enter input tokens, output tokens, and request volume, then review the estimated monthly API cost.

Claude cost planning

Estimate Claude model token costs before long-context usage scales.

Start with the selected Claude model, input tokens, output tokens, prompt caching assumptions, average conversation length, and monthly request volume. Then compare the estimate against budget limits and other provider routes.

Anthropic API pricing

Current Claude API prices at a glance.

These Claude price cards use the same source-linked Anthropic rows as the full table below. Prices are shown in USD per 1M tokens, and Not listed values are not treated as zero.

latest

Claude Haiku 4.5

Input
$1.00
Output
$5.00
Cache read
$0.100
Model ID
claude-haiku-4.5
latest

Claude Sonnet 5

Input
$2.00
Output
$10.00
Cache read
$0.200
Model ID
claude-sonnet-5
latest

Claude Opus 5

Input
$5.00
Output
$25.00
Cache read
$0.500
Model ID
claude-opus-5
Claude API monthly estimate

Example monthly Claude API costs.

Each example uses 1,000,000 input tokens + 250,000 output tokens and the same token-cost helper as the pricing dataset. Amounts are estimates only; actual Anthropic invoices depend on caching, retries, routing, account terms, and current official billing rules.

Estimated only

Claude Haiku 4.5

Input tokens
1,000,000
Output tokens
250,000
Estimated monthly cost
$2.25
Model row
claude-haiku-4.5
Estimated only

Claude Sonnet 5

Input tokens
1,000,000
Output tokens
250,000
Estimated monthly cost
$4.50
Model row
claude-sonnet-5
Estimated only

Claude Opus 5

Input tokens
1,000,000
Output tokens
250,000
Estimated monthly cost
$11.25
Model row
claude-opus-5
Claude prompt caching

How Anthropic prompt caching affects API cost.

Claude prompt caching separates normal input tokens, cache-write behavior, cache-read tokens, and output tokens. Repeated large system prompts, policy text, documents, or shared context may benefit when they qualify for Anthropic prompt caching and achieve useful cache hit rates.

Standard input

Input pricing applies to new prompt content sent to Claude, including messages, instructions, retrieved context, and long documents that are not billed as cache reads.

Cache read prices

Repeated prompt context

Claude Haiku 4.5
$0.100
Claude Sonnet 5
$0.200
Claude Opus 5
$0.500

Cache write

Anthropic may bill cache writes separately under prompt caching rules, but the current provider rows do not expose a separate numeric cache-write field. Verify official Anthropic pricing before modeling cache-write charges or long-context caching savings.

Anthropic API pricing table

Anthropic API pricing table

Compare Claude input token, output token, and cached prompt pricing from the existing source-linked dataset. Not listed values are never treated as zero.

ModelInputOutputCached InputBatch InputBatch OutputUnitStatus
Claude Fable 5Model ID: claude-fable-5Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-07-03. Anthropic also lists 5-minute and 1-hour cache write prices. This calculator uses base input, cache hit, and output prices.
Evidence
Verified: Not availableChecked: Not availableOfficial source: Official source
Input · USD per 1M input tokens$10.00Output · USD per 1M output tokens$50.00Cached input · USD per 1M cached input tokens$1.00Batch input · USD per 1M input tokens$5.00Batch output · USD per 1M output tokens$25.00USD per 1M tokensactiveStandard
Claude Fable 5.1Model ID: claude-fable-5-1Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-09-01. Anthropic also lists 5-minute and 1-hour cache write prices. This calculator uses base input, cache hit, and output prices.
Evidence
Verified: Not availableChecked: Not availableOfficial sources (4): Official source 1Official source 2Official source 3Official source 4
Input · USD per 1M input tokens$10.00Output · USD per 1M output tokens$50.00Cached input · USD per 1M cached input tokens$0.250Batch input · USD per 1M input tokens$5.00Batch output · USD per 1M output tokens$25.00USD per 1M tokenslatestStandard
Claude Haiku 4.5Model ID: claude-haiku-4.5Provider: AnthropicDisplayed pricing: StandardVerification: verified. Lowest-cost current Claude tier in this dataset.
Evidence
Verified: Checked: Official source: Official source
Input · USD per 1M input tokens$1.00Output · USD per 1M output tokens$5.00Cached input · USD per 1M cached input tokens$0.100Batch input · USD per 1M input tokens$0.500Batch output · USD per 1M output tokens$2.50USD per 1M tokenslatestStandard
Claude Haiku 5.5Model ID: claude-haiku-5-5Provider: AnthropicDisplayed pricing: Standard · Short context · ≤100k prompt tokens · whole requestVerification: verified. Effective from 2026-10-07.

batch · prompt >100,000
input $0.25; output (text) $1.25 / 1M tokens

batch · prompt ≤100,000
input $0.05; output (text) $0.25 / 1M tokens

standard · prompt >100,000
cache read $0.05; cache write 1h $1; cache write 5m $0.625; input $0.5; output (text) $2.5 / 1M tokens

standard · prompt ≤100,000
cache read $0.01; cache write 1h $0.2; cache write 5m $0.125; input $0.1; output (text) $0.5 / 1M tokens

Evidence
Verified: Checked: Official sources (4): Official source 1Official source 2Official source 3Official source 4
Input · USD per 1M input tokens$0.100Output · USD per 1M output tokens$0.500Cached input · USD per 1M cached input tokens$0.010Batch input · USD per 1M input tokens$0.050Batch output · USD per 1M output tokens$0.250USD per 1M tokenslatestactive
Claude Mythos 5Model ID: claude-mythos-5Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-07-03. Limited availability. Verify account access before using this in production budgets.
Evidence
Verified: Not availableChecked: Not availableOfficial source: Official source
Input · USD per 1M input tokens$10.00Output · USD per 1M output tokens$50.00Cached input · USD per 1M cached input tokens$1.00Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listedUSD per 1M tokenslimitedLimited availability
Claude Mythos 5.1Model ID: claude-mythos-5-1Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-09-01. Active (verification required). Restricted to organizations approved through Anthropic verification programs. Verify account access before using this in production budgets.
Evidence
Verified: Not availableChecked: Not availableOfficial sources (3): Official source 1Official source 2Official source 3
Input · USD per 1M input tokens$10.00Output · USD per 1M output tokens$50.00Cached input · USD per 1M cached input tokens$0.250Batch input · USD per 1M input tokens$5.00Batch output · USD per 1M output tokens$25.00USD per 1M tokenslimitedLimited availability
Claude Opus 4.1Model ID: claude-opus-4.1Provider: AnthropicVerification: partially_verified. Effective from 2026-07-03. V2 has no default-safe current price for this row (partially_verified); displayed price is a legacy fallback and must not be treated as V2 verified pricing.
Evidence
Verified: Not availableChecked: Not availableOfficial source: Official source
Input · USD per 1M input tokens$15.00Output · USD per 1M output tokens$75.00Cached input · USD per 1M cached input tokens$1.50Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listedUSD per 1M tokensretiredRetired
Claude Opus 4.8Model ID: claude-opus-4.8Provider: AnthropicDisplayed pricing: StandardVerification: verified. Anthropic notes Opus 4.7 and later use a new tokenizer that may use more tokens for the same fixed text.
Evidence
Verified: Not availableChecked: Not availableOfficial source: Official source
Input · USD per 1M input tokens$5.00Output · USD per 1M output tokens$25.00Cached input · USD per 1M cached input tokens$0.500Batch input · USD per 1M input tokens$2.50Batch output · USD per 1M output tokens$12.50USD per 1M tokenslatestStandard
Claude Opus 5Model ID: claude-opus-5Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-07-24.
Evidence
Verified: Not availableChecked: Not availableOfficial source: Official source
Input · USD per 1M input tokens$5.00Output · USD per 1M output tokens$25.00Cached input · USD per 1M cached input tokens$0.500Batch input · USD per 1M input tokens$2.50Batch output · USD per 1M output tokens$12.50USD per 1M tokenslatestStandard
Claude Opus 5.5Model ID: claude-opus-5-5Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-09-22.
Evidence
Verified: Checked: Official sources (2): Official source 1Official source 2
Input · USD per 1M input tokens$4.00Output · USD per 1M output tokens$20.00Cached input · USD per 1M cached input tokens$0.200Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listedUSD per 1M tokenslatestactive
Claude Sonnet 4Model ID: claude-sonnet-4Provider: AnthropicVerification: partially_verified. V2 has no default-safe current price for this row (partially_verified); displayed price is a legacy fallback and must not be treated as V2 verified pricing.
Evidence
Verified: Not availableChecked: Not availableOfficial source: Official source
Input · USD per 1M input tokens$3.00Output · USD per 1M output tokens$15.00Cached input · USD per 1M cached input tokens$0.300Batch input · USD per 1M input tokensNot listedBatch output · USD per 1M output tokensNot listedUSD per 1M tokensretiredRetired except partner clouds
Claude Sonnet 4.6Model ID: claude-sonnet-4.6Provider: AnthropicDisplayed pricing: StandardVerification: verified. Good balanced Claude tier for production assistants, coding, and analysis.
Evidence
Verified: Not availableChecked: Not availableOfficial source: Official source
Input · USD per 1M input tokens$3.00Output · USD per 1M output tokens$15.00Cached input · USD per 1M cached input tokens$0.300Batch input · USD per 1M input tokens$1.50Batch output · USD per 1M output tokens$7.50USD per 1M tokenslatestStandard
Claude Sonnet 5Model ID: claude-sonnet-5Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-06-30. Standard pricing is $2 input, $0.20 cache hit, and $10 output per 1M tokens; Anthropic canceled the previously scheduled 2026-09-01 increase.
Evidence
Verified: Not availableChecked: Not availableOfficial sources (2): Official source 1Official source 2
Input · USD per 1M input tokens$2.00Output · USD per 1M output tokens$10.00Cached input · USD per 1M cached input tokens$0.200Batch input · USD per 1M input tokens$1.00Batch output · USD per 1M output tokens$5.00USD per 1M tokenslatestStandard
Claude Sonnet 5.5Model ID: claude-sonnet-5-5Provider: AnthropicDisplayed pricing: StandardVerification: verified. Effective from 2026-10-07.
Evidence
Verified: Checked: Official sources (3): Official source 1Official source 2Official source 3
Input · USD per 1M input tokens$2.00Output · USD per 1M output tokens$10.00Cached input · USD per 1M cached input tokens$0.100Batch input · USD per 1M input tokens$1.00Batch output · USD per 1M output tokens$5.00USD per 1M tokenslatestactive
Canonical pricing tiers

Claude Haiku 5.5 short- and long-context pricing.

These standard API prices come from the canonical tier records attached to this model. Values are shown in USD per 1M tokens and are not inferred from the base row.

Context tierTotal prompt token ruleRegular inputCached inputOutputUnit
Short contextshort≤100k prompt tokens$0.100$0.010$0.500USD / 1M tokens
Long contextlong>100k prompt tokens$0.500$0.050$2.50USD / 1M tokens

Total prompt tokens

Total prompt tokens are regular input tokens plus cached input tokens. Both count toward the tier threshold.

Whole-request pricing

When a tier's threshold condition matches, that tier prices the entire standard request. This is a tier switch, not progressive pricing across token bands.

Claude API cost calculator

Turn Claude token assumptions into a monthly cost estimate.

Use these planning modules with the calculator instead of treating the pricing table as a final bill. Anthropic API pricing depends on request shape, Claude model choice, prompt caching behavior, average conversation length, and production traffic.

Anthropic API pricing table

Review Claude model rows with input, output, cached prompt, unit, status, and official source links. The table below stays connected to the existing project pricing data instead of using hand-written Claude prices.

Claude API cost calculator

Move realistic input tokens, output tokens, requests per month, average conversation length, selected Claude model, and cached prompt assumptions into the calculator to estimate monthly Claude API costs.

Open the Claude API cost calculator

Claude model cost comparison

Compare Claude models by token price, context needs, output length, prompt caching fit, latency expectations, and quality requirements before routing production traffic.

Compare Claude model costs
Claude token price examples

Common Claude API workloads to model.

These examples keep Claude token prices as variables. Add your own requests per month, input tokens, output tokens, selected Claude model, cached prompt usage, and average conversation length in the calculator.

Customer support chatbot using Claude

A Claude support chatbot estimate depends on requests per month, customer message size, retrieved help-center context, output tokens per answer, selected Claude model, prompt caching usage, and average conversation length.

Long document summarizer

A document summarizer is often input-heavy because long PDFs, contracts, research notes, or transcripts become Claude input tokens. Model document count, source length, summary length, selected Claude model, cached prompt usage, and follow-up turns.

SaaS AI assistant or coding assistant

A SaaS or coding assistant may include user messages, code snippets, product context, tool outputs, and multi-turn replies. Estimate requests per month, input tokens, output tokens, selected Claude model, prompt caching, and average conversation length.

Cheapest Claude API models

Find lower-cost Claude routes without losing task quality.

The cheapest Claude model is workload-specific. Compare total workflow cost, long-context size, answer quality, output length, prompt caching hit rate, retries, and fallback behavior before changing model routes.

latest

Claude Haiku 5.5

Input
$0.100
Output
$0.500
Cached prompt
$0.010
latest

Claude Haiku 4.5

Input
$1.00
Output
$5.00
Cached prompt
$0.100
latest

Claude Sonnet 5

Input
$2.00
Output
$10.00
Cached prompt
$0.200

Cheapest Claude model cards are derived from the same pricing rows shown on this page and are informational only. Verify current Anthropic API pricing, prompt caching rules, billing dashboards, and invoices before final purchasing decisions.

How Anthropic API token pricing works

Separate prompt cost, generated text, and cached prompt context.

Input tokens

Input tokens include user messages, system instructions, conversation history, retrieved documents, tool context, and long prompt content sent to Claude.

Output tokens

Output tokens are generated by Claude. Long summaries, detailed support replies, code explanations, and multi-turn assistant responses can make output a major part of Claude API costs.

Prompt caching

Prompt caching can help when stable instructions, documents, or shared app context repeat across requests. Keep cacheable prompt sections consistent and verify current Anthropic caching rules.

Official sources

Source URLs used for this provider.

Cost examples

1M input tokens
$10.00
Model
Claude Fable 5
1M output tokens
$50.00
Model
Claude Fable 5
10M input + 2M output
$200.00
Model
Claude Fable 5

Calculate Claude API costs with your own usage assumptions.

Use the calculator for monthly Claude app usage, long-context examples, prompt caching scenarios, and model-routing comparisons.

Open Claude API Cost Calculator
Anthropic API pricing FAQ

Anthropic API pricing FAQ

How much does the Anthropic API cost?

Anthropic API cost depends on the selected Claude model, input tokens, output tokens, prompt caching behavior, request volume, average conversation length, retries, and monthly usage. Use the pricing table and calculator together to estimate your own workload.

How much does the Claude API cost?

Claude API cost is usage-based and varies by Claude model and token mix. A short support answer, a long document summary, and a coding assistant session can have very different costs because each sends different input tokens and generates different output tokens.

Is the Anthropic API free?

The Anthropic API is generally a paid API service. Any free credits, trials, grants, or account-specific terms should be checked in Anthropic's official console, pricing pages, and billing dashboard before you plan production usage.

How do input and output tokens affect Claude API pricing?

Input tokens are the prompt, user message, system instructions, chat history, retrieved documents, and tool context sent to Claude. Output tokens are generated by Claude. Since the two sides can be priced differently, long prompts and long answers should be estimated separately.

What is prompt caching in Claude API pricing?

Prompt caching can reduce the cost of repeated prompt content when stable context qualifies under Anthropic's caching rules. Product instructions, policy text, long documents, and common system prompts may benefit when they are reused consistently, but eligibility and final billing should be verified with official Anthropic documentation and invoices.

How can I estimate monthly Claude API costs?

Estimate one representative Claude request first: input tokens, output tokens, selected Claude model, average conversation length, and cached prompt usage. Then multiply by requests per month and add realistic retry, fallback, and high-usage assumptions.

Which Claude API model is cheapest?

The cheapest Claude API model depends on the current pricing table, task quality, output length, cache hit rate, context size, and retry rate. Smaller or faster Claude models can be lower cost for routine work, while larger models may be worth it for complex reasoning or long-context tasks.

Is Claude cheaper than OpenAI for long prompts?

Claude can be more or less expensive than OpenAI depending on model choice, long-context size, output length, prompt caching, and quality needs. For long prompts, compare total workflow cost rather than only input token price.