Next Token Visualizer

Explore how language models predict the next word

How it works

Language models predict text one piece at a time. Given your input, the model calculates the probability of every possible next word. The selected word is what the model chose based on these probabilities. Click any prediction to add it and keep going!

?
?

Try an example:

0 characters

Powered by OpenRouter API