Cloudflare's new agent search feature shifts infrastructure costs to website owners
Cloudflare has rolled out Search for Agents, a tool that lets websites expose their content directly to AI systems through a simple toggle. The catch: site owners foot the bill for the underlying search infrastructure.

Cloudflare unveiled a capability enabling website operators to make their content directly accessible to AI agents through a straightforward configuration switch. The feature streamlines how artificial intelligence systems locate and retrieve information from websites, but places the financial burden of search infrastructure on the shoulders of site owners.
The new offering, called Search for Agents, builds on Cloudflare's existing suite of AI-focused tools. The company launched AI Search last month as a managed service allowing developers to index data and embed search into their applications and agents. Search for Agents uses this same underlying infrastructure. Earlier in February, Cloudflare released Markdown for Agents, which transforms HTML into a machine-readable text format that artificial intelligence systems can process more effectively—part of a broader shift toward accommodating both human and machine traffic on the web.
Search for Agents advances this trajectory by equipping websites with their own agent-discoverable search API. This allows AI systems to query site content directly rather than having to crawl through individual pages to locate the information they seek.
The agent retrieval problem
Developer documentation platform Mintlify identified a significant challenge in September regarding llms.txt, a file that provides AI agents with a roadmap of a website's structure. Large documentation properties were exceeding Mintlify's 100,000-character ceiling for these files, causing certain pages to be excluded. Mintlify resolved this by creating a tiered system of smaller index files, enabling agents to access all available pages without loading a single massive index.
The problem carried particular weight for Mintlify, which disclosed in April that AI coding agents represented 45.3% of all requests across documentation sites running on its platform—nearly matching traditional web browser traffic.
Cloudflare itself documented that AI-driven crawling initiated by user queries surged more than twentyfold throughout 2025. Even with enhancements like those Mintlify introduced, agents must still navigate a website's content index to discover what they need. Search for Agents circumvents this step by permitting agents to query websites directly.
In a Wednesday blog post, Cloudflare explained how site operators can activate the feature, currently in beta testing, either through the Quick Actions menu in their domain's Cloudflare dashboard or via programmatic API access.
Upon activation, Cloudflare provisions a dedicated AI Search instance and begins crawling and indexing the site's content. Website operators manage this instance from their AI Search dashboard, where they can adjust settings including caching behavior and enable reranking to boost search result relevance.
Cloudflare embeds instructions into page metadata, directing visiting agents to the location of the search API and its usage. For websites running Markdown for Agents, these instructions appear in the Markdown document's YAML front matter as well.

Agents transmit keywords or natural-language queries to the website's /.well-known/search endpoint and receive relevant excerpts from the site's content formatted as Markdown. The agent leverages this information to construct its own response to the user's question.

Who pays for agent search?
Search for Agents is accessible across all Cloudflare pricing tiers, including the free option. However, with AI Search billing commencing December 1, website owners considering making their content more discoverable to AI agents must weigh cost implications.
Every account receives a monthly allotment of 5 million ingestion tokens, 10 GB-months of storage, and 1,000 queries each for semantic and full-text search. Beyond these thresholds, 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.
Cloudflare also imposes restrictions on content crawling for search index population. Free plan customers using Workers face a 500-page-per-day limit, while paid customers encounter no daily restriction. Both groups are capped at 100,000 pages per discovery crawl.
This pricing structure raises questions given Cloudflare's broader push to help site owners profit from AI traffic. Last July, the company introduced pay-per-crawl, permitting website owners to charge AI companies for individual page fetches. That initiative expanded this July with a pivot toward pay-per-use, where publishers receive compensation when their content appears in AI-generated responses. Cloudflare has been working to establish what it calls the economic layer of the AI web.
In September, Cloudflare launched its Monetization Gateway in closed beta, allowing domain owners to charge AI agents for accessing websites, APIs, MCP tools and datasets via the x402 payment protocol.
Against this backdrop, the financial model of Search for Agents stands out starkly. Having devoted much of the past 18 months to creating revenue opportunities for website owners from AI traffic, Cloudflare is now asking those same operators to absorb the expenses of making their content more readily available to AI agents.
What motivates site owners to shoulder these costs? According to Celso Martinho, VP of engineering at Cloudflare, the answer centers on AI agents' expanding significance as an audience segment in their own right.
Our data shows that agents have now surpassed humans using the Internet and are an important audience for any website owner.
Celso Martinho, VP of engineering at Cloudflare
Cloudflare reported in June that bots, encompassing AI agents, constituted 57% of HTML page requests across its network. Martinho also references existing tools such as Cloudflare's AI Crawl Control and the x402 payment protocol, which site operators can deploy to manage and monetize content access.
Additionally, Cloudflare is preparing to integrate its Monetization Gateway with the new search endpoints, which would permit website owners to bill agents directly for search queries.
We are working on adding first-class support for Search for Agents and other agentic content APIs to Monetization Gateway.
Celso Martinho
Martinho did not specify a timeline for this expansion. For the present, the search expenses rest with website owners.
A common language for agent search?
Organizations can naturally develop and expose their own search APIs, but Search for Agents essentially furnishes Cloudflare customers with a ready-made solution. According to Martinho, existing agents equipped with web browsing capabilities should be capable of discovering and utilizing these endpoints without requiring developers to engineer custom integrations.
Cloudflare has conducted extensive testing of the approach on its own blog and developer documentation properties, Martinho notes.
Using a search API is more efficient for agents than crawling individual pages to find answers.
Celso Martinho
Broader industry initiatives have pursued standardization of how AI agents engage with their surroundings. The Linux Foundation announced the creation of the Agentic AI Foundation (AAIF) in December, with Cloudflare as a founding participant, consolidating projects including the Model Context Protocol (MCP), AGENTS.md and Goose under a unified structure.
Presently, Cloudflare is charting its own course regarding search endpoint discovery.
Martinho states that "Agents do a pretty good job at adjusting to different instructions and web protocols," noting that Cloudflare's examination of agent behavior through initiatives such as Radar's AI Insights and its Agent Readiness project shaped its technology selections for Search for Agents.
Cloudflare's strategy leverages established web standards including well-known URIs and HTTP GET, alongside the newer HTTP QUERY method, an Internet Engineering Task Force (IETF) proposed standard that Cloudflare engineer James Snell co-authored.
Martinho does acknowledge the value of a coordinated industry effort in this domain.
Interoperability absolutely matters. A common approach to discovering search endpoints across providers would also make sense.
Celso Martinho