What is a large language model (LLM)?
A large language model, or LLM, is a huge neural network that does one thing: it reads a text and predicts what comes next. Word by word. Everything you see in ChatGPT, Claude and Gemini comes out of that simple trick.
How ‘the next word’ turns into something that seems to think
The model was trained on enormous amounts of text: books, web pages, code. To guess the next word well across so many different texts, it had to learn grammar, facts, ways of reasoning, how an email or a contract is written. Then the companies train it again, so it can hold a conversation, follow instructions and refuse what it shouldn’t do.
How language manages to carry so much knowledge is one of the most fascinating questions of our time, but that’s another conversation. For your work, it’s enough to remember that the model writes the most likely continuation. Most of the time that is also the right one. Sometimes it isn’t.
A chat is a very smart stranger. It knows a lot about the world and nothing about you.
What this means in practice
Three things are worth keeping in mind from day one:
- It makes mistakes with confidence. When it doesn’t know something, it can write an answer that sounds right but is made up. So you check whatever matters, the way you would check the work of a new colleague.
- It knows nothing about you. Your company, your clients, the way you work: you have to tell it. This is called context, and the better the context, the better the work.
- What you type leaves your computer. It goes to the servers of the company that makes the model, and what happens there depends on your plan. We cover it in the lesson Is ChatGPT safe for company data?
From the model to the chat and the agent
A chat is a language model inside an app, with history, files and, these days, connectors to your email or calendar. An agent is the same model with access to more powerful tools: it reads and writes files, runs commands, writes scripts and does jobs that take many steps. More in the lesson Chat vs AI agent.
Each company has a family of models, from small and fast to large and expensive. For Claude, for example, they are Haiku, Sonnet, Opus and Fable. The bigger the model, the harder the work it can handle and the more it costs.
Who makes these models, and why you can run some of them on your own computer, is the topic of Open vs closed AI models.