For thirty years, a website had exactly two postures toward a bot: let it in or block it. robots.txt was a request, not a lock. If a crawler ignored it — and plenty do — there was no real recourse short of an IP ban or a lawsuit. That binary is starting to break down. A new mechanism called pay-per-crawl gives publishers a third option: let the bot in, but only if it pays first. The plumbing for that option is, improbably, a status code that has sat unused in the HTTP specification since 1997.
What pay-per-crawl actually is
Pay-per-crawl is a metered access model for web content, aimed squarely at AI crawlers — the bots that fetch pages to train large language models or to answer live queries via retrieval. Instead of a flat "allow" or "disallow" in robots.txt, a site fronted by pay-per-crawl responds to an unrecognized or unpaid crawler with a request for payment. If the crawler (or the company operating it) has an account and agrees to the price, the request is retried with proof of payment attached, and the content is served. If not, the crawler gets a rejection instead of the page.
Cloudflare, which sits in front of a large share of the web as a reverse proxy and bot-management layer, built the first widely deployed version of this. Because it already fingerprints and classifies bot traffic for security purposes, it was well positioned to add a billing step to that pipeline: identify the crawler, check whether it's associated with an AI company, and either wave it through, block it, or ask it to pay, depending on the site owner's settings.
The pitch to publishers is straightforward. Search engines historically crawled a site in exchange for sending it traffic — an implicit trade that justified letting Googlebot in for free. AI crawlers that scrape a page to train a model, or to answer a user's question directly inside a chat interface, often return no traffic at all. The page's value is extracted and the visitor never arrives. Pay-per-crawl reframes that extraction as a transaction with a price attached, rather than something a site either tolerates or blocks outright.
How HTTP 402 fits in
HTTP status codes are how a server tells a client what happened to its request: 200 for success, 404 for not found, 403 for forbidden. Status code 402 was reserved in the original HTTP/1.1 specification under the label "Payment Required," with a note that it was set aside for future use. For nearly three decades, nothing used it. There was no standard way to define what "payment" meant in an HTTP exchange, so browsers and servers alike left it dormant.
Pay-per-crawl activates it. The mechanics are simple enough to describe as a short exchange:
- A crawler requests a page. The server checks whether the request carries valid payment credentials.
- If it doesn't, and the site owner has pay-per-crawl enabled for that content, the server returns
402 Payment Requiredalong with metadata describing the price and how to pay it. - The crawler's operator — an AI company with a funded account on the payment layer — either accepts the price or abandons the request.
- On acceptance, the crawler resends the request with a signed payment token attached.
- The server verifies the token, logs the charge, and returns
200 OKwith the actual content.
The verification step depends on being able to tell crawlers apart reliably — separating a legitimate, self-identified AI agent from something spoofing its user-agent string to dodge the toll. That relies on cryptographic bot verification (signed requests tied to a known operator's identity) rather than the easily-faked User-Agent header the web has leaned on for years. Without that layer, pay-per-crawl is trivially bypassed by any crawler willing to lie about who it is.
Why 402, specifically
The web already had ways to gate content — paywalls, login walls, IP allow-lists. What 402 adds is a machine-readable signal that fits inside the normal request/response cycle a bot already understands. A crawler doesn't need to parse a paywall's HTML or run JavaScript to discover it owes money; the status code itself carries that meaning, the same way 404 carries "not found" without any prose. That's what makes it plausible as a protocol rather than a one-off business feature: any client, not just one company's crawler, can be built to recognize and respond to it.
Why this is surfacing now
The near-term forcing function is a policy change on Cloudflare's platform: starting September 15, 2026, new domains onboarded to Cloudflare will default to blocking AI training crawlers, with paid access offered as the alternative route in rather than an opt-in extra bolted on afterward. That's a meaningful shift in default behavior. Today, a site owner who wants to restrict AI crawling has to actively configure it — write robots.txt rules, turn on bot-blocking features, or negotiate directly with an AI company. After that date, new sites on Cloudflare start from "blocked, unless paid," and the site owner has to actively choose to allow free crawling if they want it.
Defaults matter enormously on the web, because most site owners never touch settings past whatever ships out of the box. A default of "open" produced the web AI companies trained on through the early 2020s: crawlers largely operated under the assumption that anything not explicitly disallowed was fair game, and few robots.txt files anticipated LLM training as a use case worth blocking. Flipping the default for new sites — even just on one platform — changes the shape of what's crawlable going forward, without requiring millions of individual publishers to take action.
It also signals where the infrastructure layer of the web thinks this is heading: not toward every publisher hand-negotiating licensing terms with every AI lab, but toward the reverse-proxy and CDN layer handling identification, pricing, and payment as a built-in utility, the way it already handles TLS termination or DDoS mitigation.
The broader landscape of AI access control
Pay-per-crawl doesn't exist in isolation. It's one entry in a small but growing set of mechanisms sites use to manage AI crawler access, each with different tradeoffs.
| Mechanism | What it does | Enforcement strength | Payment involved |
|---|---|---|---|
robots.txt | Publishes crawl rules bots are expected to honor voluntarily | Weak — advisory only, unenforced | No |
| Bot-management blocking | Fingerprints and blocks traffic identified as an unwanted crawler | Strong at the network layer, but an arms race against spoofing | No |
| Pay-per-crawl (HTTP 402) | Requires a payment token before serving content to an identified crawler | Strong, contingent on reliable bot identity verification | Yes, per-request |
| Direct licensing deals | Publisher and AI company negotiate a bulk content-access agreement | Strong, but slow and only viable for large publishers | Yes, negotiated |
| Machine-readable licensing terms (e.g. RSL-style tags) | Embeds licensing terms and price in page metadata for bots to read | Advisory, similar to robots.txt unless paired with enforcement | Optional |
The pattern across all five is a shift from advisory controls that depend on crawler goodwill toward enforced controls that depend on infrastructure. robots.txt was written in an era when the crawlers reading it were mostly search engines with a commercial incentive to stay in publishers' good graces. AI training crawlers don't share that incentive structure in the same way, which is a large part of why enforcement mechanisms like bot blocking and pay-per-crawl gained traction rather than a renewed push to get everyone to simply respect robots.txt more strictly.
Where this sits relative to licensing deals
Large publishers with leverage — major news organizations, big reference sites — have generally preferred direct licensing negotiations with AI companies, because a bulk deal can be worth far more than metered per-request fees and comes with contractual guarantees around attribution or usage limits. Pay-per-crawl is aimed more at the long tail: the millions of sites too small to get an AI company's licensing team on the phone, for whom a self-serve, automatically-priced toll is the only realistic form of compensation. The two models aren't competitors so much as they cover different ends of the publisher-size spectrum.
Practical implications for businesses and builders
For site owners, the calculus is now more granular than "allow or block." A few things worth working through before deciding on a stance:
- Traffic value vs. content value. A site that earns most of its revenue from ad-supported pageviews loses more from AI answers that satisfy a query without a click-through than from training scrapes that happen once. Pricing (or blocking) decisions should reflect which of those two problems actually hurts more.
- Segmenting by crawler purpose. Not all AI crawlers do the same thing. Some scrape for one-time model training; others fetch pages live to answer a specific user's question (retrieval-augmented generation). A blanket policy treats both the same, but many site owners will want different rules — for example, allowing live-retrieval bots that plausibly send users back to the source, while charging or blocking pure training scrapes.
- Verification dependency. None of this works if crawler identity can be faked. Site owners adopting pay-per-crawl are implicitly betting on the underlying bot-verification layer staying ahead of spoofing attempts, which is an ongoing security problem, not a solved one.
- Platform lock-in. Today's pay-per-crawl implementations are tied to the CDN or bot-management vendor sitting in front of a site. A site not using that vendor doesn't get the feature. That's a meaningful lever for CDN vendors and a dependency site owners should weigh consciously.
For AI companies and builders of crawler-based products, the implications run the other direction:
- Crawling costs become a line item. A pipeline that used to fetch content for the price of bandwidth now needs a budget line, a payment integration, and a policy for which sites are worth paying for versus skipping.
- Data provenance gets easier to audit. A paid, logged crawl leaves a cleaner trail than an anonymous scrape, which could matter for companies trying to demonstrate where their training data came from — a question that's come up repeatedly in copyright litigation over AI training.
- Retrieval products face real-time cost pressure. A chatbot that fetches a live page to answer a user's question now potentially pays per fetch. At scale, that turns retrieval-augmented answers into a cost model that looks more like a paid API call than a free web request, which changes the unit economics of that class of product.
Limitations and open questions
The idea is coherent; the execution has real gaps. A few are worth naming plainly:
- Bot identity is still an arms race. Pay-per-crawl only works if a server can tell a paying, legitimate crawler apart from one impersonating it. Spoofing user-agent strings and IP ranges is a well-worn tactic, and cryptographic verification schemes, while stronger, are neither universal nor immune to compromise.
- Fragmentation risk. If every CDN vendor ships its own flavor of payment metadata and its own verification scheme, AI companies face a patchwork of incompatible integrations rather than one protocol — undermining the value of standardizing on a shared status code in the first place.
- Pricing has no established market yet. There's no consensus on what a single page fetch should cost, how it should scale with content value or crawler volume, or who arbitrates disputes. Early pricing will likely be arbitrary and volatile until usage data accumulates.
- Small AI builders may simply route around it. A well-funded lab can absorb crawl fees or negotiate bulk deals. A solo developer or small startup running a crawler is more likely to skip paid sites entirely, or to route requests through less scrupulous scraping services that ignore the toll altogether — which would concentrate high-quality paid data with the largest players while starving smaller ones.
- It doesn't retroactively cover past training data. Pay-per-crawl governs future crawling. It has no bearing on content already scraped and incorporated into models trained before the mechanism existed, which is the crux of most ongoing legal disputes over AI training data.
What to watch next
A few signals will indicate whether this becomes durable infrastructure or a niche feature:
- Whether other CDN and bot-management vendors ship comparable 402 support. A single vendor's implementation is a feature; multiple interoperable implementations start to look like a protocol.
- Uptake among mid-sized publishers, who have the technical means to enable it but, unlike major news organizations, lack in-house teams to negotiate direct licensing deals — they're the segment pay-per-crawl was built for.
- How AI companies respond in practice — whether major crawlers pay routinely, negotiate around it, or simply avoid paid domains and rely on the remaining open web.
- Standards-body involvement. A mechanism that started as one company's product feature gains durability if it moves toward a formally documented, vendor-neutral specification that others can implement independently.
- What happens after Cloudflare's September 15, 2026 default change lands — whether it visibly shifts the composition of what's crawlable, and whether other platforms follow with similar default-blocking policies of their own.
FAQ
What is pay-per-crawl?
Pay-per-crawl is a mechanism, pioneered by Cloudflare, that lets website owners charge AI crawlers a fee for each request before serving them content, using the HTTP 402 "Payment Required" status code to signal that payment is due.
How does HTTP 402 work in this context?
When an unpaid or unrecognized crawler requests a page, the server responds with a 402 status code and pricing details instead of the content. The crawler's operator can then resend the request with a valid payment token, at which point the server verifies it and serves the page normally.
Is pay-per-crawl the same as a paywall?
Not exactly. A paywall is built for human visitors and typically involves a login or subscription flow rendered in HTML. Pay-per-crawl operates at the HTTP protocol level, aimed specifically at automated crawlers, and is designed to be machine-readable without any page rendering involved.
Will this stop AI companies from training on my content for free?
It can meaningfully raise the cost and difficulty of doing so if your site is protected by verified bot-blocking and payment enforcement, but it isn't airtight. Crawlers that spoof their identity or route through third-party scraping services can still attempt to bypass it, so it should be treated as one layer of control rather than a guarantee.
Do I need to use Cloudflare to enable pay-per-crawl?
Currently, pay-per-crawl implementations are tied to the infrastructure vendor sitting in front of a site, and Cloudflare's is the most widely deployed. Sites on other CDNs or hosting without a comparable bot-management layer don't currently have equivalent built-in support.
What happens on September 15, 2026?
New domains onboarded to Cloudflare after that date will default to blocking AI training crawlers, with paid access offered as an explicit alternative route, rather than requiring site owners to opt in to blocking after the fact.
Does this affect search engine crawlers too?
Implementations generally aim to distinguish AI training and retrieval crawlers from traditional search-indexing crawlers like Googlebot, since blocking search indexing would cut off organic traffic. Site owners can typically configure different rules for different categories of bot rather than applying one blanket policy.
Teams weighing how pay-per-crawl, bot management, and AI-crawler policy should fit into their own site architecture can get hands-on help from Woyce Technologies.
