Free · Runs in your browser
Claude Code cost calculator
Estimate API token spend from Anthropic's published list prices, then see how a claimed Agent SDK plan credit changes that estimate. Your inputs never leave this tab.
What this does and does not calculate
This is an API list-price estimate. Claude Pro and Max include interactive Claude Code usage, but Anthropic does not publish a fixed token allowance for those plans, so this calculator does not claim that any subscription will cover your workload. The Agent SDK section applies only after you claim an eligible plan's separate credit. Taxes, mobile prices, prompt-cache writes, fast mode, tool fees, and custom contracts are excluded.
Sources: Anthropic pricing, Agent SDK credit terms, and Claude Code cost docs. Verify prices before purchasing because Anthropic can change them.
Before you scale unattended work
Cost is one guardrail. Give your agent bounded instructions, review gates, and an audit trail before it can run unattended.
See the course