aifinhub

Calculator

Token-Cost Optimizer

LLM trading research loop cost calculator. Prompt length × model × retry × call volume → dollar cost per idea and per validated trade. Browser-only. Free.

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

1 · Configure your research loop

15%
30%
50%

Per call

$0.036

Claude Sonnet 4.6

Per idea

$0.205

Per validated trade

$0.684

Per month

$62

Per year

$749

2 · Model comparison at these inputs

ModelPer callPer ideaPer monthPer validated trade
Gemini 2.5 Flashgoogle$0.00615$0.035$11$0.118
Claude Haiku 4.5anthropic$0.012$0.068$21$0.228
Gemini 2.5 Progoogle$0.025$0.144$43$0.479
GPT-5 miniopenai$0.028$0.161$48$0.537
Claude Sonnet 4.6anthropicprimary$0.036$0.205$62$0.684
o4-mini (reasoning)openai$0.042$0.242$72$0.805
GPT-5openai$0.140$0.805$242$2.68
Claude Opus 4.7anthropic$0.178$1.03$308$3.42

How the cost flows

effective_call   = input × price_in + output × price_out
                   (Anthropic: cache-hit fraction priced at cache_read)
calls_per_idea   = calls × (1 + retry_rate)
cost_per_idea    = effective_call × calls_per_idea
cost_per_day     = cost_per_idea × ideas_per_day
cost_per_val     = cost_per_idea / validation_rate
cost_per_year    = cost_per_day × 365

Pricing last verified 2026-04-20. See methodology for the full rate table with vendor-page sources.

Complementary tools

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