Prompt Token Counter

Estimate OpenAI, Claude, and Gemini token counts from pasted prompts.

Prompt Input
Words
16
Characters
100
Lines
1
Paragraphs
1
OpenAI tokens
25
Ratio
≈ 1 token / 4 chars
Claude tokens
28
Ratio
≈ 1 token / 3.6 chars
Gemini tokens
27
Ratio
≈ 1 token / 3.8 chars
Estimates

OpenAI tokens: estimated with a 4-char average.

Claude tokens: estimated with a 3.6-char average.

Gemini tokens: estimated with a 3.8-char average.

Estimate, not exactTokenization rules differ between providers and can change by model version. This tool is a fast local estimate for prompt sizing, budget checks, and quick comparisons before you send a request to an API.

How token counting works

Tokenizers split text differently from words, which is why model budgets often feel smaller than they look at first glance. This page uses simple provider-specific averages to give you a quick estimate before you paste a prompt into OpenAI, Claude, or Gemini.

How to use

  • 1Paste or type the prompt you want to estimate.
  • 2Review the OpenAI, Claude, and Gemini estimates side by side.
  • 3Use the quick examples to test different prompt styles.
  • 4Remember that final billed usage can vary by model and tokenizer version.

Related Tools