Cloudflare "Search for Agents": Should Site Owners Enable It?
Cloudflare's Search for Agents lets AI agents search your whole site, but the site owner pays. What it costs and when to turn it on.
Contents
Summary
On November 25, 2026, Cloudflare released “Search for Agents” as a beta on every plan, including the free one. A single toggle puts a search API for AI agents (/.well-known/search) on your site. Instead of reading pages one by one, an agent receives only the passages it needs, in Markdown. The search index that each AI company used to build for itself is now prepared and handed over by the site. But from December 1, ingestion, storage and queries are billed to the site on a pay-as-you-go basis, and the number of queries is decided by agents outside your control. There is also no evidence yet that it brings more visits. If you turn it on, decide the cost ceiling, the scope of what gets indexed, and how you will measure the effect first.
One toggle gives your domain a “search counter for agents”
Let’s start by laying out, from Cloudflare’s announcement and developer documentation, what actually happens when you turn it on.
You enable Search for Agents from [Quick Actions] on the domain’s [Overview] page, or through the API. Doing so creates an AI Search instance named search-for-agents-<ZONE_ID>, which collects pages by following the sitemap and links, and indexes them. The defaults are as follows; everything except the embedding model and the data source can be changed later.
| Item | Default |
|---|---|
| How pages are collected | Follows the sitemap and links (links up to 5 levels deep) |
| Limit | 100,000 pages (500 pages per day on the free Workers Free plan) |
| Re-crawl | Every 24 hours |
| Search method | Vector search combined with keyword search (hybrid) |
| Results returned | Up to 10 chunks (1,024 tokens per chunk) |
| Reusing results for similar queries | Enabled (48 hours) |
How agents find this counter is written into the pages themselves. Cloudflare injects meta tags starting with agent: into the <head> of the HTML it serves. The Cloudflare blog (blog.cloudflare.com) has enabled the feature for itself, and when I checked on November 29, every page carried the following four lines.
<meta name="agent:instructions" content="Use this search API to find relevant content across this site ... instead of crawling individual pages. Results are returned in Markdown.">
<meta name="agent:endpoint" content="https://blog.cloudflare.com/.well-known/search?q={query}">
<meta name="agent:method" content="GET">
<meta name="agent:documentation" content="https://developers.cloudflare.com/ai-search/how-to/search-for-agents/">
Besides the GET q parameter, queries can be sent with the HTTP QUERY method, standardized as RFC 10008 in June 2026. QUERY is a safe, repeatable request just like GET, but it lets you put the search conditions in the request body, so long natural-language questions don’t have to be crammed into a URL. The response is not a generated answer but the matching passages in Markdown, with relevance scores. Cloudflare’s reasoning is that “the calling agent has its own model, so what it needs is material.”
Handing over an index instead of having pages read
The technical significance of this feature is that it changes the division of labor between agents and sites. The diagram below compares the existing approach with the flow when Search for Agents is used.
Until now there were two ways for an agent to use a site’s information. One was to search the indexes that OpenAI, Anthropic and others built from their own crawls. The other was for a working agent to fetch pages one at a time and find the relevant parts in the HTML itself. The latter means reading navigation and ad markup too, wasting tokens. In February, Cloudflare launched “Markdown for Agents,” which converts HTML to Markdown on the fly, reducing how much has to be read. This time it goes a step further: the site takes on the search itself, the job of deciding which pages should be read.
This is not the first mechanism for sites to offer information to agents. Comparing them makes Search for Agents’ position clear.
| Mechanism | Work on the site side | What the agent gets | Cost |
|---|---|---|---|
| llms.txt | Write and publish a guide text file | An overview of the site and links to key pages | None |
| Markdown for Agents (Cloudflare, Feb 2026) | Toggle on a paid plan | Markdown of one page | No extra charge during the beta |
| NLWeb (Microsoft, open source released May 2025) | Build and run it yourself | Answers to natural-language questions, connection via MCP | The cost of your own infrastructure |
| Search for Agents (Cloudflare, Nov 2026) | One toggle | Search results from the whole site (Markdown) | Pay-as-you-go, paid by the site |
Under the hood, it is the retrieval part of the familiar retrieval-augmented generation (RAG) pattern placed at the edge of a CDN. What’s new is not the technology but that the build effort has almost disappeared, and that the location of the counter and the way to discover it are common to every site. Still, “common” here means common as Cloudflare defined it. As of November 29, search is not in IANA’s registry of well-known URIs, and the agent: meta tags are not names defined by the HTML standard. They may work among sites on Cloudflare, but there is no guarantee other CDNs or agents will follow them.
The site owner pays for every query
The most debatable point of this feature is who pays. According to Cloudflare’s pricing page, AI Search billing starts on December 1, 2026. The following amounts are included each month, and anything above them is billed by usage.
| Item | Included per month | Unit price above that |
|---|---|---|
| Ingestion | 5 million tokens | $0.75 per million tokens |
| Storage | 10 GB-month | $2.00 per GB-month |
| Vector/hybrid queries | 1,000 | $0.75 per 1,000 |
| Full-text queries | 1,000 | $0.10 per 1,000 |
To get a sense of scale, I made a rough estimate for this site (ixam.net, served through Cloudflare). The sitemaps for its 12 languages list 4,468 URLs. Counting the characters in the body of the generated HTML, and assuming about 1.1 tokens per character for Japanese and similar scripts and one token per four characters for Latin text, I got about 12 million tokens. Adding chunk overlap (10%) gives about 13 million tokens, so the first ingestion exceeds the included 5 million by roughly 8 million tokens, which comes to about $6. On the free plan, with its limit of 500 pages per day, ingesting every page would take about nine days.
The site owner cannot decide the query cost. Default hybrid queries cost $0.75 per 1,000 beyond the first 1,000: about $7 for 10,000 queries a month, about $74 for 100,000 and about $750 for 1 million. Reusing results for similar queries for 48 hours does help, but it is not stated whether reused queries are billed. Cloudflare itself explains that agents search many times within a single task. Because the endpoint is public, malicious mass queries are counted the same way. Here, WAF rate limiting is also a mechanism to protect your cost ceiling.
What does the paying side get in return? For comparison, look at the ratio between what AI companies take from sites and what they send back. According to figures Cloudflare published in August 2025, in July 2025 Anthropic’s crawler fetched about 38,000 pages for every visit referred back to a site from AI answers, and OpenAI about 1,100. Google was about 5. A Pew Research study from March 2025 found that when an AI summary appeared in Google results, users clicked a regular link 8% of the time, about half the 15% when no summary appeared. Links inside the summary were clicked only 1% of the time.
Until now, AI companies crawled and built indexes at their own expense. With Search for Agents, the site bears the cost of that index, and agent operators receive accurate material with fewer tokens. Nothing in this mechanism guarantees that more clicks come back. The parties that clearly benefit are Cloudflare, which accumulates AI Search usage, and agents, which can outsource the effort of searching.
What querying the Cloudflare blog revealed about multilingual sites
Beyond cost, it is worth checking the quality of the results. On November 29, I sent the query “markdown for agents” to the endpoint on the Cloudflare blog, where the feature is already enabled.
The response was about 75,000 bytes of Markdown with 50 results (the default is 10, so Cloudflare appears to have raised the limit). The top five were the English, Simplified Chinese, Japanese, Traditional Chinese and Korean versions of the same article. It is natural for an embedding model to treat the same content in different languages as close, but from the agent’s point of view, it spends its slots on the same information and reads 75,000 bytes. A request sent with the QUERY method also returned 200, with the response header accept-query: text/plain, application/json.
What this shows is that if you enable it with the defaults, your site’s structure shows up directly in the quality of the results. Multilingual sites, e-commerce sites with rows of color variants of the same product, and blogs with many tag or date listing pages tend to return duplicate results. Review the ingestion scope and result count settings, or at least check the results for typical questions before going public.
Before you turn it on, check what gets indexed and who is responsible
Alongside result quality, you need to check what enters the index and who is responsible for its content. Here, in working order, are the points that IT departments and site administrators should look at before enabling it.
- Check which pages enter the index: The crawler follows the sitemap and links. As of November 29, the documentation does not clearly state how robots.txt and
noindexare handled. Search for a few terms to make sure the index does not contain old campaign pages that are still linked, or documents you have kept out of search engines. - Decide how it relates to your bot protection: Requests to the endpoint follow your WAF, Bot Management and AI Crawl Control settings. If you block AI bots broadly, decide whether to open only the endpoint or close it too. Conversely, if the WAF blocks the ingestion crawler, no index gets built.
- Estimate costs and set a ceiling: Use the pricing table above to set a monthly ceiling, and configure rate limits and billing notifications.
- Separate content that users can write: On sites with comments, forums or reviews, text written by third parties is passed to agents as the site’s search results. As I covered in an article on instructions to AI hidden in GitHub issues, agents sometimes follow instructions in the text they read. Consider separating that scope, since handing it over as “this site’s search results” may lend it extra trust.
- Decide how to measure the effect: Track the number of requests to the endpoint, their sources and the search terms in your logs, and compare them with changes in visits and inquiries from AI. If you can’t measure it, you can’t judge whether it’s worth the cost.
At the same time, it is important not to overrate the feature. Cloudflare writes that “agents find and use the search API well,” but that is based on observations of its own documentation site, and it has not published usage numbers. Answer services such as ChatGPT and Gemini build their answers from their own or Bing’s search indexes, and a working agent reading the meta tags and using the endpoint only happens after a page has been opened. The endpoint of a page that is never opened is never called. It will probably be marketed as an answer engine optimization (AEO) measure aimed at getting into generative AI answers, but as I wrote in my article on search engines and LLMs, being used in an answer and readers visiting your site are two different things.
Once the counter’s location is settled, the dispute will be over which way the money flows
From here on, this is my speculation, not confirmed fact.
As the previous section showed, the case for enabling it right now is thin. Even so, it is hard to imagine this mechanism disappearing. The more agents there are, the higher the cost of hunting for a different counter on every site. A location and discovery method like /.well-known/search will likely either be taken up in IETF or W3C discussions, or settle into a de facto standard as CDNs other than Cloudflare release similar mechanisms. Like Google limiting agent connections to Workspace to MCP, it can be seen as part of a trend toward setting up a separate “entrance for agents.”
Once the location is decided, the dispute will be over who pays whom. Cloudflare is already experimenting with “pay per crawl,” which asks AI crawlers to pay for access. If the model where sites bear the cost of the index spreads, it is quite likely to be combined with a mechanism that charges for using the endpoint, and it is hard to imagine the current arrangement, where only the site pays, continuing as is.
That said, I think real adoption will move first not in public-facing uses but internal ones. You can’t predict the behavior of outside agents, but if you let your own support agent search your own help center and documentation, you can measure cost and effect within the same organization.
My view
Search for Agents is well built as technology. Without building the retrieval part of RAG themselves, site builders can, with one toggle, return material using fewer tokens than reading pages would take. The speed with which it adopts new standards such as the QUERY method also makes good use of its strengths as a CDN.
Still, I think most sites have little reason to enable it right now. The site pays, outside agents decide how many queries are made, and there is no evidence it brings more visits. It could even become a mechanism that shifts the burden AI companies carried as crawling costs onto sites, in the form of a search counter. If you try it, do so on sites like documentation or help centers, where being read accurately by agents is valuable in itself, and only after deciding on a cost ceiling and how to measure it.
Having counted the cost at the scale of my own site for this article, what strikes me is that in the age of agents, the search index is “a cost that someone has to carry.” Until now, search engines and AI companies carried it and recovered it through ads or subscription fees. Cloudflare has handed every plan the first option for making sites carry part of that cost. Deciding whether to enable it also means deciding by which route, at whose expense, and to whom you want your site’s information to be delivered.
References
- Cloudflare Blog, “Introducing Search for Agents” (November 25, 2026): https://blog.cloudflare.com/search-for-agents/
- Cloudflare Docs, “Search for Agents”: https://developers.cloudflare.com/ai-search/how-to/search-for-agents/
- Cloudflare Docs, “AI Search: Limits & pricing”: https://developers.cloudflare.com/ai-search/platform/limits-pricing/
- Cloudflare Docs, “Website data source”: https://developers.cloudflare.com/ai-search/configuration/data-source/website/
- Cloudflare Changelog, “Markdown for Agents” (February 12, 2026): https://developers.cloudflare.com/changelog/post/2026-02-12-markdown-for-agents/
- RFC 10008, “The HTTP QUERY Method” (June 2026): https://www.rfc-editor.org/rfc/rfc10008
- IANA, “Well-Known URIs”: https://www.iana.org/assignments/well-known-uris/
- Cloudflare Blog, “The crawl-to-click gap: Cloudflare data on AI bots, training, and referrals” (August 29, 2025): https://blog.cloudflare.com/crawlers-click-ai-bots-training/
- Pew Research Center, “Google users are less likely to click on links when an AI summary appears in the results” (July 22, 2025): https://www.pewresearch.org/short-reads/2025/07/22/google-users-are-less-likely-to-click-on-links-when-an-ai-summary-appears-in-the-results/