Skip to content
Free Tool Arena

AI & Prompt Tools · Free tool

AI Token Counter

Estimate tokens, characters, words, and approximate API cost for GPT-4o, GPT-4, Claude, and Gemini — before you hit send.

Updated April 2026
Characters
322
Words
53
~ Tokens
85
Bytes (UTF-8)
325
ModelContextInput $/MOutput $/MEst. cost (1 call)
GPT-4o128,000$2.50$10.00$0.0052
GPT-4o mini128,000$0.15$0.60$0.0003
GPT-4 Turbo128,000$10.00$30.00$0.0158
Claude Opus 4200,000$15.00$75.00$0.0388
Claude Sonnet 4200,000$3.00$15.00$0.0078
Claude Haiku 4200,000$0.80$4.00$0.0021
Gemini 1.5 Pro2,000,000$1.25$5.00$0.0026
Gemini 1.5 Flash1,000,000$0.07$0.30$0.0002
Llama 3.1 70B128,000$0.35$0.40$0.0002
Mistral Large128,000$2.00$6.00$0.0032

Prices are list rates per million tokens. Estimate uses ~3.8 chars/token — within ~10% for English prose. For billing-critical counts, use each provider's official tokenizer.

What it does

Estimate tokens, characters, and API cost for GPT-4o, GPT-4, Claude, Gemini, Llama, and more — before you hit send.

How to use it

  1. Paste the text.
  2. Set assumed output tokens.
  3. Read the per-model cost estimate.