Tool

LLM Cost Calculator

Estimate cost with cached input tokens, agent steps, retries and cost per accepted result. The goal is effective cost, not list-price token math.

Cost model

Enter token volume, provider prices and request count. Values are per request unless noted.

Agent mode

Estimated spend

Cache-aware cost compared with raw token pricing.

Without cache

$6.00

With cache

$4.38

Savings

$1.62

Savings percent

27%

Agent session cost

$4.69

Cost per accepted result

$0.0552

If hit rate drops to 50%

$4.98