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
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
| Step | Input cost | Output cost | Total |
|---|---|---|---|
| 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.
| Model | Tier | Per loop | Per day | Per month | vs target |
|---|---|---|---|---|---|
| Gemini 2.5 Flashgoogle | economy | $0.031 | $0.314 | $7 | inside |
| Claude Haiku 4.5anthropic | economy | $0.079 | $0.790 | $17 | inside |
| Gemini 2.5 Progoogle | frontier | $0.128 | $1.27 | $28 | inside |
| GPT-5 miniopenai | mid | $0.143 | $1.43 | $31 | inside |
| o4-mini (reasoning)openai | mid | $0.214 | $2.14 | $47 | inside |
| Claude Sonnet 4.6anthropicprimary | mid | $0.237 | $2.37 | $52 | inside |
| GPT-5openai | frontier | $0.714 | $7.14 | $157 | inside |
| Claude Opus 4.7anthropic | frontier | $1.19 | $11.86 | $261 | over |
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
Users of this tool often explore
Token-Cost Optimizer
Compute the dollar cost of a trading research loop across Claude, GPT, and Gemini. Prompt length × model × retry × call volume → cost per idea and per validated trade.
Batch vs Real-Time Cost Calculator
Jobs per day, tokens per job, model, deadline — get real-time vs batch cost side-by-side with savings estimate and batch-eligibility flag. Based on vendor-published batch pricing.
Fallback Chain Simulator
Define a provider fallback chain, simulate rate-limit and latency failures, and see p50/p95/p99 latency, success rate, total cost, and degradation-event distribution.