Interactive explorations of tokenisation, next-token prediction, temperature sampling, and hallucination — the core mechanisms behind GPT, Claude, and Gemini.
LLMs don't read characters or words — they read tokens. A token is roughly 3–4 characters. The model's vocabulary is typically 50,000–100,000 tokens.
API pricing is per token. See how your text translates to cost at current frontier model prices.