Agentic LLM workflow cost calculator

A six-step agent does not cost six times one call. If each step sees what came before, step six pays again for every token steps one through five read and wrote — so cost grows with the square of the step count, not linearly. Retries and fan-out multiply whatever a step already costs, and prompt caching only discounts the repeated part. This calculates all of that, and shows you which single step is actually spending your money.

Presets:

Workflow steps

# Step Model Input tok Output tok ×

Cost

Per run
Per 1,000 runs
Projected monthly
Tokens / run

Per-step breakdown — sorted by cost

# Step Model Own in Carried in Out × Cost / run Share
Pricing reference — the exact rates driving the numbers above

USD per 1,000,000 tokens. Verified and maintained by hand, so it will drift — check the provider before you commit budget to any of it.

ModelProvider InputOutputCache read

Check for yourself: Anthropic · OpenAI · Google

What this model leaves out