SHEET 03blog/cloudflare-search-for-agents/ REVISED 

Cloudflare Search for Agents: what it does, what it costs and who should turn it on

Search for Agents indexes your site and answers AI agents at /.well-known/search. Billing starts December 1, 2026. Setup, pricing math, Free plan limits and risks.

Published
Length
12 min read

Cloudflare Search for Agents is a one-toggle beta, launched on November 25, 2026, that indexes your site and answers AI agents at /.well-known/search with passages from your own pages. Billing starts on December 1, 2026. For a small site it will usually cost nothing. Whether it’s worth turning on depends on who will call it, and so far no major AI assistant has said it does.

If you’ve already switched it on, usage before December 1 isn’t billed. From December 1 it’s billed like any other AI Search usage. You won’t be asked to opt in to billing and there’s no hard spend cap, so read the cost sections below before you leave it running.

This is a guide to what the feature does and what it costs. I haven’t turned it on for this site. As of November 30, 2026, ebrahimsameh.com returns a 404 at that path.

What is Cloudflare Search for Agents?

It’s a search API for your site that Cloudflare builds and hosts for you. When you turn it on, Cloudflare creates an AI Search instance for your domain, crawls and indexes your pages, and answers queries at https://your-domain/.well-known/search.

The launch post pitches it as an alternative to crawling: an agent that wants to know something about your site asks one question instead of fetching page after page. The docs are clear that the endpoint “returns relevant content in Markdown, not an AI-generated answer”. The agent’s own model does the answering.

How does /.well-known/search work?

Agents send a plain query and get back ranked Markdown chunks with source paths and relevance scores. There are three ways to call it:

# GET with a q parameter
curl "https://developers.cloudflare.com/.well-known/search?q=search+for+agents+pricing"

# HTTP QUERY with a plain-text body
curl -X QUERY "https://developers.cloudflare.com/.well-known/search" \
  --data "What is the daily crawl limit on Workers Free for AI Search?"

# HTTP QUERY with JSON
curl -X QUERY "https://developers.cloudflare.com/.well-known/search" \
  --header "Content-Type: application/json" \
  --data '{"q":"How many bulk import requests per minute?"}'

QUERY is a new HTTP method, standardized in RFC 10008 in June 2026. It works like a GET that carries a body: safe, idempotent and cacheable. That suits long natural-language questions that don’t fit well in a URL.

Cloudflare’s own docs run the feature, so you can try it now. A query on November 29, 2026 returned this (trimmed):

# Search results for: "search for agents pricing"

## docs/ai-search/how-to/search-for-agents/index.search-for-agents-cloudflare-ai-search-docs.md (score: 1.000)

...
Search for Agents is available in beta on all plans. Usage is subject to AI Search
pricing and plan limits, including content ingestion, index storage, and queries.

Agents find the endpoint through meta tags Cloudflare injects into your pages. These were the tags on Cloudflare’s docs on November 29, 2026:

<meta name="agent:instructions" content="Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown.">
<meta name="agent:endpoint" content="https://developers.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/">

If you also use Markdown for Agents, the same information goes into the YAML front matter of the Markdown version. Markdown for Agents is a separate feature, and it needs a Pro plan or higher.

What does Search for Agents index by default?

It crawls your domain from sitemaps and links, up to 100,000 pages and 5 link hops, and re-syncs every 24 hours. The defaults, from the Search for Agents docs:

Setting Default
Discovery Sitemaps plus links found on pages
Subdomains Not crawled
Page limit 100,000 pages
Crawl depth 5 link hops
Cache age and sync interval 24 hours each
Chunking 1,024 tokens, 10% overlap
Embedding model @cf/qwen/qwen3-embedding-0.6b (fixed once created)
Retrieval Hybrid (vector plus keyword), up to 10 chunks, match threshold 0.4
Similarity cache On, 48 hours

Three details matter in practice. The crawler identifies itself as Cloudflare-AI-Search and follows robots.txt, so a Disallow aimed at all bots also keeps your pages out of your own index. Your own bot protection can block it, and the website data source docs show a security rule that skips it by its bot detection ID. And the crawler indexes everything it can reach, so anything public that you wouldn’t want an agent to quote (old landing pages, staging copies on the same host, thin tag archives) should be excluded with path rules first.

You can change most defaults later under AI > AI Search in the dashboard. The embedding model and the data source are fixed when the instance is created.

What does Search for Agents cost after December 1?

It’s billed as AI Search usage, and AI Search billing begins on December 1, 2026. There’s no separate fee for the feature. Every account gets the same monthly allowance on Workers Free and Workers Paid:

Resource Included per month Price after that
Ingestion 5 million tokens $0.75 per million tokens
Storage 10 GB-month $2.00 per GB-month
Hybrid or semantic queries 1,000 $0.75 per 1,000
Full-text queries 1,000 $0.10 per 1,000

Tokens are counted on the final chunks after parsing, with the cl100k_base tokenizer, and overlapping text counts in every chunk it lands in. Search for Agents uses hybrid search, so plan with the $0.75 rate.

