Large Language Models

Large language models explained: how they calculate language, where they hit their limits, and why smaller models are catching up.

What a large language model is

The name sounds like a finished reference book that simply answers questions. In fact, a large language model is an AI system based on the transformer architecture from 2017, trained on huge amounts of text to predict linguistic patterns statistically. Large because of the billions of parameters, language model because it originally only processed text. Current models like GPT-5, Claude or Gemini now also read images and audio in the same computation step.

Before any calculating happens, the model breaks every input into tokens, usually syllables rather than whole words. An attention mechanism then weighs how strongly individual words relate to each other in the current context, and from that the model calculates the next most likely word. This happens over and over until the sentence is done.

These days, how cleanly the training data was prepared and whether the model is allowed to access external sources when answering matter more than the raw parameter count.

Where LLMs are strong and where they aren't

In practice, LLMs run wherever language gets processed. Content drafts, summaries of long documents, sorted support requests, boilerplate code: pattern recognition is enough for all of that, because the task itself is made of predictable linguistic building blocks.

They're bad at anything that needs exact calculation or up-to-date knowledge. A model can make a calculation look plausible without it being correct, and it doesn't know about events after its training cutoff unless it checks via web search. If you know this limit, you set tasks up so the model handles the language and a tool supplies the facts. How a model looks things up in your own documents for this is covered under retrieval augmented generation.

Current models also add an intermediate layer. Instead of answering right away, they first generate an internal chain of intermediate steps, much like a person who breaks a problem down before saying anything. This reasoning noticeably lowers the error rate on multi-step tasks.

From answering to acting

A model that only outputs text is now the smaller half of the application. Through the Model Context Protocol, models connect to tools like file systems or APIs and work as a planner instead of a text generator. That shift turns a language model into an AI agent.

At the same time, smaller models are catching up. Small language models reach a quality on many standard tasks that needed much bigger models not long ago, and they run locally on ordinary hardware. That lowers costs and energy use and keeps data where it's created.

Where the limit is

An LLM isn't a database. It predicts which word statistically comes next, and it has no idea whether that prediction is right. That's where hallucinations come from: answers that sound convincing and are still wrong.

Then there's the regulatory framework. The EU AI Act entered into force on August 1, 2024, and has been binding since August 2, 2026. It requires companies to clearly define liability and control for automated decisions. If you use LLMs for more than simple text tasks, you can't avoid this question.

What a prompt can do technically is a topic of its own, and so is machine learning, the broader field of which the transformer architecture is only one part.

Back to the AI and Automation Glossary.

FAQ

Is a large language model the same as a search engine?
No. A search engine looks for existing documents and shows you links to them. An LLM has no stored document it retrieves. It calculates from its training which word is statistically most likely to come next. That's why an LLM can give convincing-sounding answers that are still wrong, while a search engine at least shows you the source a claim is based on.
How is an LLM different from an AI agent?
An LLM on its own only answers with text. An AI agent uses an LLM for planning and also connects it to tools like APIs or file systems, so it can carry out several steps on its own, such as creating a file or sending a request. For actions with real consequences, human confirmation still makes sense before the agent triggers something final.
Why do large language models hallucinate?
Because an LLM doesn't retrieve stored facts, it calculates the most likely continuation for every word. If the training had little or contradictory material on a topic, the model fills the gap anyway, with an answer that sounds plausible but isn't true. Retrieval-augmented generation lowers this risk because the model accesses real documents before answering, but it doesn't remove it completely.
Portrait of Eric Hinzpeter

Eric Hinzpeter

Eric Hinzpeter, Senior B2B Content Strategist. He builds AI agents and marketing automation for production use and writes up what comes out of it here.

About meLinkedIn (new tab)