An interactive AI teaching demo
Follow the next token.
A language model writes one token at a time. At each step, it assigns probabilities to possible next tokens. Try a short prompt, then walk through the model's actual choices and alternatives.
Start a trace
Give the model a beginning.
Checking the model…
Explore the response
One decision at a time.
Your token trail will appear here. Start with a prompt to see what the model considered.
Prompt tokens
Generated so far
Other likely next tokens
What do these numbers mean?
Each bar is a probability from the model's next-token distribution at that exact step. A token can be a word, part of a word, a space, or punctuation. These numbers are not the model's thoughts or confidence that a statement is true. Sampling can choose a token outside the alternatives shown here.
The model runs on a public Hugging Face Space. The app does not save prompts or responses, but your prompt is sent to that service to make a trace. See the privacy page for details.