Here is rough math. These are my assumptions, not Cloudflare’s numbers, and I’ve picked them to err on the high side:

  • 3,000 tokens per page after parsing: a 1,500-word post is about 2,000 tokens, plus navigation and footer text, plus the 10% chunk overlap.
  • A 30-day month with the default daily sync.
  • Every query is billed as a hybrid query. The docs don’t say whether answers from the similarity cache are billed, so I count them all.
  • Text only. Image processing costs an extra $0.50 per million tokens.

The docs don’t settle whether unchanged pages are billed again on every sync. The syncing page says sync jobs “process new, modified, or deleted files”, which points to the low case. The crawler page says each sync “reindexes the pages the crawl returns”, which could mean the high case. So the table shows both: low (each page billed once, then only changes) and high (every page billed on every daily sync).

Site Tokens per full index Ingestion per month, low to high Queries per month (illustrative) Query cost
50-page blog ~150,000 $0 to $0 (4.5M tokens still fits the allowance) 2,000 $0.75
500-page docs site ~1.5M $0 to ~$30 (45M tokens) 10,000 $6.75
5,000-page catalog ~15M ~$7.50 in the first month, then changes only, to ~$334 100,000 $74.25

The 5,000-page high case only applies on Workers Paid, because Workers Free can’t crawl that many pages a day. By my estimate storage stays far under the 10 GB allowance for text sites, so I put it at $0. Query cost is (queries - 1,000) / 1,000 x $0.75.

Check real numbers under AI > AI Search after a week instead of trusting my per-page guess. One cost saver is built in: if an instance gets no search requests for 31 days, AI Search pauses its scheduled syncs until traffic returns.

Can you cap what Search for Agents costs?

No, not as of November 30, 2026. Cloudflare’s spending limits, the only setting that actually blocks usage, cover Workers and Durable Objects, not AI Search. Budget alerts only send an email, and only pay-as-you-go accounts get them.

That matters because queries are the open-ended part of the bill. One client sending a single query per second for 30 days makes 2.59 million queries, about $1,943 at $0.75 per 1,000. Your page count puts a ceiling on ingestion. Nothing puts a ceiling on queries, because anyone can send them.

The team behind the open-source project besidka turned the feature off after one night for this reason. Their zone rate-limit rule didn’t match the path, and they worked out that even a matching rule of 100 requests per 10 seconds per IP would still allow about 26.8 million queries a month from one IP, roughly $20,000. Their conclusion: “Let Cloudflare give us a spend cap, not an alert.”

What are the limits on the Free plan?

Workers Free accounts can crawl at most 500 pages a day and hold 100,000 files per instance, according to the limits page. Workers Paid has no daily crawl cap and allows 500,000 files per instance with hybrid search, which Search for Agents uses. At 500 pages a day, a 5,000-page site needs at least 10 days for the first full index, and the daily re-sync competes for the same budget.

The pricing page doesn’t say what happens when a Workers Free account goes past the included queries, whether requests stop or get billed. If you’re on Free and expect real traffic, find that out before you depend on the endpoint.

Which AI agents actually use /.well-known/search?

As of November 30, 2026, no major AI company has said its agent uses it. Cloudflare’s launch post shows the OpenCode coding agent finding and using the endpoint, and says agents “do a good job of discovering the search API and using it”. It doesn’t name ChatGPT, Claude, Gemini or Perplexity. The one public field report I found points the same way: during the besidka trial, the night’s traffic was 11 to 13 external searches and zero requests from AI agents.

The path isn’t a standard yet either. search isn’t in IANA’s registry of well-known URIs (checked November 30, 2026), and the agent:* meta tags don’t come from a published spec. Turning it on today is a bet that agent makers will adopt Cloudflare’s convention.

What can go wrong?

Most of the risk comes from the endpoint being public and billed per query. The other problems are smaller, but each one is easy to miss.

  • Anyone can query it. The endpoint is public, and every query past 1,000 a month is billed, whether it comes from an assistant or a script in a loop. With no spend cap, a rate limit is the only brake you have.
  • The scores are relative. The top result seems to score 1.000 every time. A query for nonsense words against Cloudflare’s docs on November 29 still returned a page about D1 backups at 1.000. An agent can’t use the score to tell “no good match” from “exact answer”, so a bad passage can be quoted with confidence. Another tester saw the same pattern with a made-up product limit.
  • Your own firewall may block it. A WAF rule that denies unknown /.well-known/ paths will return 403 to agents. Check before and after.
  • It may clash with your app. Cloudflare serves the path and adds the tags at its edge. If your app already has its own /.well-known/search route or agent:* tags, the docs don’t say which one wins, so check both after you turn it on.
  • Your analytics won’t see it. Agents get Markdown passages and never load a page, so page analytics don’t count these visits and ad-funded pages earn nothing from them.
  • You can send mixed signals. Nothing stops you from turning this on while AI Crawl Control blocks the same agents, so decide on one policy first. Block or pay AI crawlers covers that decision.

How do you turn on Search for Agents safely?

