# Large Language Model (LLM)

> A very big model trained on huge amounts of text. It writes by guessing the next word.

**Field:** Artificial Intelligence  
**Category:** LLMs  
**Also known as:** LLM, LLMs

## Think of it like

Think of it like a friend who has read a huge pile of books. Now they can talk about lots of things.

## Definition

A large language model is a language model with billions of weights, trained on a huge amount of text. It learns by guessing the next piece of text, over and over, across much of the public web and many books. From that one job it picks up grammar, facts and some reasoning. It can answer questions, write, sum up and write code. Chat assistants are built on one.

## Example

Lucy asks a chat assistant to turn her notes into an email. The large language model behind it writes the email one piece at a time.

## Why it matters

It is the engine inside most AI tools people use today. That goes from chat to code helpers.

## Common mistake

Thinking it looks things up in a database. It writes from patterns in its training, so it can state wrong facts with confidence.

## Three principles

- **Very large.** Billions of weights.
- **Trained on text.** Much of the web and many books.
- **One job, many uses.** Guess the next token.

## Related terms

- [Language Model](https://learn.benibix.com/term/ai/language-model)
- [Next-Token Prediction](https://learn.benibix.com/term/ai/next-token-prediction)
- [Transformer](https://learn.benibix.com/term/ai/transformer)
- [Foundation Model](https://learn.benibix.com/term/ai/foundation-model)
- [Hallucination (AI)](https://learn.benibix.com/term/ai/hallucination)
- [Model Snapshot](https://learn.benibix.com/term/ai/model-snapshot)

## Taught in

- [Large Language Model Basics](https://learn.benibix.com/learn/ai-llms/large-language-model-basics): LLMs, 1/15
- [Prompt Engineering Basics](https://learn.benibix.com/learn/ai-working-with-ai/prompt-engineering-basics): Prompt Engineering, 1/16
- [AI Labs and Model Families](https://learn.benibix.com/learn/ai-models-providers/ai-labs-and-model-families): AI Models and Providers, 1/13
- [Chatbots and AI Assistants](https://learn.benibix.com/learn/ai-use-case/chatbots-and-ai-assistants): AI Assistants and Chatbots, 1/13
- [ChatGPT, Claude and Gemini](https://learn.benibix.com/learn/ai-ai-tools/chatgpt-claude-and-gemini): AI Apps and Tools, 1/10

![A loop. The text so far goes into the model, the model gives a chance for each next token, one token is picked and added to the text, and the loop starts again.](https://learn.benibix.com/diagrams/llm-next-token.svg)

---

Source: https://learn.benibix.com/term/ai/large-language-model
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
