← Glossary AI

LLM (Large Language Model)

A very large pattern-matcher trained on enormous amounts of text. What people mean when they say 'AI' these days.

Explained simply.

An LLM is a computer program that learned to predict the next word by reading most of the writing on the internet. That's it. That's the magic trick. If you give it a half-finished sentence, it can guess what comes next so well that the answer feels intelligent. Because it learned from so much text, it has absorbed facts, grammar, code, reasoning patterns, and writing styles. ChatGPT, Claude, and Gemini are all LLMs.

An example.

Type 'The capital of France is' into an LLM. It knows the next most likely word is 'Paris' because it read that sentence or a close variant hundreds of thousands of times during training. Now type 'Write a poem about Paris in the style of Shakespeare' and it's doing the same trick, just over a much longer answer.

Why it matters.

Understanding that an LLM is predicting text, not looking things up, explains almost every strange thing it does: why it can hallucinate, why prompting works, why it's amazing at some tasks and terrible at others. It is a very smart writer. It is not a database.