# What is a large language model (LLM)?

> A large language model is an AI model that understands and generates language. How LLMs work, what they do well, where their limits are, with an example.

Source: https://akaia-platform.de/en/glossary/large-language-model
Language: en

---

AI basics

## What is a large language model (LLM)?

A large language model (LLM) is an AI model trained on very large amounts of text that understands and generates language by predicting, token by token, the most likely next piece of text.

Also: LLM · Language model · Foundation model

Large language models are the core of today’s AI chats and AI agents. They are trained on huge amounts of text and learn statistical patterns of language along the way: grammar, facts, style and the relationships between concepts.

### How an LLM works

An LLM splits text into [tokens](https://akaia-platform.de/en/glossary/token), small building blocks of text. For every answer it calculates which token is most likely to come next, appends it and repeats. Most models are based on the transformer architecture, which captures how the words in a text relate to each other. How much text a model can take into account at once is set by its [context window](https://akaia-platform.de/en/glossary/context-window).

### What LLMs do well

-   Write, summarise, translate and rephrase text
-   Answer questions about documents when those documents are provided
-   Explain and write code
-   Act as the control centre of [AI agents](https://akaia-platform.de/en/glossary/ai-agent), choosing tools and planning steps

### Limits

LLMs only know what was in their training data or what they are given in the conversation. They can produce convincing-sounding mistakes ([hallucinations](https://akaia-platform.de/en/glossary/hallucination)). For company knowledge they are therefore combined with search ([RAG](https://akaia-platform.de/en/glossary/rag)). Models differ in quality, price and origin. Some are freely available as open-weight models, others only through their maker’s API.

### Example

You attach the ten-page minutes of the last management meeting and write: “List every decision with owner and deadline.” The model finds seven decisions, matches names and dates and returns a table. Two deadlines appear in the minutes only as “after the trade fair”; the model copies them as written, and you fill in the dates yourself.

### Sources

-   [Vaswani et al. (2017): Attention Is All You Need](https://arxiv.org/abs/1706.03762)

### How AKAIA uses it

In the AKAIA chat you pick the language model per chat, for example Claude, Gemini, DeepSeek or Qwen, and can switch mid-conversation. All models are processed in the EU, and training on your data is contractually excluded. Admins decide which models your team sees.

-   **[Models](https://akaia-platform.de/en/models)**

    Every model with location and context.

-   **[AI chat](https://akaia-platform.de/en/chat)**

    Every model processed in the EU.

Glossary

### Related terms

Terms that often come up together.

-   ### [Token](https://akaia-platform.de/en/glossary/token)

    Tokens

    A token is a small piece of text, such as a word, part of a word or a punctuation mark, into which a language model splits text before processing it; context windows and prices are measured in tokens.

-   ### [Context window](https://akaia-platform.de/en/glossary/context-window)

    Context length

    The context window is the maximum amount of text, measured in tokens, that a language model can process in one pass, including instructions, conversation history, attachments and the answer it generates.

-   ### [Open-weight models](https://akaia-platform.de/en/glossary/open-weight-models)

    Open-weight LLMs

    Open-weight models are AI language models whose trained weights are published, so anyone can download them under the licence terms, run them on their own or rented infrastructure and adapt them.

-   ### [Hallucination (AI)](https://akaia-platform.de/en/glossary/hallucination)

    AI hallucination

    A hallucination is a statement from an AI model that sounds plausible and confident but is false or made up, such as a non-existent source, a wrong date or an invented figure.

-   ### [Fine-tuning](https://akaia-platform.de/en/glossary/fine-tuning)

    Model fine-tuning

    Fine-tuning is the targeted further training of a pre-trained language model on your own example data so that it handles a specific task, style or format more reliably.

#### Related pages

-   **[Marketing](https://akaia-platform.de/en/use-cases/marketing)**

    Use cases

-   **[Management](https://akaia-platform.de/en/use-cases/management)**

    Use cases

Next step

### From definition to practice.

Search, chat, agents and tasks in one platform. Hosted in Frankfurt, every model processed in the EU.

[Get started](https://app.alphos-services.com/register) · [Talk to sales](https://akaia-platform.de/en/contact)

No per-seat fee · From €399 a month · Cancel monthly
