LLM Token Counter

Paste any text to count tokens and estimate API costs across GPT-4o, Claude, Gemini, and Llama models. Runs entirely in your browser — no data sent anywhere.

Input Text
Token Count
0
cl100k_base approximation
Words
0
Chars
0
Context Window
0%
0 / 128,000 tokens
API Cost Estimate
Input (per 1M tok)
This text costs $0.0000
Output (per 1M tok)

Tokenization uses a cl100k_base-compatible BPE approximation. Accuracy is >95% for English prose. Prices as of July 2026 — always verify against the provider's pricing page.