Claude Opus 4.7 Cost Calculator

Estimate USD token costs using official provider rates and your request size.

Compare Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5. Rates were checked against official provider sources on October 21, 2026. Cache and batch prices differ by model; unsupported or unverified combinations show Unavailable. Estimates exclude cache writes, cache storage, tools, media, taxes and provider minimums. Projections do not forecast price changes.

Cost in USD = (input tokens × input rate + output tokens × output rate) / 1,000,000. Cache-hit portions use the verified cached-input rate. Context tiers apply per request before multiplying by users and messages. Monthly and yearly projections use 30 and 365 days at the selected rates.

Models included

  • Claude Opus 4.7 (Anthropic) — $5.00 input / $25.00 output per 1M tokens
  • Claude Sonnet 4.6 (Anthropic) — $3.00 input / $15.00 output per 1M tokens
  • Claude Haiku 4.5 (Anthropic) — $1.00 input / $5.00 output per 1M tokens

Frequently asked questions

Which prices does this calculator use?

Rates were checked against official provider sources on October 21, 2026. Cache and batch prices differ by model; unsupported or unverified combinations show Unavailable. Estimates exclude cache writes, cache storage, tools, media, taxes and provider minimums. Projections do not forecast price changes.

How are request and usage costs calculated?

Cost in USD = (input tokens × input rate + output tokens × output rate) / 1,000,000. Cache-hit portions use the verified cached-input rate. Context tiers apply per request before multiplying by users and messages. Monthly and yearly projections use 30 and 365 days at the selected rates.

Can every model use caching and batch pricing?

No. Each model has explicit verified rates. Unknown combinations are unavailable. GPT-5.5 Pro has no cache discount, and its long-context rate above 272,000 input tokens remains unverified.

Are token counts exact?

This tool counts text with cl100k_base and also shows a rough four-characters-per-token heuristic. Neither is a model-matched billing count for every provider. Actual usage depends on the model tokenizer, message framing, tools and generated output; verify with the provider usage record.

Related calculators

  • Claude Sonnet 4.6 Cost Calculator
  • GPT-5.5 vs Claude Opus 4.7 cost
  • OpenAI vs Anthropic pricing