LLM Token Counter & AI Cost Calculator

Count the tokens in your text or prompt and estimate the cost across GPT-5, Claude and Gemini. Exact OpenAI counting and per-call and monthly cost estimates.

0
Tokens (OpenAI)
0
Characters
0
Words
Characters/token
Estimated for Claude≈ 0
Estimated for Gemini≈ 0

API cost calculator

Estimate how much you would spend per call and per month on each model.

ModelCost / callCost / monthContext
GPT-5.6 Sol$0.02$20400k
GPT-5.6 Terra$0.01$10400k
GPT-5.6 Luna$0.004$4400k
GPT-5.4 mini$0.003$3400k
GPT-5.4 nano$0.00083$0.825400k
Claude Opus 4.8$0.0175$17.51M
Claude Sonnet 5$0.0105$10.51M
Claude Haiku 4.5$0.0035$3.5200k
Gemini 3.1 Pro$0.008$81M
Gemini 3.5 Flash$0.006$61M
Gemini 3.1 Flash-Lite$0.001$11M
Gemini 2.5 Flash$0.00155$1.551M
Gemini 2.5 Flash-LiteCheapest$0.0003$0.31M
Reference prices (USD), updated July 2026. Providers change them often: check the official page.OpenAIAnthropicGoogle

Token counts are exact for OpenAI models (o200k tokenizer). For Claude and Gemini they are estimates: recent Claude models (Opus 4.8, Sonnet 5) use a tokenizer that produces ~30% more tokens for the same text, and Gemini uses its own. Treat it as a close approximation.

All counting happens in your browser. Your text is never sent to any server or stored.

Compartir

Reviews & ratings

0 reviews
5★
0
4★
0
3★
0
2★
0
1★
0

No reviews yet. Be the first to leave one!

Write a review

Your rating *