Tokrix

AI Agent & LLM API Cost Calculator

Estimate daily, monthly, and yearly token burn across 13+ models with caching and agent loops.

Agent Workload

40%
Lowest Monthly Spend
$29.16
Qwen 3 32B
Highest Monthly Spend
$9,153.00
Claude Opus 4
ModelDailyMonthlyYearly
Qwen 3 32B#1
Alibaba Cloud · $0.1/$0.3
$0.97$29.16$355
Llama 4 Maverick
Meta (Hosted) · $0.2/$0.6
$2.04$61.20$745
Gemini 2.5 Flash
Google · $0.15/$0.6
$2.61$78.30$953
DeepSeek V3
DeepSeek · $0.27/$1.1
$3.12$93.60$1,139
Qwen 3 235B MoE
Alibaba Cloud · $0.22/$0.88
$3.84$115.20$1,402
DeepSeek R1
DeepSeek · $0.55/$2.19
$9.54$286.29$3,483
Claude Haiku 3.5
Anthropic · $0.8/$4
$10.27$308.16$3,749
o3-mini
OpenAI · $1.1/$4.4
$19.80$594.00$7,227
GPT-4o
OpenAI · $2.5/$10
$30.00$900.00$10,950
GPT-5
OpenAI · $1.25/$10
$37.80$1,134.00$13,797
Gemini 2.5 Pro
Google · $1.25/$10
$38.24$1,147.32$13,959
Claude Sonnet 4
Anthropic · $3/$15
$61.02$1,830.60$22,272
Claude Opus 4
Anthropic · $15/$75
$305.10$9,153.00$111,361

Controlling LLM API Burn

Key Cost Multipliers

  • Output and reasoning tokens typically cost 3x to 8x more than input tokens.
  • Multi-step agents compound input tokens on every loop unless system prompts are cached.
  • Routing simple tasks to Flash/Haiku/DeepSeek models cuts spend by 70%+.

Share & Export Results

  • Click 'Export PNG Card' to save a crisp comparison chart for Slack or pitch decks.
  • Click 'Copy Share Link' to encode your exact workload parameters into the URL.

API Cost FAQ

How are reasoning tokens billed?

Models like GPT-5, o3-mini, DeepSeek R1, and Claude thinking models bill internal reasoning tokens at the output token rate.

When does Prompt Caching actually save money?

Whenever your requests share a large static system prompt, codebase, or document prefix (>1,024 tokens) reused within the cache TTL.

Which models are cheapest for high-volume extraction?

Qwen 3 32B, Gemini 2.5 Flash, Llama 4 Maverick, and DeepSeek V3 deliver sub-$0.30/1M input pricing.

Can I share my exact cost scenario with teammates?

Yes. Use 'Copy Share Link' to generate a URL that automatically restores all input sliders and numbers.