javier.tech · AI tools labby Javier Sáez Hurtado · javiersaezhurtado.com

Tools / Token counter

Token counter

How many tokens your text uses, counted with real public tokenizers, and how much of a context window it fills.

privacy Your text never leaves your browser. The tokenizers run on your device.

0tokens
0words
0characters
-characters per token

How much of a context window it fills

Common context window sizes. Check your model’s documentation for its exact limit.

  • 8K tokens0%
  • 32K tokens0%
  • 128K tokens0%
  • 200K tokens0%
  • 1M tokens0%
See it token by token
Type something to see the tokens.

What a token is

A language model does not read letters or words. It splits text into pieces called tokens: a word, part of a word or a symbol. Context windows and API usage are measured in tokens, so the same text can “cost” more or less depending on the model and the language. English usually needs fewer tokens than Spanish or code for the same meaning. If you read Spanish, my AI study guide explains how a large language model predicts text token by token, with a glossary entry on tokens.

Which tokenizers this uses

Tokens also drive usage limits in apps, not only in the API. On my main site I explain how ChatGPT and Codex now share one token-based allowance, and what models like GPT-6.1 Terra cost per token.

Made by Javier Sáez Hurtado. Updated on 16 November 2026.