AI Wisdom
← Back to Playground·
🧮 TOKEN ECONOMICS CALCULATOR

Token Economics Calculator

Paste any text or prompt. Estimate token count, configure output length and caching, then compare real API costs across — data refreshes every 24 h from official sources.

Tokenizer estimate·Model comparison·24h pricing refresh
Input Text
0Tokens
0Words
0Chars

Output Multiplier

Estimated output tokens relative to input

3×
1× (short)10× (long doc)20× (max)
Projected output tokens0

Prompt Caching

Apply provider cache-read rates to input tokens. Anthropic, OpenAI, and Google all offer ~90% off cached input.

Request Summary

Input tokens0
Output tokens (3×)0
Total round-trip0
Cost Comparison

Paste text above to see costs

Sort by provider · Click cost headers to re-sort · Non-cached rates

Context
Claude Fable 5.1
Anthropic
$0.0000$0.0000
$0.0000
1M
Claude Haiku 5.5
Anthropic
$0.0000$0.0000
$0.0000
1M
Claude Opus 5.5
Anthropic
$0.0000$0.0000
$0.0000
1M
Claude Sonnet 5.5
Anthropic
$0.0000$0.0000
$0.0000
1M
Gemini 3.1 Pro
Google
$0.0000$0.0000
$0.0000
2M
Gemini 3.5 Flash-Lite
Google
$0.0000$0.0000
$0.0000
1M
Gemini 3.8 Flash
Google
$0.0000$0.0000
$0.0000
1M
Grok 4.1 FastFast
xAI
$0.0000$0.0000
$0.0000
2M
Grok 4.7Flagship
xAI
$0.0000$0.0000
$0.0000
500K
GPT-6 AstraFlagship
OpenAI
$0.0000$0.0000
$0.0000
1.05M
GPT-6 Luna
OpenAI
$0.0000$0.0000
$0.0000
1.05M
GPT-6.1 Sol
OpenAI
$0.0000$0.0000
$0.0000
1.05M
Llama 3.3 70B
Meta
$0.0000$0.0000
$0.0000
128K
Llama 4 Maverick
Meta
$0.0000$0.0000
$0.0000
1M
API Rates Reference

Per 1M tokens · Standard rates

Claude Fable 5.1
Input$10.00 / 1M
Output$50.00 / 1M
Cache (98% off)$0.25 / 1M
Claude Opus 5.5
Input$4.00 / 1M
Output$20.00 / 1M
Cache (95% off)$0.2 / 1M
Claude Sonnet 5.5
Input$2.00 / 1M
Output$10.00 / 1M
Cache (90% off)$0.2 / 1M
Claude Haiku 5.5
Input$0.10 / 1M
Output$0.50 / 1M
Gemini 3.1 Pro
Input$2.00 / 1M
Output$12.00 / 1M
Cache (90% off)$0.2 / 1M
Gemini 3.8 Flash
Input$0.75 / 1M
Output$3.75 / 1M
Gemini 3.5 Flash-Lite
Input$0.30 / 1M
Output$2.50 / 1M
Grok 4.7
Input$2.00 / 1M
Output$6.00 / 1M
Grok 4.1 Fast
Input$0.20 / 1M
Output$0.50 / 1M
GPT-6 Astra
Input$10.00 / 1M
Output$50.00 / 1M
Cache (90% off)$1 / 1M
GPT-6.1 Sol
Input$2.00 / 1M
Output$10.00 / 1M
Cache (95% off)$0.1 / 1M
GPT-6 Luna
Input$0.10 / 1M
Output$0.50 / 1M
Cache (90% off)$0.01 / 1M
Llama 4 Maverick
Input$0.27 / 1M
Output$0.85 / 1M
Llama 3.3 70B
Input$0.18 / 1M
Output$0.18 / 1M

How tokenization is estimated

This calculator divides character count by 4 — the well-known BPE heuristic used by GPT, Claude, and Gemini tokenizers for typical English input. For mixed-language text or code-heavy prompts, actual token counts may differ by ±10–20%. For exact counts, use OpenAI's Tokenizer or Anthropic's token counter API.

Was this page helpful?

Sign in to cast your vote

Discussion

Sign in to share your feedback and join the discussion.