codinganthem
All tools/

Token Counter & Estimator

OpenAI
Anthropic
Google

About Token Counter & Estimator

Count tokens and estimate API cost before you send a single request — entirely in your browser. • Exact counts for GPT-4o, GPT-4.1, and GPT-3.5 via OpenAI's real tiktoken tokenizer • Character-based estimates for Claude and Gemini, since those providers don't publish a public tokenizer • Shows how much of the model's context window your text uses, plus estimated cost for this prompt • Tokenizer data loads on first use — nothing you paste is ever sent to a server