LLM cost calculator

LLM API cost calculator

Estimate your agent's bill

This is the real cost model — a multi-turn agent re-sends a growing context each turn, so input compounds. Cached-prefix reads bill at 0.1×, the one-time write at 1.25×. Enter your workload:

Interactive estimator — enable JavaScript to price your agent's monthly bill across Haiku, Sonnet, and Opus.

Prices are the Claude rates tracked on this site; see the Anthropic page for sources and the break-even guide for subscription-vs-API.