Skip to content

Cloud · Analysis

Cloudflare Search for Agents: Who Pays for Queries

Cloudflare's Search for Agents adds a public /.well-known/search endpoint to your domain with one toggle. From Dec 1, 2026, every agent query past 1,000 a month bills to your account at $0.75 per 1,000.

Nalini Groves · Nov 27, 2026 · 8 min read

Share

Cloudflare Blog header image reading Introducing Search for Agents, with a magnifying glass over a web page
Cloudflare, Introducing Search for Agents (Cloudflare Blog), Nov 25, 2026. Source: https://blog.clou
On this page

Cloudflare's Search for Agents, released on Nov 25, 2026 as a beta on every plan, turns one dashboard toggle into a public search endpoint at /.well-known/search on your own domain. The constraint that decides whether to flip it is the meter, not the setup. Any agent that finds the endpoint runs its queries against your account's AI Search allowance, and once AI Search billing starts on Dec 1, 2026, every hybrid query past the first 1,000 in a month costs $0.75 per 1,000.

Below: what the toggle builds, what agent traffic would cost at four volumes, and the robots, bot and WAF settings that can stop the crawler or the agents before either reaches your content.

What the toggle builds in your account

Turning it on under Quick Actions on a zone's Overview page creates a Cloudflare AI Search instance named search-for-agents-<ZONE_ID> in the default namespace. Its data source is your domain, crawled with the discover parse type, which reads your sitemaps and follows links. Then Cloudflare adds agent: meta tags to the <head> of every HTML page so agents can find the endpoint. The setup guide lists the defaults. These are the ones that change cost or coverage:

Scroll the table horizontally on smaller screens.

Search for Agents defaults that affect cost and coverage, as documented on Nov 27, 2026
SettingDefaultWhy it matters
Parse typediscover: sitemaps plus links, five hops deepReaches pages your sitemap misses, including ones you may not want indexed
Sync interval and crawl cache age24 hours eachEdits can take a day or more to show up unless you trigger a sync
Search modeHybrid (vector plus BM25 keyword)Every query is billed at the semantic rate, not the cheaper full-text rate
Embedding model@cf/qwen/qwen3-embedding-0.6b, 1,024-token chunks, 10% overlapThe model and data source are fixed at creation
Results per query10 chunks, match threshold 0.4Sets how much text each agent pulls per request
Similarity cacheOn, Strong match, 48 hoursRepeats are served faster; billing for cache hits is not documented
Reranking and query rewritingOffTurning either on adds model work per query
Source: Cloudflare Search for Agents guide and AI Search configuration docs, checked Nov 27, 2026. Defaults can be changed in the instance's Settings tab except where noted.

The endpoint returns retrieved Markdown with source paths and relevance scores. It does not generate an answer; the agent's own model does that. Agents can call it with GET ?q= or with the new HTTP QUERY method, which carries the question in the request body.

How much text comes back is up to the site owner. On Nov 27, 2026, Metarix sent one GET request with curl to Cloudflare's own docs endpoint, asking for the maximum push size in Cloudflare Artifacts. It returned HTTP 200 and text/markdown: 50 results and 50,569 bytes, which counts as 11,823 tokens with the cl100k_base tokenizer (tiktoken 0.14.0). The right page ranked first. That instance clearly returns more than the 10-chunk default, so treat the number as one sample of one configuration, not a benchmark. Still, it shows how one search can fill a large share of the calling agent's context. If you run the agent rather than the site, score what that retrieval returns the way you would any RAG pipeline; our RAG evaluation tools comparison covers the options.

The billing start date depends on which page you read

The AI Search limits and pricing page, last updated Nov 17, says billing begins on Dec 1, 2026. The AI Search release notes still carry the Oct 1 general-availability entry, which says usage-based billing begins on Nov 1, 2026. The newer pricing page is the one to plan around. Even so, look at your November usage before you assume it was free.

Every account gets the same allowance each month: 5 million ingestion tokens, 10 GB-month of storage, 1,000 semantic queries and 1,000 full-text queries. Past that, ingestion costs $0.75 per million tokens, storage $2.00 per GB-month, semantic, vector and hybrid queries $0.75 per 1,000, and full-text queries $0.10 per 1,000. All prices are in USD, as of Nov 27, 2026.

The allowance is per account, not per zone. Turn the feature on for three domains and they share the same 1,000 queries.

Search for Agents explicitly selects hybrid search, and hybrid queries bill at the $0.75 rate. The hybrid search docs describe opting out by deleting the keyword index, which leaves vector search at the same price. Metarix found no documented way to run this endpoint on the $0.10 full-text meter. The similarity cache may soften repeat traffic, but the pricing page does not say whether a cache hit counts as a query. Budget as if every request does.

What agent traffic would cost

Ingestion and storage are small for most sites. The query line has no ceiling, and you do not choose who calls. The table applies the published list rates to four monthly query volumes, assuming one site per account and nothing else using the AI Search allowance.

Scroll the table horizontally on smaller screens.

Monthly hybrid-query cost for a Search for Agents endpoint. USD, list rates as of Nov 27, 2026, billing from Dec 1, 2026
Agent queries per monthAbout per dayBillable after 1,000 includedMonthly cost
3,0001002,000$1.50
30,0001,00029,000$21.75
300,00010,000299,000$224.25
3,000,000100,0002,999,000$2,249.25
Rates from Cloudflare's AI Search limits and pricing page. Volumes are Metarix scenarios, not observed traffic. Excludes ingestion, storage, reranking and any generation billed elsewhere. Not a benchmark.

Generation, query rewriting and external model calls are not in those figures. Cloudflare bills them through the service that runs them, such as Workers AI or your gateway. For how gateway fees work, see our AI gateways comparison.

