Vezi pagina în română

IT Glossary

LLM (large language model): how it works, context window, LLM vs agent

Large language model: the neural network behind ChatGPT, Claude and Gemini, trained on text to predict the next token.

6
sections
6
questions answered

An LLM (large language model) is a Transformer neural network trained on vast volumes of text to predict the next token, and so to draft, summarize, translate or answer questions. ChatGPT, Claude and Gemini are applications built on such models (GPT, Claude, Gemini). How much text the model “sees” at once is measured in tokens, and that limit is the context window: for current Claude and Gemini models it is about 1 million tokens (vendor documentation, checked 18 November 2026).

For a company, an LLM is an engine, not a finished product, and the value appears at assembly: connected to company documents through RAG (the model answers from procedures, quotes and history), wired into workflows (the client email classified with a reply drafted, the scanned invoice turned into a record, the weekly report generated from data), or used by staff for the language chores that eat their day. The limits matter as much: an LLM doesn’t “know”, it models what is plausible, so it can state false details in a confident tone; arithmetic needs checking; and its knowledge stops at a cutoff date.

Why it matters for your business

Language chores, compressed

Drafting, summarizing, translating, pulling data out of documents — the company's reading and writing hours shrink to review time.

Company knowledge, queryable

Connected to your documents through RAG, the model answers from your procedures and history — the archive becomes a colleague who knows everything.

Pay only for what you use

Through the API, use is billed per token, input and output, so a pilot costs in proportion to volume, with no fixed licence per model.

How an LLM works: tokens, Transformer and attention

Text is cut into pieces called tokens. The rule of thumb in Google’s Gemini documentation: a token is about 4 characters, and 100 tokens cover roughly 60–80 English words; the rule is given for English, so do not apply it mechanically to other languages. Each token becomes a string of numbers (a vector, see embedding), and the Transformer network, introduced in “Attention Is All You Need” (Vaswani et al., 2017), weighs through its attention mechanism how much each token matters to all the others.

Generation is a simple loop: the model picks the next token, appends it to the text and repeats. The answer reads as if it made sense because the choices rest on patterns learned in training, not because the model checks facts.

Training has two stages. The first, pre-training, exposes the model to public text, books and code, with the task of predicting the next token. The second tunes the model with examples of good answers and human feedback, the method described for InstructGPT (Ouyang et al., 2022). What stays in the model is patterns of language, facts as they appear in the texts it saw, styles and code, not a verified database, which is why hallucinations occur. Further tuning on your own data is called fine-tuning.

Context window and knowledge cutoff

Anthropic’s documentation defines the context window as all the text the model can reference when generating a response, including the response itself: a “working memory”, distinct from the data it was trained on. Instructions, the conversation, attached documents and the answer all count.

As of 18 November 2026, current Claude models have a 1-million-token window (other Claude models, 200,000) and Gemini has 1,048,576 tokens. More context is not automatically better: Anthropic’s documentation notes that as the token count grows, accuracy and recall degrade. That is why RAG selects only the relevant passages instead of pasting the whole archive into the request.

The knowledge cutoff is the point up to which the model saw text in training. For recent facts, applications add web search or other tools.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

LLM vs chatbot vs AI agent

The LLM is the model: it takes text in and returns text, acting on nothing by itself. The chatbot is the conversation application built on top of it (or on scripts written by people, in classic chatbots). The AI agent is a system built around an LLM that receives a goal, splits it into steps and calls tools: email, database, API.

The same model can play all three roles in a company. On a supplier email, the LLM extracts the invoice fields; as a chatbot it answers a client’s “where is my order?”; as an agent it checks the ERP and drafts the reply for approval.

What an LLM means for a small company: uses, limits, AI Act

The uses with a clear return are language tasks: drafting, summarizing, translating, pulling data out of documents, answering from company procedures through RAG. The rules of sound assembly: answers anchored in your own documents, a human in the loop where stakes are real, and sensitive data only through business tiers with contractual guarantees.

Under the AI Act (Regulation (EU) 2024/1689), the company that builds the model is a provider of a general-purpose AI model, with obligations applying from 2 August 2025. A company that merely uses ChatGPT or Claude at work is not that provider, but the regulation also reaches those who use AI systems, including through AI literacy measures (Article 4, applicable from 2 February 2025; the text was amended by the Digital Omnibus). Details are on the AI Act page.

Frequently asked questions

What does LLM mean?

LLM stands for Large Language Model. It is an artificial intelligence model trained on large amounts of text that generates language by continuing the text it receives, one token after another. ChatGPT, Claude and Gemini run on such models.

Is ChatGPT an LLM?

Not exactly. ChatGPT is the OpenAI application you talk to; the LLM is the GPT model underneath. Likewise Claude.ai is the application and Claude the model, and the Gemini app runs on Gemini models. The application adds history, tools and rules on top of the model.

What does an LLM learn during training?

It learns statistical patterns of language: how words connect, facts as they appear in the texts it saw, styles and code. It does not store a checkable database, which is why it can state false things confidently. For exact facts, the model is connected to sources, for example through RAG.

What is an LLM’s context window?

It is the maximum number of tokens a request can hold, the answer included. For current Claude and Gemini models it is about 1 million tokens (vendor documentation, 18 November 2026). As it fills, accuracy and recall of information degrade.

How does an LLM differ from a classic chatbot?

The classic chatbot follows scripts written by people and spots keywords; an LLM understands free phrasing and generates new answers. The flip side: it can say unplanned things, so a serious implementation anchors it in controlled content.

Is it safe to use LLMs with our customers’ data?

With the right editions, yes. Anthropic states that by default it does not train on data from its commercial products (Claude for business, the API), and the major providers offer similar guarantees in business contracts, to be read, not assumed. The real risk: employees pasting confidential data into free personal accounts.