Free Tool · No signup

Token Calculator: Estimate Tokens and Cost for Any Text

Paste any text — English, 中文, code or a mix — and get an instant token, word and page estimate, then compute the real API call cost across 8 leading models including GPT-5, Claude Opus 4, DeepSeek Chat and Gemini 2.5 Pro.

1 Paste your text

Estimates update live as you type. ~4 characters per English token, ~1.3 per Chinese character, ~3.5 per code character.

Waiting for text…
0
Tokens
0
Words
0
Characters
0
Pages ≈

2 Pick a model & estimate cost

Input / output price per 1M tokens.

Input cost (your text)$0.00
Output cost (model reply)$0.00
Total estimated cost$0.00

3 Compare input cost vs GPT-5

Paste text above, then compare the selected model's input cost against GPT-5 for the same prompt.

GPT-5$0.00
Selected model$0.00
Paste text above to compare input cost against GPT-5.

Related tools

Stop guessing. Start building on DrAI.

One API key for GPT-5, Claude, DeepSeek, Gemini and 14 more models — pay per token, no minimums. Use the token math above to size your prompts, then sign up free.

View Pricing Sign in Free

How tokens are estimated

🌐 English