AI agent cost calculator
An agent loops: each step re-sends the system prompt, the tools, and every prior step's output and tool result. That growing context is why a 20-step agent can cost far more than it looks. Size it here, and see how much prompt caching claws back.
Estimated cost
Per task (no cache)—
Per task (cached)—
Monthly—