Free · no signup · browser-local

Agent Token Cost Calculator with Manual Model Prices

Estimate a planned Agent workload from your own token prices, steps and repetitions. Compare an explicit budget using decimal arithmetic and inspect the assumptions.

Browse all tools →
Local workspace · no model calls · nothing saved

Make it yours

Illustrative defaults, not vendor rates. Enter both prices and your budget in the same currency. All steps use the same token assumptions.
Caching, fixed charges and currency · optional
Formula

Per step = ((input − cached) × input price + cached × cache price + output × output price) ÷ 1,000,000

Per run = per step × steps + fixed charge; total = per run × runs

Hidden reasoning, extra tool charges, retries, taxes and exchange rates are excluded unless included in your inputs. No prices are fetched.

Estimated total · your currency0.18
Per step0.006
Per run0.018
Calls30
Input / output tokens30,000 / 15,000

Within budget · Remaining 0.82

Cost breakdown

Uncached input
0.06 (1000 - 0) × 2 / 1000000 × 30
Cached input
0 0 × 0 / 1000000 × 30
Output
0.12 500 × 8 / 1000000 × 30
Fixed run charges
0 0 × 10

Your output

agent-cost-estimator.json

Getting started

Enter input/output prices per million tokens in one currency, then compare calculated cost with your budget.

Before you use the result

Default rates are illustrative, not vendor prices. Optional cached-input pricing and fixed per-run charges are supported. Reasoning overhead, retries, taxes and currency conversion are not inferred.

Try an example

At rates 2 and 8, 1,000 input and 500 output tokens cost 0.006 per step.

How it works

Per step = (input tokens × input rate + output tokens × output rate) ÷ 1,000,000. Total = per step × steps × runs.

Frequently asked questions

Estimate token charges from your own rates, tokens per step, step count and repeated runs.

How do I use Agent Cost Estimator?

Enter input/output prices per million tokens in one currency, then compare calculated cost with your budget.

Does this tool upload my data?

Inputs and files are processed in your browser. Page-view analytics do not contain your tool input.

What should I check before using the result?

Default rates are illustrative, not vendor prices. Optional cached-input pricing and fixed per-run charges are supported. Reasoning overhead, retries, taxes and currency conversion are not inferred.