Clean up what’s public, cap the endpoint, then flip the toggle and test with curl. In order:

  1. Decide what should be searchable. Only index content you’d be happy to see quoted out of context. Remove or noindex stale pages, and plan include and exclude path rules (patterns like **/blog/**) for the instance.
  2. Check robots.txt. Without its own group, Cloudflare-AI-Search follows your User-agent: * rules, so a broad Disallow there keeps pages out of your index. If you give it its own group, remember that a named bot ignores the * group completely, as I explained in why ChatGPT can’t read your website.
  3. Add a rate limit on the path. On the Free plan you get one rate limiting rule, counted per IP over 10 seconds and matched on path. If that rule already guards something like /api/, extend its expression to cover both paths rather than replacing it, for example (http.request.uri.path contains "/api/") or (http.request.uri.path eq "/.well-known/search"). Keep the threshold low, since a real agent doesn’t need 100 searches in 10 seconds, and remember it caps each IP, not your total bill.
  4. If your account is pay-as-you-go, set a budget alert in the billing section of the dashboard. It won’t stop anything, but it tells you a day later that something is wrong.
  5. Turn it on. Select your domain in the dashboard, open Overview, and under Quick Actions turn on Search for Agents. Read the pricing notice and confirm. It creates an instance named search-for-agents-<ZONE_ID>.
  6. Wait for indexing to finish, then test from outside:
curl -s "https://your-domain.com/.well-known/search?q=your+main+service" | head -40
curl -s https://your-domain.com/ | grep -o '<meta name="agent:[^>]*>'
  1. Test the rate limit. Send a short burst of requests and confirm you get 429s after the threshold. Don’t assume the rule fires.
  2. After 7 days, check usage in AI > AI Search and decide whether to keep it.

To turn it off, flip the same Quick Actions toggle. Afterwards, check that the endpoint returns your normal 404 and that the agent:* tags are gone from your HTML.

Who should turn it on?

Sites with lots of reference content that people look things up in get the most from it. A 20-page marketing site gets little. My rough guide:

Site Turn it on? Why
Developer docs, API references, help centers Yes, as a pilot Coding agents look things up in docs, and the launch demo is exactly this case
Large catalogs or knowledge bases Maybe, on Workers Paid Real value if agents adopt it, but watch the 500 pages a day limit on Free and the ingestion bill
Small business site or personal blog Not yet A handful of pages, no known agent traffic, and agents can already read your HTML
Ad-funded or paywalled content No Agents get your text without a page view, an ad impression or a subscription prompt
Sites that block AI agents No You’d be publishing a search API to the bots you’re turning away

For most small sites, the basics still matter more: content in the server HTML, robots.txt that lets search bots in, structured data. If agents can’t read your pages, a search endpoint won’t fix it.

What I’d do this week

  • Run the curl tests above against developers.cloudflare.com to see what agents get.
  • If you’re tempted, start with one docs site or subdomain, not your main marketing site.
  • If you’ve already turned it on, billing starts on December 1, 2026. Before then, add the rate limit, set a budget alert and look at the AI Search usage page, or turn it off until you’ve decided.
  • Watch who calls /.well-known/search, using your Cloudflare traffic analytics filtered to that path and the query count on the AI Search usage page. If after a month the only callers are you and scanners, turn it off.
  • Measure AI visibility the honest way. Measuring AI search visibility shows how.

If you want a second opinion on whether your site is ready for AI agents and AI search, that’s the work I do under GEO services.

Further reading

Questions

What is Cloudflare Search for Agents?

It's a beta feature, launched on November 25, 2026, that indexes your site with Cloudflare AI Search and exposes a search endpoint at /.well-known/search on your own domain. AI agents send a query and get back matching passages from your pages in Markdown, with source paths and scores. It returns your text, not a generated answer.

How much does Cloudflare Search for Agents cost?

It's billed as Cloudflare AI Search usage, starting December 1, 2026. Every account gets 5 million ingestion tokens, 10 GB-month of storage and 1,000 semantic queries a month included. After that it's $0.75 per million ingestion tokens, $2.00 per GB-month and $0.75 per 1,000 hybrid or semantic queries. As of November 2026 there's no hard spend cap for AI Search, only budget alerts that don't stop usage.

Is Search for Agents available on the Cloudflare Free plan?

Yes. It's in beta on all plans. Accounts on Workers Free can crawl at most 500 pages a day and hold up to 100,000 files per instance, so a large site takes several days to index for the first time.

Do ChatGPT, Claude or Perplexity use /.well-known/search?

None of them has announced support as of November 30, 2026. Cloudflare's launch demo used the OpenCode agent, and /.well-known/search isn't registered in IANA's list of well-known URIs. For now it's a Cloudflare convention that works only for agents that read the meta tags Cloudflare adds to your pages.

Does Search for Agents respect my firewall and AI crawler settings?

Cloudflare's docs say requests to the endpoint remain subject to your AI Crawl Control and WAF configuration. The indexing crawler uses the user agent Cloudflare-AI-Search, follows robots.txt, and can be blocked by your own bot protection unless you add an exception for it.

About the author

Software engineer and serial founder in Alexandria, Egypt, and CTO at Zaher.AI, a GEO and SEO agency serving MENA.

Console

Type help and press Enter.