Tom Bruno / Writing

Research

On the median African web page, 98% of the HTML an AI agent reads is markup, not text

The Reading Bill: what an AI agent pays, in tokens, to read the websites people in Africa use, and what changes the bill.

By Tom Bruno · (Pacific time) · Original research

On the median page, visible text is 2.2% of the tokens in the served HTML; the rest is markup. To find a price, a phone number or a date, Claude Fable 5.2 used 156,725 tokens per correct answer reading served HTML and 10,203 reading the browser's accessibility tree, with no measurable difference in accuracy. The platform that serves a page and the format an agent reads it in move the bill far more than the page's language or country: platform explains about 6 times as much of the variation in markup as country, and the median Wix page here runs to 351,807 tokens.

AI agents now browse, compare and act for people, and every page an agent opens is paid for in tokens. Google's Tasks in Gemini, Meta's Muse, OpenAI's dots, Anthropic's Claude Duet and SpaceXSI's Grok Bot all launched for people in 2026; this study runs none of them and measures what any agent pays to read a page. It measured 100,351 pages on 48,735 local websites in 18 African countries from the HTTP Archive, opened 4,431 pages in a real browser from Johannesburg, built the same page four ways in WordPress, and collected 11,143 answers from five AI models (Claude Fable 5.2, GPT-6.2 Astra, Gemini 4 Neon, Grok 4.7 and DeepSeek V4.1 Flash) to 735 questions about real pages.

Read the full report (PDF, 13 pages) Data and code on GitHub

2.2%On the median page, visible text is 2.2% of the served HTML an agent reads; the rest is markup.
40% → 2%Language adds 40% to the visible text but 17% to the agent's bill on the accessibility tree and 2% on raw HTML.
6xPlatform explains about 6 times as much markup variation as country. The median Wix page is 351,807 tokens.
15xRaw HTML takes about 15 times the tokens per correct answer of the accessibility tree, with no gain in accuracy.
21%Cloudflare's token rule, characters divided by four, applied to African text undercounts by 21%; on English it overcounts by 18%.
16.3%One African page in six returned nothing usable to the crawler; markdown on request is almost absent everywhere (1.9%).

On every country's median page, visible text is a small part of the bill

The median served page runs from 8,894 tokens in Nigeria to 34,828 in Morocco. On the median page, visible text is under 3% of the total in every country, and comparator sites in India, Brazil and the United States look similar (1.8%).

Median served HTML per page, tokens; gold is median visible text, brackets the median share
010K20K30KMorocco34,828 (2.2%)South Africa34,218 (1.9%)Egypt31,644 (1.5%)Namibia30,234 (2.1%)Togo28,737 (2.6%)Botswana27,476 (2.2%)Senegal27,131 (2.6%)Zimbabwe26,122 (2.0%)Mozambique23,752 (2.3%)Uganda21,294 (2.5%)Angola20,546 (2.5%)Rwanda18,573 (2.2%)Ivory Coast17,296 (2.7%)Tanzania15,436 (2.7%)Kenya14,134 (2.0%)Ethiopia11,973 (1.7%)Ghana11,492 (1.9%)Nigeria8,894 (2.0%)

HTTP Archive mobile crawl of 1 November 2026, 100,351 pages, o200k_base tokenizer. In 11.7% of pages the served HTML carries no visible text; leaving them out, the median share is 2.6%.

How an agent reads a page changes the bill eighteenfold

On 2,472 randomly drawn African pages read from Johannesburg, the median page is 24,529 tokens as served HTML and 38,275 once scripts run. The browser's accessibility tree carries the visible text and its structure in 2,130 tokens. Location barely matters: 96.7% of pages rechecked from the United States returned the same outcome.

Median tokens per page by format, 2,472 readable pages
010,00020,00030,00040,000Rendered HTML38,275Served HTML24,529Markdown, MarkItDown2,681Accessibility tree2,130Visible text only702Markdown, Trafilatura368

Playwright Chromium from Google Cloud africa-south1, 29 November 2026 (UTC).

Language raises the agent's bill far less than it raises the words

On 80 verified bilingual pairs from the same websites, the local language page needs 1.40 times the visible text tokens of its English twin, yet the agent's bill rises only 1.17 times on the accessibility tree and 1.02 times on raw HTML. The two versions share most of their markup, and markup is most of the page. The result holds without the 16 pairs identified by domain name as adult, gambling or piracy sites (1.16).

Local language page relative to its English twin, median with 95% interval
Visible text tokensAgent bill, accessibility treeAgent bill, raw HTML
1x1.1x1.2x1.3x1.4x1.5x1.6x1.25x registered thresholdAll verified pairs (80)Visible text tokens1.40xAgent bill, accessibility tree1.17xAgent bill, raw HTML1.02xWithout adult, gambling and piracy sites (64)Visible text tokens1.41xAgent bill, accessibility tree1.16xAgent bill, raw HTML1.02x

Bootstrap intervals over pairs. The registered hypothesis, at least 1.25 times, is rejected on the primary format.

Platform explains more of the markup than country, and one theme change halved a page