Indexing is a one-off cost plus whatever changes later. To size it, Metarix assumed 1,200 tokens of extracted Markdown per page, plus 10% for chunk overlap. That is about 1,320 billable tokens a page; your pages may be shorter or much longer.

Scroll the table horizontally on smaller screens.

First full index of a site under Search for Agents, using a Metarix assumption of 1,320 ingestion tokens per page. USD, list rates as of Nov 27, 2026
Site sizeIngestion tokensCost after 5M includedDays to crawl on Workers Free
500 pages0.66 million$0.001
5,000 pages6.6 million$1.2010
50,000 pages66 million$45.75100
Token rule and limits from Cloudflare's AI Search limits and pricing page: tokens are counted on final chunks with cl100k_base, and Workers Free crawls at most 500 pages a day. Tokens per page is an assumption. Storage, a Markdown copy of each page, stays inside the 10 GB-month allowance at these sizes.

Two things fall out of those tables. A docs site with a few thousand pages costs a dollar or two to index. Its query line, though, moves from pocket change to a real invoice if a popular coding agent starts calling the endpoint on every task. And on Workers Free, the 500-pages-a-day crawl cap means a large archive stays partly unsearchable for weeks or months.

Diagram of the Cloudflare Search for Agents request path: crawler and AI Search instance on the index side, agent queries to /.well-known/search billed to the site owner on the query side
Where Search for Agents is metered: crawling and indexing on one side, agent queries on the other. Graphic: Metarix, Nov 27, 2026, based on Cloudflare AI Search documentation.

Settings that can stop the crawler, or the agents

Cloudflare's own setup guide says to index only content you intend to make publicly searchable, and that requests to the endpoint stay subject to your AI Crawl Control and WAF settings. In practice, four settings decide whether anything gets through:

  • robots.txt. The crawler's user agent is Cloudflare-AI-Search. Pages it disallows are logged as blocked_by_robots_txt and left out. The crawler declares the search and ai-input purposes, so a Content Signals line setting either to no rejects the whole crawl.
  • Bot and WAF rules. Bot Management, WAF and Turnstile rules apply to the crawler as well. The website data source docs give a Skip rule for Bot Detection ID 122933950 to let it in.
  • AI crawler blocks. If you already block AI bots at the edge, agents calling /.well-known/search go through the same AI Crawl Control and WAF checks. Test with the agents you actually want before you assume the endpoint is reachable.
  • Path filters. Include and exclude rules match the full URL, so a docs-only index needs a pattern like **/docs/**. A bare /docs/** will not match, because it ignores the hostname.

One more constraint sits on the brake. A WAF rate limiting rule scoped to the path is the obvious way to slow a runaway caller. On a Free zone plan you get one such rule, matched on path, counted per IP over 10 seconds. That stops one noisy agent. It is not a monthly budget, because traffic from many IPs passes under it. AWS took a different route for agent traffic, inspecting MCP and A2A requests in its WAF; see our AWS WAF AI security breakdown.

Who should turn it on, and who can wait

API references, developer docs and help centres gain the most. Their readers already ask coding agents about them, and a ranked chunk of the live page is more current than a model's memory of last year's version. Cloudflare turned it on for its own developer docs before launch, and the announcement shows an OpenCode session finding and using the endpoint.

Wait if your archive is large and your account is on Workers Free, if your content is licensed or paywalled, or if you deliberately block AI crawlers. Zones on the Free plan also miss one discovery path: the YAML front-matter version of the endpoint metadata only appears with Markdown for Agents, which needs Pro, Business or Enterprise. The <head> meta tags work on every plan.

Before you turn it on

  1. Read your robots.txt and any Content Signals line for search=no or ai-input=no.
  2. Decide which paths should be searchable, and set include and exclude rules in the instance's Settings tab right after it is created.
  3. Add the Skip rule for the AI Search crawler if bot or WAF rules would block it.
  4. Add a rate limiting rule on /.well-known/search, and check AI Search usage weekly in December.
  5. Run a GET and a QUERY request against your own endpoint, and check how many tokens come back.

Take

For a documentation site that wants agents to cite current pages instead of guessing, turn it on. The indexing cost is small and the setup is a toggle. But you are publishing a metered API on your own bill, so narrow the paths and put a rate limit on it first. For a large archive on Workers Free, or a site that blocks AI crawlers on purpose, leave it off until the beta label and the billing-date conflict are cleared up. Recheck by Feb 25, 2027, or sooner if Cloudflare changes the pricing page.

Sources

Tools covered in this article

Frequently asked questions

Does Search for Agents generate answers from my content?
No. The /.well-known/search endpoint returns retrieved chunks of your pages in Markdown, with source paths and relevance scores. The calling agent's own model writes any answer. Generation settings only apply if you use the same AI Search instance through its chat completions API.
Can I change the embedding model later?
Not on the same instance. Cloudflare's guide says some settings, including the embedding model and the data source, are fixed at creation. Search for Agents uses @cf/qwen/qwen3-embedding-0.6b by default. Most retrieval and crawl settings can be changed later in the instance's Settings tab.
Is Search for Agents generally available?
No. As of Nov 27, 2026, Cloudflare's docs list it as available in beta on all plans. AI Search itself, which it runs on, has been generally available since Oct 1, 2026.
Can I use the same index for my own site search or an MCP server?
Yes. The instance is a standard AI Search instance, so it can also serve a Workers binding, public REST and MCP endpoints, or embedded search and chat snippets for human visitors. Those endpoints are separate from /.well-known/search and must be turned on separately, and their queries draw on the same account allowance.

Share

Related on Metarix