# GPT (Generative Pre-trained Transformer)

- **Canonical URL:** https://getaimath.com/dictionary/gpt-generative-pre-trained-transformer/
- **Topics:** [LLM Fundamentals](https://getaimath.com/dictionary/category/llm-fundamentals/), [AI Models & Model Families](https://getaimath.com/dictionary/category/ai-models-and-model-families/)
- **Also called:** GPT
- **Last updated:** 2026-11-25

## What is GPT (Generative Pre-trained Transformer)?

**In one sentence:** 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.

Each word in the name means something. "Generative" means it creates text. "Pre-trained" means it first learned from a giant pile of text. "Transformer" is the type of neural network it uses. GPT models write one token at a time, each time predicting what should come next.

![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 GPT (Generative Pre-trained Transformer)?

ChatGPT is a chat app built on top of GPT models.

## Why does GPT (Generative Pre-trained Transformer) matter?

GPT made the world pay attention to large language models, and its name is often used for chatbots in general.

## Related Concepts

- [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.
- [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.
- [Claude](https://getaimath.com/dictionary/claude/): Claude is a family of AI assistants and large language models made by Anthropic.
- [Language Model](https://getaimath.com/dictionary/language-model/): A language model is an AI that learns how language works so it can predict or produce words and sentences.
- [Decoder](https://getaimath.com/dictionary/decoder/): A decoder is the part of a model that produces output, one piece at a time, such as writing a sentence word by word.
- [Gemini](https://getaimath.com/dictionary/gemini/): Gemini is Google's family of multimodal AI models, built to handle text, images, audio, video and code.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/gpt-generative-pre-trained-transformer/)
