AI glossary

What is Large Language Model (LLM)?

Definition

A large language model (LLM) is an AI model trained on vast amounts of text to understand and generate language. It powers chatbots, writing tools, coding assistants and AI agents.

LLMs such as Claude, GPT, Gemini and Llama are neural networks (typically transformers) trained to predict the next token in a sequence. At scale, this simple objective produces models that can summarise, translate, reason, write code and follow complex instructions.

Key characteristics

  • Context window: how much text the model can consider at once. See context window.
  • Capabilities: tool use, structured outputs, vision and reasoning modes vary by model.
  • Size tiers: providers offer large “frontier” models for hard tasks and smaller, faster, cheaper ones for simple tasks.
  • Open vs closed: some models are available only via API; open-weight models can be self-hosted.

Limitations

LLMs can produce confident but wrong answers (hallucinations), have knowledge cut-off dates and don’t know your private data unless you supply it, for example through RAG.

Choosing one? Read How to Choose the Right LLM.

Free newsletter

The Agent Brief

One practical email a week on AI agents, RAG and generative AI, for builders and business owners. No hype, no spam.