Module 0 · Start here · Lesson 2 of 34
LLMs in ten minutes
Tokens, next-token prediction, temperature, context windows, tools and agents: the core ideas every module uses.
In this lesson · about 14 minutes
- Explain what a large language model does, one token at a time
- Describe temperature, tokens and the context window in plain words
- Tell the difference between a chat model, a tool call and an agent
A large language model (LLM) is a program trained on a huge amount of text to do one thing: given some text, predict what comes next. Everything else (answering questions, writing code, using tools) is built from that one skill.
- Text is split into tokens: whole short words, pieces of longer words, and punctuation. In English, one token is about four characters, or three-quarters of a word.
- For the next position, the model gives every token in its vocabulary a probability.
- One token is picked, added to the text, and the process repeats until the model produces an "end" token or hits a length limit.
Try it · simulator
Next-token predictor
A language model writes by repeatedly picking the next token from a list of probabilities. Build a sentence one token at a time and change the temperature and top-p to see how the choices change.
Next-token probabilities after “cat”
Key terms
Say the meaning to yourself, then tap a card to check.
Whiteboard · watch and try
From a model to an agent
Press Play. The tutor builds up from a bare model to an agent in four steps.
Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.
Check your understanding0 of 4 correct
Quiz score: 0 of 4
Written by Noviq Academy in its own words. The simulators are small teaching models that keep the real idea and leave out the scale; their numbers (prices, speeds, scores) are illustrative. Model names, prices and features change quickly, so check your provider's current documentation before you build. Read-aloud uses your device's built-in voices.