Skip to content
← Oleksii Turovskyi

llms-full.txt: What Goes in It and What It Costs in Tokens

· 13 min read

Listen to this article · 14 min

AI-generated voice

llms-full.txt is a single Markdown file that holds the full text of a site's pages, where llms.txt only lists them. The llmstxt.org specification does not mention it. On 25 November 2026 the file on alexturik.com measured 804,218 bytes and 188,851 tokens in the o200k_base encoding.

TL;DR

  • llms-full.txt is one Markdown file with the full text of a site's pages. llms.txt is an index of links, and the llmstxt.org specification describes llms.txt but does not mention llms-full.txt.
  • On alexturik.com the file grew from 711,141 bytes on 29 October 2026 to 804,218 bytes on 25 November, with no new pages or articles.
  • The eight Ukrainian translations are 24.2% of the words but 31.1% (o200k_base) to 36.6% (cl100k_base) of the tokens, so count tokens, not words or bytes.
  • I set no size cap, and I did not measure whether any AI (artificial intelligence) crawler fetches the file or what a model does with it.

What is llms-full.txt?

llms-full.txt is a file at a site's root that puts the text of many pages into one Markdown document, so a tool can read a whole site in one request without following links. According to Mintlify's documentation, its generated file combines a documentation site into one file for AI tools to use as context. In Mintlify's file, each page appears as its title, source URL, description and full Markdown content.

The llmstxt.org specification, published by Jeremy Howard on 3 September 2024, describes llms.txt and does not mention llms-full.txt, and I found no other specification for its layout. Its premise is the limit a full-text file runs into: context windows are still too small for most websites in their entirety. Mintlify generates the file for the sites it hosts, and docs.x.com serves one that its agent resources page describes as "Complete docs in a single file for full-context loading". On 25 November 2026 I read every external page cited here.

What is the difference between llms.txt and llms-full.txt?

llms.txt tells a reader where the pages are, and llms-full.txt hands over what is on them. The table sets the two side by side, with sizes from alexturik.com on 25 November 2026 and tokens counted in o200k_base. The full file is about 35 times the index in bytes and about 32 times in tokens.

llms.txt llms-full.txt
Holds Links with titles and descriptions The full Markdown of every page, one after another
Defined by The llmstxt.org specification Not in that specification; platforms such as Mintlify generate it
Reader's path Fetch the index, then each page it needs Fetch once
Size on alexturik.com 23,132 bytes, 5,904 tokens 804,218 bytes, 188,851 tokens
Grows with The number of listed pages Every word on every page

Mintlify treats the sizes differently. According to its documentation, generated llms.txt index files cannot exceed 100,000 characters, and a larger index is split into files under /_llms/. That limit does not apply to llms-full.txt. When a generated llms-full.txt is larger than 100 KB (kilobytes), Mintlify adds a note below the site title saying the file may be truncated and pointing to llms.txt as an index.

What is inside the llms-full.txt on alexturik.com?

On 25 November 2026 I fetched alexturik.com/llms-full.txt with curl and measured the saved copy. I counted bytes of UTF-8 text, words split on whitespace and tokens from tiktoken 0.12.0 in two OpenAI encodings, o200k_base and cl100k_base. The same script reproduces exactly the figures I recorded on 29 October 2026 from an earlier copy.

In 27 days the file grew by 93,077 bytes (13.1%) and 22,737 o200k_base tokens (13.7%). The count of documents stayed at 20 pages, 15 English articles and 8 Ukrainian articles. The table shows both copies.

Measure 29 October 2026 25 November 2026
Bytes 711,141 804,218
Words 85,215 96,322
Tokens, o200k_base 166,114 188,851
Tokens, cl100k_base 196,826 222,707

Edits and rewrites of existing documents account for the growth. The llms.txt in Next.js article quotes 766,046 bytes for 24 November, measured before the latest rewrites went live. The next table splits the 25 November copy into four parts.

Part Documents Bytes Words Tokens, o200k_base Tokens, cl100k_base
Index (the llms.txt text) 1 23,132 2,463 5,904 6,339
Pages 20 176,744 21,315 40,426 50,669
English articles 15 341,114 49,269 83,747 84,096
Ukrainian articles 8 263,228 23,275 58,776 81,605
Whole file 44 804,218 96,322 188,851 222,707

