# Language Model

- **Canonical URL:** https://getaimath.com/dictionary/language-model/
- **Topics:** [LLM Fundamentals](https://getaimath.com/dictionary/category/llm-fundamentals/)
- **Last updated:** 2026-11-25

## What is Language Model?

**In one sentence:** A language model is an AI that learns how language works so it can predict or produce words and sentences.

At its heart, a language model answers one question: given these words, what word probably comes next? Your phone's keyboard suggestions use a small language model. Large language models are the same idea, just far bigger and trained on far more text.

![How ChatGPT & Claude Talk: Super-Powered Autocomplete — Simple cartoon diagram showing a sentence chopped into Lego word blocks (tokens), an AI brain weighing the odds of the next word ("mat" 75%, "couch" 18%, "roof" 5%), and snapping "mat" onto the end of the sentence.](https://getaimath.com/diagrams/llm-fundamentals.png)
*Napkin Diagram (LLM Fundamentals): Language models don’t plan whole essays at once—they play a super-smart game of "guess the very next word" over and over.*

## What is an example of Language Model?

When you type "See you" and your phone suggests "tomorrow," a language model made that guess.

## Why does Language Model matter?

Language models are the base layer of chatbots, translators and writing tools.

## Related Concepts

- [Multimodal Model](https://getaimath.com/dictionary/multimodal-model/): A multimodal model is an AI that can understand or create more than one kind of data, like text, images, audio and video.
- [Transformer](https://getaimath.com/dictionary/transformer/): A Transformer is a type of neural network design that reads all the words in a passage at once and works out how they relate, using attention.
- [Generative AI](https://getaimath.com/dictionary/generative-ai/): Generative AI is AI that creates new content, like text, images, music, video or code.
- [GPT (Generative Pre-trained Transformer)](https://getaimath.com/dictionary/gpt-generative-pre-trained-transformer/): GPT stands for Generative Pre-trained Transformer, a family of language models by OpenAI that generate text after being pre-trained on huge amounts of data.
- [Foundation Model](https://getaimath.com/dictionary/foundation-model/): A foundation model is a big, general-purpose AI model trained on broad data that can be adapted to many different tasks.
- [Encoder](https://getaimath.com/dictionary/encoder/): An encoder is the part of a model that reads an input and turns it into a set of numbers that capture its meaning.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/language-model/)
