aifinhub

Calculator

Agent Cost Envelope Calculator

Agent cost envelope for LLM research loops — model, tokens per step, tool-use steps, convergence check, markets per day → per-loop, daily, monthly cost.

Inputs
Form inputs / CSV
Runtime
Instant
Privacy
Client-side · no upload
API key
Not required
Methodology
Open →

1 · Configure your agent loop

10% of a step

Per loop

$0.237

Claude Sonnet 4.6

Tool-use subtotal

$0.232

5 steps

Convergence check

$0.00465

10% of a step

Per day

$2.37

Per month

$52

22 days

2 · Results — budget envelope

Budget status

Inside target envelope

Utilisation

26%

Per-loop budget

$0.909

$200 / month ÷ 220 loops

Max tokens per loop

185.7K

Current: 48.5K

Suggested cap per step

36.4K

You have headroom

3 · Per-loop breakdown

StepInput costOutput costTotal
Step 1 — tool call + reasoning$0.024$0.022$0.046
Step 2 — tool call + reasoning$0.024$0.022$0.046
Step 3 — tool call + reasoning$0.024$0.022$0.046
Step 4 — tool call + reasoning$0.024$0.022$0.046
Step 5 — tool call + reasoning$0.024$0.022$0.046
Convergence check — final analysisconvergence$0.00240$0.00225$0.00465
Per-loop total$0.237

4 · Sensitivity — swap model tier

Same inputs, every model. Shows what the envelope becomes if you move tier — and which of the 8 fits your target budget.

ModelTierPer loopPer dayPer monthvs target
Gemini 2.5 Flashgoogleeconomy$0.031$0.314$7inside
Claude Haiku 4.5anthropiceconomy$0.079$0.790$17inside
Gemini 2.5 Progooglefrontier$0.128$1.27$28inside
GPT-5 miniopenaimid$0.143$1.43$31inside
o4-mini (reasoning)openaimid$0.214$2.14$47inside
Claude Sonnet 4.6anthropicprimarymid$0.237$2.37$52inside
GPT-5openaifrontier$0.714$7.14$157inside
Claude Opus 4.7anthropicfrontier$1.19$11.86$261over

How the envelope is priced

step_cost          = input_tokens × in_rate + output_tokens × out_rate
convergence_cost   = step_cost × convergence_pct
loop_cost          = steps × step_cost + convergence_cost
daily_cost         = loop_cost × markets_per_day
monthly_cost       = daily_cost × (22 biz | 30 crypto)
budget_per_loop    = target_monthly / (markets_per_day × days_per_month)
max_tokens_per_loop = budget_per_loop / blended_$_per_token

Pricing verified 2026-04-23. See methodology for the full rate table, calendar-mode rationale, and limitations.

Complementary tools

Planning estimates only — not financial, tax, or investment advice.