The index that opens the file is the same text that /llms.txt serves. It takes 23,132 bytes and 3.1% of the o200k_base tokens. The parts add up to two more tokens than the whole file in each encoding, because I tokenized each part separately. The largest article is the Ukrainian crawler list at 67,711 bytes, against 45,798 for its English original, and that gap mixes the cost of Cyrillic bytes with any difference in wording.

The generator, src/app/llms-full.txt/route.ts in the site's repository, decides what goes in:

  • Scope: every article and every page that carries prose. Plugin and extension landing pages stay out as marketing copy with a different intent.
  • Languages: English and Ukrainian, each under its own heading, because the index and the sitemap list both.
  • Shape: the llms.txt index first, then the pages, then the articles with their front matter kept, joined by horizontal rules and served as text/plain with X-Robots-Tag: noindex, nofollow.

What does the file look like?

Each part starts at a heading the generator writes. In the 25 November copy, grep finds the three headings on the lines below.

$ grep -n '^# Full text' llms-full.txt
133:# Full text: pages
3025:# Full text: articles
7435:# Full text: articles (Ukrainian)

An article keeps its own front matter and title. This llms-full.txt example is the start of the first English article, copied from the same file.

# Full text: articles
 
---
 
---
title: "OAI-SearchBot vs GPTBot vs ChatGPT-User: Which to Block"
description: "OpenAI documents four crawlers, and only two have a robots.txt control. See what each does, who blocks them in 59 real robots.txt files, and how to verify IPs."
date: 2026-10-18
tags: [ai-search, robots-txt, aeo, measurement]
---
 
# OAI-SearchBot vs GPTBot vs ChatGPT-User: Which to Block

Why does the Ukrainian half cost more tokens?

The eight Ukrainian translations are 24.2% of the words in the file and 32.7% of its bytes. They are 31.1% of the o200k_base tokens and 36.6% of the cl100k_base tokens. Per whitespace-separated word, they cost more than the English articles in both encodings, as the table shows.

Tokens per word English articles Ukrainian articles
o200k_base 1.70 2.53
cl100k_base 1.71 3.51

The gap shows up first in bytes. According to RFC (Request for Comments) 3629, UTF-8 stores code points from U+0080 to U+07FF in two bytes. The Cyrillic block, U+0400 to U+04FF, falls in that range, so a Cyrillic letter takes two bytes where a basic Latin letter takes one.

Tokens show it differently. In this file, per word, Ukrainian costs about 1.5 times as many tokens as English in o200k_base and about 2 times as many in cl100k_base. Researchers have documented this kind of gap. A NeurIPS 2023 study found that the same text translated into different languages can have drastically different tokenization lengths, up to 15 times in some cases, even for tokenizers trained for multilingual support. I read only its abstract, so I cite it for the effect, not for any Ukrainian figure.

My per-word figures are not like for like. Whitespace words are a crude unit, and seven of the 15 English articles have no Ukrainian version. Bytes mislead too: the Ukrainian half is 32.7% of the bytes, more than its 31.1% share of o200k_base tokens and less than its 36.6% share of cl100k_base tokens. Count tokens before deciding what goes into a full-text file.

How big should llms-full.txt be?

There is no standard size for llms-full.txt, and no source I read recommends one. The only figure I found for it is a warning threshold: Mintlify adds a truncation note above 100 KB. The docs.x.com file opens with a note of its own: "This file is very large and may be truncated. For an index of this content, please refer to https://docs.x.com/llms.txt instead." Both keep the full file whole and split the index: Mintlify moves page links into files under /_llms/ past 100,000 characters, and the docs.x.com llms.txt links nested indexes for its major areas.

Two arguments favor a cap. A reader with a limit may truncate the file, as both notes warn. And a reader that loads the whole file spends its context on every page, even when the question needs one. Three arguments favor leaving the file whole. Any cut-off is a guess, because no source I read says where a reader stops. A cap would have to cut articles, and then the file is no longer the full text. And the index at the top gives a truncating reader the whole map in the first 3.1% of the file's o200k_base tokens.

My decision is no cap, the index first and a manual check in tokens. The generator's comment gives the reason: any cap would be a guess, because the reader is a model with a context window, not a browser on a slow connection. Nothing measures the size automatically: the end-to-end spec for the route checks status, headers and which documents are in. The order is index, pages, English articles, Ukrainian articles, so a reader that cuts the file from the end loses the translations first.

If you must pick a limit, take it from the reader you serve, not from a standard. A tool with a documented limit gets a file under it, and an unknown reader gets the whole file with the index first.

