Estimate token counts for any text with per-model cost breakdowns across OpenAI, Anthropic, Google, and more. Build multi-turn chat conversations and export as ready-to-run API request JSON for OpenAI, Anthropic, or Gemini. Visually build function/tool-calling JSON schemas for OpenAI or Anthropic tool use.
cl100k_base and o200k_base give the exact token count OpenAI's own API would report for that encoding. Non-OpenAI models (Anthropic, Google, Meta, Mistral) use their own tokenizers, so treat counts for those rows as a reasonable approximation rather than an exact match.
Estimate token counts for any text with per-model cost breakdowns across OpenAI, Anthropic, Google, and more. Build multi-turn chat conversations and export as ready-to-run API request JSON for OpenAI, Anthropic, or Gemini. Visually build function/tool-calling JSON schemas for OpenAI or Anthropic tool use.
Yes. LLM Tools can estimate token count for a system prompt, directly in your browser.
Yes. LLM Tools can compare GPT-4o vs Claude cost for a document, directly in your browser.
Yes. LLM Tools can build a multi-turn conversation and export as OpenAI JSON, directly in your browser.
No. This tool runs entirely in your browser — your input is processed locally on your device and is never uploaded or stored on a server.