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.
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.
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.
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.