How do you generate llms-full.txt?

A documentation platform can host the file for you. Mintlify says it generates one at the project root and also serves it at /.well-known/llms-full.txt. A custom file of the same name overrides the generated one. On your own site, a route handler assembles it, and on WordPress the free plugins I tested did not generate it.

On Next.js I use one route handler. It returns the llms.txt index, then a heading and the Markdown of each group of pages, joined by a horizontal rule. The index value comes from the function that also builds /llms.txt, and the three lists hold Markdown strings loaded from the site's content. The llms.txt in Next.js article covers the llms.txt route handler, its response headers and a Next.js 16 build error. Here is the assembly from my handler.

src/app/llms-full.txt/route.ts (excerpt)
const SEPARATOR = '\n\n---\n\n';
 
const body = [
  index,
  '# Full text: pages',
  ...pages,
  '# Full text: articles',
  ...articles,
  '# Full text: articles (Ukrainian)',
  ...ukArticles,
].join(SEPARATOR);
 
return new Response(body, { status: 200, headers: LLMS_HEADERS });

On WordPress, the free versions I tested did not generate the file. In my plugin comparison, Yoast SEO 28.5 and All in One SEO (AIOSEO) 5.0.2 redirected /llms-full.txt to an HTML (HyperText Markup Language) page, and Rank Math 1.0.279 returned a 404 error. AIOSEO's guide to llms-full.txt says the plugin generates both files, and its llms.txt generator feature page says llms-full.txt files need a Pro account. I did not test a paid tier.

How can you measure the size of yours?

Count bytes, words and tokens with a short script. It makes the same calls as the script behind the figures in this article. Save it as count.py.

count.py
import sys
import tiktoken
 
text = open(sys.argv[1], encoding="utf-8").read()
print("bytes", len(text.encode()))
print("words", len(text.split()))
for name in ("o200k_base", "cl100k_base"):
    enc = tiktoken.get_encoding(name)
    # disallowed_special=() counts special-token strings as plain text
    print(name, len(enc.encode(text, disallowed_special=())))

Then fetch the file, replacing the address with your site's, and run the script with the tiktoken version I used.

curl -s https://alexturik.com/llms-full.txt -o llms-full.txt
uv run --no-project --with tiktoken==0.12.0 python -I count.py llms-full.txt

Limits of this measurement

  • Two snapshots 27 days apart on one site show that edits and rewrites alone moved the file by 13.1% in bytes. They are not a growth rate.
  • The shares and per-word figures describe this corpus: one site, English articles and eight Ukrainian translations. They are not constants of either language.
  • Tokens are counted with two OpenAI encodings from tiktoken 0.12.0. I did not measure other vendors' tokenizers, so I give no token counts for other models and no comparison with any model's context window.
  • I did not measure whether any AI crawler fetches /llms-full.txt, because server logs were not available to me, or what a model does with a file this size. I measured no effect on citations, rankings or traffic.
  • Every external page was read on 25 November 2026. Files and documentation change, and the docs.x.com note is quoted as I saw it that day.

FAQ

Is llms.txt a real thing?

Yes, as a published proposal. Jeremy Howard published the llms.txt specification on 3 September 2024, and sites do serve the file. In my adoption scan, 59 of 86 comparable pages ranking for seven English-language queries about AI search sat on a domain serving one on 18 November 2026, up from 46 in August. Presence is not proof that any system reads it.

Should I add llms.txt to my website?

Add it if it costs you little: one plugin setting on WordPress or one route handler on Next.js. Google's documentation says you do not need new machine readable files, AI text files or markup to appear in AI Overviews and AI Mode. I have not measured any effect of the file on citations. Check that /llms.txt returns plain text.

What should be in an llms.txt file?

According to the llmstxt.org specification, the only required part is an H1 with the name of the project or site. After it come, in order, a blockquote with a short summary, then optional Markdown sections without headings, then H2 sections that hold file lists of URLs. A section named Optional is used, by convention, for secondary information.

Do AI crawlers read llms-full.txt?

I do not know, and I did not measure it. Server logs for alexturik.com were not available to me, so I cannot say whether any AI crawler has fetched /llms-full.txt. I also did not test what a model does with its 188,851 tokens in o200k_base. Treat any claim that a named crawler uses the file as unverified until that vendor documents it.

Get new posts

One article every couple of weeks, on AI search and the code behind it. Confirm by email; unsubscribe in one click.