LLM (large language model)
An AI model that understands and generates text
What is LLM (large language model)?
An LLM (large language model) is an artificial intelligence model trained on a vast amount of text that understands instructions written in everyday language and responds with coherent text. The principle is simple: the model splits text into small pieces (tokens) and repeatedly predicts which token is most likely to come next. "Large" refers to the number of parameters, the learned weights, which run into the billions in current models. LLMs power AI assistants, chatbots, translation tools and coding tools.
Why It Matters
Large language models have changed how businesses work with text and information: a first draft of an email, a contract summary or a product description takes seconds. For small and medium-sized businesses, it matters to understand what an LLM is and what it is not. It is not a database of facts or a search engine, but a model that writes probable text. That is why it works fast and sounds convincing, yet sometimes it is convincingly wrong. If you understand this, you can set up AI work properly: the model gets good source material, outputs are checked and sensitive data stays under control.
Real-World Examples
- 1An AI assistant turns meeting notes into a summary and a draft email for the client; the salesperson checks it and sends it.
- 2A chatbot on an online shop answers questions about delivery and returns based on the terms and conditions the company provided.
- 3An online shop uses a language model API to generate first drafts of 300 product descriptions from technical specifications, which a copywriter then edits.
- 4An accounting firm uploads a new regulation to an LLM and asks for the points that affect its clients, then checks them against the original text.
- 5A company runs an open language model on its own server so that internal documents never leave its infrastructure.
How an LLM works
A large language model does not work with words but with tokens. A token is a piece of text: a short word, part of a longer word, a digit or punctuation. When answering, the model works token by token and at every step calculates which token is most likely to follow everything written so far, including your prompt.
Most current LLMs are built on the transformer architecture, which Google researchers described in June 2017 in the paper "Attention Is All You Need". Its key component is the attention mechanism: at every step the model weighs which parts of the text matter for the next word, even if they appeared many sentences earlier. This lets it keep track of context in long texts and makes it efficient to train on huge amounts of data.
The practical consequence: an LLM does not "look up" facts, it generates text that statistically matches what it has learned. That is why the material and instructions you give it matter so much.
How a large language model is trained
- Pre-training: the model learns to predict the next token on a vast amount of text from the web, books and code. This gives it knowledge of language, facts and style. It is the most demanding phase and requires thousands of specialised chips.
- Fine-tuning: on a smaller set of high-quality examples, the model learns to follow instructions and hold a conversation rather than just continue text.
- Human feedback: reviewers compare answers and the model learns to prefer helpful, truthful and safe responses. This method is known as RLHF (reinforcement learning from human feedback).
A model's knowledge ends at the date its training data was finalised. It knows nothing about later events unless you provide them in the prompt or the tool using it can search the web.
Tokens and the context window
According to OpenAI, one token in English is roughly four characters, or about three quarters of a word. Other languages usually need more tokens for the same text. Tokens matter for two reasons:
- Cost: when you connect through an API, you pay for the number of input and output tokens. We cover pricing and calculations in our OpenAI API guide.
- Context window: the maximum amount of text the model can work with at once in a conversation (prompt, attached documents and answer). It works like short-term memory. According to vendor documentation, some current models handle a million tokens or more, enough for entire contracts, manuals or large codebases.
Whatever does not fit into the context window, the model cannot see. In long conversations it may "forget" earlier instructions, so it is worth starting a new conversation with a short summary.
LLM vs AI assistant, chatbot and AI agent
The LLM is the model itself, the "brain" that processes and generates text. Applications are built on top of it: an AI assistant helps a specific person with their work, a chatbot talks to a company's customers on its website, and an AI agent completes multi-step tasks on its own using other tools (more in our article on AI agents for business). One language model can power dozens of different products. We compare how specific tools built on different models differ in practice in ChatGPT vs Claude vs Gemini and cover one of them in detail in our Claude AI guide.
What an LLM can do and where its limits are
A large language model is strong wherever work involves text:
- writing, rewriting and translating text,
- summarising long documents and meeting transcripts,
- sorting and extracting data from emails, invoices or forms,
- answering questions from the material you provide,
- suggesting and reviewing code.
Limits you need to account for:
- Hallucinations: the model sometimes produces a convincing but false answer, such as a non-existent citation or figure. Facts must be checked.
- Outdated knowledge: without access to the web or your data, the model knows nothing about recent news or your business.
- Calculations: a pure language model is unreliable at arithmetic; precise calculations belong in a spreadsheet or code, which the model can write.
- Prompt quality: a generic prompt leads to a generic answer. Our guide How to write prompts shows how to write specific instructions.
How businesses use large language models
- Ready-made app: the team works directly in an AI assistant on a business plan. The fastest start with no development.
- API integration: the LLM is built into your own processes, for example an online shop, CRM or an automation that sorts enquiries.
- Model on top of company data: for each question, the model receives relevant passages from internal documents and answers from them, often with a link to the source. This approach is called RAG (retrieval-augmented generation) and is usually cheaper than retraining a model.
- Open model on your own server: some language models can be downloaded (so-called open-weight models). Data never leaves the company, but the company carries the cost of hardware and maintenance.
Whichever option you choose, check the data processing terms: whether the provider uses inputs for training, where data is stored and for how long. When personal data is involved, GDPR rules apply.
LLMs and the EU AI Act
The EU Artificial Intelligence Act (AI Act) treats large language models as general-purpose AI models. Since 2 August 2025, their providers must, among other things, keep technical documentation, have a copyright policy and publish a summary of the content used for training. These obligations apply to model developers, not to businesses that simply use a model. However, if AI talks directly to your customers, a transparency obligation applies from 2 August 2026: people must know they are interacting with AI unless it is obvious from the context. This overview is not legal advice.
When to bring in an expert
Your team can start using a ready-made AI assistant on its own. An expert pays off when the language model needs to work with your data, connect to your CRM, online shop or accounting, answer customers, or when you are deciding which model and deployment option makes sense for cost and security. We build projects like these, from model selection to integration with company systems, as part of our AI solutions for business.
Frequently asked questions
What does LLM stand for?
LLM stands for large language model. It is an AI model trained on a large amount of text that understands instructions in everyday language and generates a response. Do not confuse it with LL.M. (Master of Laws), an academic degree in law that has nothing to do with artificial intelligence.
What is the difference between an LLM and AI?
An LLM is one type of artificial intelligence. AI is a broad field that also covers image recognition, recommendation systems and robotics. A large language model is the part focused on text and language, and it is what AI assistants and chatbots are built on.
Why do LLMs sometimes make things up?
LLMs make things up because they do not generate verified facts but the most probable continuation of text. When the model lacks the necessary information, it produces an answer that sounds plausible but may be false. You reduce the risk by giving the model source material, asking it to cite sources and always checking facts, figures and quotes.
Can an LLM work with our company data?
Yes, an LLM can work with company data if you provide it in the prompt, through a connection to internal documents (RAG) or via an API. Before deployment, check whether the provider uses inputs for training, where data is stored and who has access to it. An open model running on your own server gives you the most control.
What is a token in a language model?
A token is the smallest piece of text a language model works with: a short word, part of a word or a punctuation mark. According to OpenAI, one English token is roughly four characters, and other languages usually need more tokens for the same text. Token counts determine both API pricing and the size of the context window.