# Large Language Model

> What a large language model is, how transformers and training work, what LLMs cannot do, and why it matters for AI search.

Canonical: https://scaplet.com/glossary/large-language-model

Glossary Glossary · AI Search

What a large language model is, how transformers and training work, what LLMs cannot do, and why it matters for AI search.

3 min

read

6

sources

Oct 24, 2026

updated

Scaplet Editorial Team

author

In one line

A large language model (LLM) is a neural network trained on large amounts of text to estimate which token comes next in a sequence. Google's course calls the transformer the most successful and widely used architecture for building them. Because an LLM generates text from learned patterns, it can write, summarize and translate, but its predictions often contain mistakes.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Flarge-language-model%20(%22Large%20Language%20Model%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Flarge-language-model%20(%22Large%20Language%20Model%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Flarge-language-model%20(%22Large%20Language%20Model%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Flarge-language-model%20(%22Large%20Language%20Model%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

On this page

## 5 parts, 3 minutes.

1. [What an LLM is 01](#what-an-llm-is)
2. [How an LLM is built and used 02](#how-an-llm-is-built-and-used)
3. [What LLMs do well and where they fail 03](#what-llms-do-well-and-where-they-fail)
4. [Why LLMs matter for search and content 04](#why-llms-matter-for-search-and-content)
5. [Common mistakes 05](#common-mistakes)

_01_Explained

## What an LLM is

Google's machine learning course describes language models as estimating the probability of a token or sequence of [tokens](/glossary/tokenization) occurring within a longer sequence. Tokens, it says, represent words, subwords, or characters. Google's course says LLMs make better predictions than earlier models because they contain far more parameters and gather far more context.

The transformer was introduced in the 2017 paper "Attention Is All You Need". Its authors describe a network architecture "based solely on attention mechanisms, dispensing with recurrence and convolutions entirely". Google's course says LLMs can evaluate the whole context at once.

_02_How it works

## How an LLM is built and used

1. 01

### Pretraining

Google's course says the first phase of training is usually unsupervised learning on a very large text collection, where the model learns to predict tokens that were hidden from the training data.
2. 02

### Fine-tuning

Further training on examples specific to a task adapts the model to that task. Google's course says a fine-tuned model has the same number of parameters as the foundation model, and that distillation creates a smaller version.
3. 03

### Prompting

At use time you supply a prompt. Google's course says [prompt engineering](/glossary/prompt-engineering) lets users shape the output by giving instructions or examples in the prompt, without changing the model's parameters.
4. 04

### Optional retrieval

A product can add search or document retrieval around the model. That pattern is [retrieval-augmented generation](/glossary/retrieval-augmented-generation).

_03_At a glance

## What LLMs do well and where they fail

Task

### Generating text

Usually works

Clear, easy-to-understand text for a wide variety of target audiences

Watch for

Predictions often contain mistakes ([hallucination](/glossary/ai-hallucination))

Task

### Summarizing and translating

Usually works

Google's course lists both as tasks a language model can perform

Watch for

Check the output against the source text

Task

### Tasks outside the training

Usually works

Some researchers claim LLMs can predict for input they were not explicitly trained on

Watch for

Other researchers have refuted that claim, so test on your own examples

_04_Explained

## Why LLMs matter for search and content

Some [AI search](/glossary/ai-search) products put an LLM on top of web results. Google says pages need to be indexed and eligible to appear in Search with a [snippet](/glossary/snippet) to be shown as supporting links in [AI Overviews](/glossary/ai-overviews) and AI Mode, and that there are no additional requirements or special optimizations for those features. See [Google AI Overviews](/ai-search/google-ai-overviews) and [ChatGPT search](/ai-search/chatgpt) for what each operator documents.

Practical advice, not a documented ranking rule: write pages with a clear answer near the top, specific facts and named sources, because those are easy for a person or a model to quote accurately.

_05_Checklist

## Common mistakes

First_1_
Treating an LLM answer as a lookup. Google's course says LLMs hallucinate, meaning their predictions often contain mistakes.

Next_1_
Skipping a fact check on names, numbers and quotes in generated text.

Then_1_
Assuming a bigger model is always better for your task. Google's course says more parameters generally predict better but cost more compute, so test on your own examples.

The Scaplet audit includes AI visibility in ChatGPT, Perplexity, Gemini and Google AI Overviews. Start with the free audit at [/site-audit](/site-audit).

Questions

## Asked a lot.

2 questions people ask next, answered from the sources on this page.

_01_ Can an LLM access the internet?

Not by itself. An LLM predicts tokens from patterns learned in training. A product can put search or document retrieval around it, which is what [retrieval-augmented generation](/glossary/retrieval-augmented-generation) describes.

_02_ Can I stop my content being used for training?

OpenAI documents GPTBot as the crawler for content that may be used in training its generative AI foundation models, and you can disallow it in robots.txt. OpenAI says each of its crawler settings is independent, so you can allow OAI-SearchBot and disallow GPTBot. See the [GPTBot](/ai-crawlers/gptbot) page.

Sources · 6

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com
- arxiv.org
- openai.com

1. 01 [Introduction to Large Language Models - Machine Learning Crash Course](https://developers.google.com/machine-learning/crash-course/llm) developers.google.com · checked 2026-10-24
2. 02 [LLMs: What's a large language model? - Machine Learning Crash Course](https://developers.google.com/machine-learning/crash-course/llm/transformers) developers.google.com · checked 2026-10-24
3. 03 [LLMs: Fine-tuning, distillation, and prompt engineering](https://developers.google.com/machine-learning/crash-course/llm/tuning) developers.google.com · checked 2026-10-24
4. 04 [Attention Is All You Need - arXiv](https://arxiv.org/abs/1706.03762) arxiv.org · checked 2026-10-24
5. 05 [AI features and your website - Google Search Central](https://developers.google.com/search/docs/appearance/ai-features) developers.google.com · checked 2026-10-24
6. 06 [Overview of OpenAI crawlers](https://developers.openai.com/api/docs/bots) developers.openai.com · checked 2026-10-24

## Keep learning

[All glossary](/glossary)

[Learn AI Agents AI search](/glossary/ai-agents) [Related Retrieval-Augmented Generation AI search](/glossary/retrieval-augmented-generation) [Read next AI Hallucination AI search](/glossary/ai-hallucination) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[Knowledge Panel](/glossary/knowledge-panel) [Landing page](/glossary/landing-page) [Largest Contentful Paint](/glossary/largest-contentful-paint) [Last touch attribution](/glossary/last-touch-attribution)

More in AI search
[AI visibility](/glossary/ai-visibility) [Answer engine optimization](/glossary/answer-engine-optimization) [ChatGPT search](/glossary/chatgpt-search) [Chunking](/glossary/chunking) [Context window](/glossary/context-window) [Conversational AI](/glossary/conversational-ai) [Embeddings](/glossary/embeddings) [Extended thinking](/glossary/extended-thinking) [Fine-tuning](/glossary/fine-tuning) [Generative engine optimization](/glossary/generative-engine-optimization) [Grounding](/glossary/grounding) [Knowledge cutoff](/glossary/knowledge-cutoff) [Large Language Model](/glossary/large-language-model) [Model Context Protocol](/glossary/model-context-protocol) [Multimodal AI](/glossary/multimodal-ai) [Prompt caching](/glossary/prompt-caching) [Prompt engineering](/glossary/prompt-engineering) [Prompt tracking](/glossary/prompt-tracking) [Reranking](/glossary/reranking) [Retrieval-Augmented Generation](/glossary/retrieval-augmented-generation) [Semantic Search](/glossary/semantic-search) [Structured outputs](/glossary/structured-outputs) [System prompt](/glossary/system-prompt) [Temperature](/glossary/temperature)

Terms on this page
[Tokenization](/glossary/tokenization) [Prompt engineering](/glossary/prompt-engineering) [Retrieval-Augmented Generation](/glossary/retrieval-augmented-generation) [AI Hallucination](/glossary/ai-hallucination) [AI search](/glossary/ai-search) [Search snippet](/glossary/snippet) [AI Overviews](/glossary/ai-overviews)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
