Prompt Token Counter
Paste text and see estimated token counts and API costs across models. All counting runs locally in your browser.
Input Text
0 chars
0
Characters
0
Words
0
Lines
0
Sentences
Token Estimates
Approximate counts using word-based heuristics. Load the real tokenizer for exact GPT-4o family counts.
OpenAI
GPT-4o
~0 tokensIn: $0.00Out: $0.00
GPT-4o mini
~0 tokensIn: $0.00Out: $0.00
o3-mini
~0 tokensIn: $0.00Out: $0.00
Anthropic
Claude Sonnet 4
~0 tokensIn: $0.00Out: $0.00
Claude Haiku 3.5
~0 tokensIn: $0.00Out: $0.00
Claude Opus 4
~0 tokensIn: $0.00Out: $0.00
Google
Gemini 2.5 Flash
~0 tokensIn: $0.00Out: $0.00
Gemini 2.5 Pro
~0 tokensIn: $0.00Out: $0.00
DeepSeek
DeepSeek-V4-Flash
~0 tokensIn: $0.00Out: $0.00
DeepSeek-V4-Pro
~0 tokensIn: $0.00Out: $0.00
Rows without an “exact” tag are estimates. Prices reflect public API pricing as of mid-2026 and may change.