All Tools
Token Counter

Token Counter

Estimate token counts and costs across major LLM providers.

Client-side only. Your text never leaves your browser. Nothing is stored or sent anywhere.

0 characters0 words0 lines
Token estimates
OpenAI
GPT-5.41M context
GPT-5.4 Mini400K context
GPT-4.11M context
GPT-4.1 Nano1M context
o3200K context
o4-mini200K context
Anthropic
Claude Opus 4.71M context
Claude Sonnet 4.61M context
Claude Haiku 4.51M context
Google
Gemini 3.1 Pro1M context
Gemini 3 Flash1M context
Gemini 3.1 Flash-Lite1M context
DeepSeek
DeepSeek V3.2131K context
DeepSeek R1128K context
Mistral
Mistral Large 3256K context
Mistral Small 3.1128K context
xAI
Grok 42M context
Meta
Llama 4 Maverick1M context
Llama 4 Scout1M context

Token counts are estimates based on average character-to-token ratios. Actual counts vary by content. Prices reflect published API rates as of April 2026.

Working with multiple LLMs? ze1 lets you orchestrate AI models visually. No code required.

Learn about ze1

How the Token Counter Works

Paste any text and instantly see estimated token counts for every major LLM provider, including OpenAI GPT-5, Anthropic Claude, Google Gemini, DeepSeek, Mistral, Grok, and Meta Llama. Compare input costs side by side so you can pick the right model before sending a single API call.

  • Covers 15+ models across 7 providers with up-to-date pricing
  • Shows context window size so you know if your prompt fits
  • Estimates cost per prompt so you can budget API spend

Everything runs in your browser. Your text is never sent to a server.