Cloudflare now lets websites add search for AI agents with a single toggle. But the cost falls on site owners.
Cloudflare has announced a new feature that makes it easier for AI agents to find and get useful information from websites. Website owners can make their content directly searchable by agents by simply turning on a switch.
However, this could cost website owners money because they are responsible for the search infrastructure charges.
Search for Agents, as the feature is called, builds on other Cloudflare projects meant to make the web easier for AI systems to use. Last month, the company officially launched AI Search, a managed service that lets developers index their own data and add search to apps and agents. AI Search provides the search system behind Search for Agents.
Back in February, Cloudflare also launched Markdown for Agents. It automatically turns HTML pages into a simpler, text-based format that AI agents can read more efficiently. This is part of a broader change to the web so it can work for both people and machines.
Search for Agents goes a step further by giving websites their own search API that agents can discover. Agents can search a site's content directly instead of visiting individual pages to find what they need.
The problem of finding information for agents
Back in September, developer documentation platform Mintlify pointed out a problem with llms.txt, a file that gives AI agents a map of a website's content. Large documentation sites were reaching Mintlify's 100,000-character limit for these files, so some pages were left out. Mintlify fixed this by creating a hierarchy of smaller index files. This lets agents discover all available pages without loading the entire index at once.
This issue was especially important for Mintlify, which reported in April that AI coding agents made 45.3% of requests to documentation sites powered by its platform. That was almost as much traffic as traditional web browsers.
Cloudflare also reported last year that AI crawling caused by users' questions increased more than twentyfold during 2025.
Even with improvements like Mintlify's, agents still need to move through a website's content index to find what they need. Search for Agents tries to skip that process by letting agents search the website directly.
In a blog post published on Wednesday, Cloudflare explained how website operators can turn on the feature, which is currently in beta. They can do this through the Quick Actions section of their domain's Cloudflare dashboard or through an API.
After it is turned on, Cloudflare creates a dedicated AI Search instance and starts crawling and indexing the website's content. Website operators can then manage it from their AI Search dashboard. They can change settings such as caching and turn on reranking to make search results more relevant.
Cloudflare also puts instructions in the metadata of every page. These instructions tell visiting agents where the search API is and how to use it. If a website has turned on Markdown for Agents, the same instructions are also added to the YAML front matter of the Markdown document.
Agents can then send keywords or normal-language questions to the website's /.well-known/search endpoint. They receive useful parts of the site's content in Markdown. The agent can use that information to create its own answer to the user's question.
Who pays for agent search?
Search for Agents is available with all Cloudflare plans, including the free plan. However, AI Search billing starts on December 1, so website owners need to think about the cost of making their content easier for AI agents to access.
Each account gets a monthly allowance of 5 million ingestion tokens, 10 GB-months of storage, and 1,000 queries each for semantic search and full-text search. After those allowances are used, Cloudflare charges $0.75 per million ingestion tokens, $2 per GB-month of storage, $0.75 per 1,000 semantic, vector or hybrid queries, and $0.10 per 1,000 full-text queries.
There are also limits on how much content Cloudflare can crawl to build the search index. Customers using the Workers Free plan can have up to 500 pages crawled each day. Paying customers do not have a daily crawl limit. Both groups have a limit of 100,000 pages for each discovery crawl.
This creates an interesting question because Cloudflare has also been trying to help website owners make money from AI traffic. Last July, the company introduced pay-per-crawl, which lets website owners charge AI companies for fetching individual pages. This July, Cloudflare expanded that idea with a push toward pay-per-use, where publishers would be paid when their content appears in AI-generated answers. As The New Stack reported at the time, this is part of a broader effort to build an economic system for the AI web.
Then in September, Cloudflare launched its Monetization Gateway in closed beta. It lets domain owners charge AI agents for access to websites, APIs, MCP tools and datasets using the x402 payment protocol.
With that background, the money side of Search for Agents stands out. Cloudflare has spent much of the past 18 months building ways for website owners to earn money from AI traffic. Now, it is asking those same website owners to pay the cost of making their content easier for AI agents to access.
“Our data shows that agents have now passed humans in Internet use and are an important audience for every website owner.”
So why would website owners want to pay these costs? According to Celso Martinho, Cloudflare's VP of engineering, the reason is that AI agents are becoming an important audience on their own.
“Our data shows that agents have now passed humans in Internet use and are an important audience for every website owner,” Martinho tells The New Stack.
For context, Cloudflare reported back in June that bots, including AI agents, made up 57% of HTML page requests across its network. Martinho also points to existing tools such as Cloudflare's AI Crawl Control and the x402 payment protocol. Website operators can use these tools to control access to their content and make money from it.
Cloudflare also plans to expand its Monetization Gateway to include the new search endpoints. This would let website owners charge agents directly for search queries.
“We are working on adding direct support for Search for Agents and other content APIs made for agents to Monetization Gateway,” Martinho says. He did not give a timeline.
For now, website owners have to pay those search costs.
A common language for agent search?
Companies can build and offer their own search APIs, but Search for Agents gives Cloudflare customers a ready-made option. According to Martinho, agents that can already browse the web should be able to find and use these endpoints without developers having to build special integrations for them.
Cloudflare has tested this approach a lot on its own blog and developer documentation sites, Martinho says, “showing that using a search API is more efficient for agents than crawling individual pages to find answers.”
“Using a search API is more efficient for agents than crawling individual pages to find answers.”
There have also been wider efforts in the industry to create common standards for how AI agents interact with the world around them. Last December, the Linux Foundation announced the creation of the Agentic AI Foundation (AAIF). Cloudflare is a founding member. The foundation brings projects such as the Model Context Protocol (MCP), AGENTS.md and Goose together under one organization.
For now, however, Cloudflare is using its own method for helping agents discover search endpoints.
“Agents are pretty good at adapting to different instructions and web protocols,” Martinho says. He adds that Cloudflare's research into agent behavior through projects such as Radar's AI Insights and its Agent Readiness project helped the company choose the technologies used for Search for Agents.
Cloudflare's approach uses established web methods such as well-known URIs and HTTP GET. It also uses the newer HTTP QUERY method, an Internet Engineering Task Force (IETF) proposed standard co-written by Cloudflare engineer James Snell.
However, Martinho says there are benefits to having a wider industry effort in this area.
“It is absolutely important for different systems to work together,” Martinho says. “A common way to discover search endpoints from different providers would also make sense.”
