Claude Code Token Cost Calculator

Pick a model and enter your token counts. The estimate uses each model's list price per million input and output tokens.

Estimated cost$0.00
Price per 1M tokens, as of 6 October 2026
ModelInputOutput
Claude Fable 5.1$10$50
Claude Opus 5.5$4$20
Claude Sonnet 5.5$2$10
Claude Sonnet 5$2$10
Claude Haiku 4.5$1$5

Source: Anthropic pricing

How xSwarm cuts token spend