Platform explains 8.3% of the variance in accessibility tree markup and country 1.4%; most variation is page to page. The median Wix page is 351,807 tokens, and 92% of Wix pages exceed 200,000. In a controlled test, moving one Elementor page from WordPress's default theme to the Hello Elementor theme cut it from 23,113 to 11,242 tokens, while on the block editor build, switching from English to Swahili added four tokens of markup.

Median served HTML per page, selected platforms, 18 countries
0100K200K300K400KWix351,807Shopify138,804WooCommerce83,639Elementor68,398WordPress57,642Joomla31,441Webflow25,222Drupal21,715Odoo10,166No platform detected7,822

HTTP Archive technology detection. A page can run more than one technology.

One page, four builds: served HTML tokens
010K20K30KWooCommerce product page*29,052 English, 29,135 SwahiliElementor, default theme23,113 English, 23,176 SwahiliBlock editor, default theme19,778 English, 19,839 SwahiliElementor, Hello theme11,242 English, 11,322 Swahili

WordPress Playground: WordPress 7.1.5, Twenty Twenty-Five, Elementor 4.4.2 with Hello Elementor 3.5.2, WooCommerce 11.3.1. *The WooCommerce build is a single product page with different content.

The accessibility tree answers as well as raw HTML with about a fifteenth of the tokens

All five models answered the same 149 questions, drawn at random by fact type from the 735: a price, a business phone number or an article date, with answer keys taken from each page's own markup. The accessibility tree answered 83.8% correctly and MarkItDown 84.4%. Within the same model, raw HTML was no more accurate and took 15 to 20 times the tokens per correct answer. Trafilatura, which keeps only the main article, answered 20.5%.

Same questions, six ways of reading the page
Facts answered correctlyTokens spent per correct answer0%25%50%75%100%050K100K150KAccessibility tree84%7,972Markdown, MarkItDown84%10,752Markdown, Trafilatura21%9,172Served HTML, DeepSeek84%110,300Rendered HTML, DeepSeek86%143,131Served HTML, Claude82%156,725

Lean formats: five models pooled. Raw HTML: DeepSeek V4.1 Flash and Claude Fable 5.2. 95% Wilson intervals.

Cloudflare's token rule, applied to page text, overcounts English and undercounts African languages

Cloudflare's Markdown for Agents returns an x-markdown-tokens header. On 62 of 62 English cloudflare.com pages that returned markdown, it equals the number of characters divided by four, rounded up. Applied to page text, that rule overcounts English by 18% and undercounts African languages by 21%; for Amharic the real count is 5.8 times the estimate. The header was observed on English pages only, so these figures apply the rule to African text.

Characters divided by four against real o200k_base tokens, median error on page text
-80%-40%0+40%estimate below the real billestimate aboveAmharic (233)-83%Egyptian Arabic (293)-31%isiZulu (41)-25%Kinyarwanda (461)-21%Hausa (85)-21%Arabic (12,751)-20%Swahili (810)-19%Somali (289)-18%Afrikaans (107)-13%Portuguese (13,565)+1%French (49,212)+1%English (119,287)+18%

HTTP Archive visible text by GlotLID language. Bytes divided by four gives the same 39 point gap.

Four of six registered hypotheses hold; language costs less than expected, and agent-ready serving is rare everywhere

Four of the six registered hypotheses hold: markup outweighs language (H1), platform outweighs country (H3), the cheapest format is not the most accurate (H4), and the estimate undercounts African languages far more than English (H5). Two were rejected: language does not add 1.25 times to the bill (H2), and Africa does not lag on agent-ready serving, because almost no site offers it (H6). The registration was filed after the analyses, on the Open Science Framework, and the report lists every change from the original plan.

About this study

This is personal research by Tom Bruno using public data and public models only, with no Google internal data. Gemini 4 Neon was treated on the same terms as Claude Fable 5.2, GPT-6.2 Astra, Grok 4.7 and DeepSeek V4.1 Flash. The study measures pages, not tokenizer design.

The crawler. If your logs show a mobile Chrome user agent ending in ReadingBillResearch/1.0 (+https://tbrunoh.github.io/reading-bill/), it came from this study. It opened each sampled page from Google Cloud in Johannesburg, and 522 of them again from the United States, on 29 November 2026 (UTC). It obeyed robots.txt rules for its own name and for all crawlers, and it is not running now. Questions about the crawler: Contact

Cite as: Tom Bruno (2026). The Reading Bill: On the median African web page, 98% of the HTML an AI agent reads is markup. https://tbrunoh.github.io/reading-bill/. Data and code: doi:10.5281/zenodo.24643514

Sources

  1. HTTP Archive, mobile crawl of 1 November 2026
  2. Chrome UX Report, country tables, October 2026
  3. Cloudflare, Markdown for Agents
  4. GlotLID language identification
  5. Ahia and colleagues, Do All Languages Cost the Same?
  6. Camara, Inherited Weights: the tokenization premium for the Global South
  7. Somide, The African Language Tax
  8. Stagehand, HTML, markdown and the accessibility tree
  9. From User Interface to Agent Interface
  10. MCP, RAG, NLWeb and HTML for agents

Read next: The ACE tokenizer audit: Eight of 59 African language varieties cost at most 1.5 times English on their best released tokenizer