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.

Workload assumptions

Use /usage after real sessions to replace these starting estimates with your own numbers.

Anthropic list prices

Defaults verified against Anthropic's pricing page on September 9, 2026. Rates are USD per million tokens and remain editable for a different model or contract.

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