Skip to content

Token Estimator

Estimate LLM token counts for any text or code - per-content-type heuristics (prose, code, JSON, CJK) with a ±15% range, plus chat-framing overhead. Runs entirely in your browser.

AI & Agents
cosmodev ~/tools/token-estimator-
Paste text to estimate

Explain how HTTP caching works to a junior developer.
Cover ETags, Cache-Control, and the Vary header in under 200 words.