AI Models

New: Upgrade your Bot with Cloudflare MarkDown Feature

Published
Feb 15, 2026
Duration
3:19
Module
AI Models
Click to load the YouTube player

Video summary

Companion notes

Cloudflare now serves Markdown to agents, and the creator measured a 94% token drop in production.

## What changed Cloudflare rolled out a feature that converts websites into Markdown at the edge, specifically aimed at agents that fetch pages. The headline claim is an 80% reduction in token usage. The creator's own agent returned 94% on a test against the Cloudflare blog, beating the advertised figure. For any pipeline paying per-token to an LLM, that is the single biggest cost lever introduced this cycle.

## Why it matters for agents Agents do not need rendered HTML — navigation, scripts, styling, and markup all burn context window for zero signal. Serving Markdown strips the noise before the tokens are ever counted. The creator notes Cloudflare sits in front of more than half the internet, so the opt-in base is large even if adoption is uneven.

## Caveat: it's opt-in per site The feature is not on by default — site owners must enable it. Recently fetched sites including Anthropic, OpenAI, Versell, GitHub, CoinDesk, TechCrunch, Verge, Hugging Face all still return HTML. Treat it as a moving rollout, not a universal win, and design fallbacks that detect HTML responses and re-convert client-side if needed.

## The implementation No new SDK, no vendor lock-in. The creator's own bot already had an HTML-to-Markdown tool inside its existing web fetch path, which proved Claude-based agents can self-modify. A single prompt — read this and implement markdown for future sites — was enough to ship the upgrade. If you are already on Cloudflare, the change happens on their side, not yours.

## The cost math The creator's stack runs around $18 a day across the agent and coding workloads. An 80% reduction does not map to 80% off the bill (output tokens, embeddings, and non-fetch steps still cost), but on a fetch-heavy agent the saving is material enough to justify the 10-minute migration.

## Bottom line Turn it on where you control the Cloudflare zone, and add a Markdown-conversion fallback for sites that have not enabled it yet.

Watch on YouTube

Prefer the native player? Open it on YouTube: https://www.youtube.com/watch?v=yd8uAdZpFBQ