AI Agent Cost Calculator
Model the part naive token calculators miss: steps, retries and tools.
Free · no signup · runs in your browserWhat this calculator is for
Agents rarely make one model call. Planning, tool selection, retries and validation turn one user task into many billed steps. This calculator makes that multiplier explicit.
The math
Actual invoices can differ because providers may apply long-context pricing, caching rules, batch rates, tool-call fees, regional processing, negotiated contracts, taxes, or future pricing changes. Treat the output as a planning estimate.
Pricing sources
Current model rates are sourced from official provider pricing pages and verified on August 28, 2026. The methodology page records the source links and known limitations.
Frequently asked question
Why do agent costs grow so quickly?
Each task may trigger multiple LLM calls and tool calls, and retries add more billed work. Long-lived context can increase input tokens further.
Can I use this estimate for a production budget?
Use it to create scenarios and catch order-of-magnitude mistakes. Before committing spend, verify the selected model's live provider pricing and compare the estimate with actual usage telemetry.