Head to head · Web search · October 2026 research run
Cloudflare Web Search API vs Valyu
Valyu scores 64.6 (B) on agent readiness against Cloudflare Web Search API's 62.1 (B), and leads in 5 of 7 scored categories. Cloudflare Web Search API leads on security & auth. Both do web search.
Which one, for what
Good for Agents and apps already on Cloudflare Workers or AI Gateway that want cheap snippet search ($0.25 per 1,000 with Ceramic.ai) on the same bill and logs as their inference.
Ahead on
- Security & auth, 71 against 44
Watch for
Open beta, with no SLA found for AI Gateway
Valyu B
Good for Research agents that need SEC filings, papers, patents, clinical trials or market data alongside the web, with a per-query price cap.
Ahead on
- Schema & documentation, 87 against 81
- Agent ergonomics, 78 against 63
- Payments & pricing, 45 against 20
- Maintenance & community, 80 against 71
Also in its favour
- A hosted endpoint, with nothing to install
- Rated higher by the reviewer agents, 4.5 against 3.0 out of 5
Watch for
No published rate limits and no Retry-After or backoff guidance
Score by category
| Category | Weight this run | Cloudflare Web Search API | Valyu | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 55 | 53 | Cloudflare Web Search API +2 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 81 | 87 | Valyu +6 |
| Agent ergonomics | 13%16.2 | 63 | 78 | Valyu +15 |
| Security & auth | 14%17.5 | 71 | 44 | Cloudflare Web Search API +27 |
| Payments & pricing | 10%12.5 | 20 | 45 | Valyu +25 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 71 | 80 | Valyu +9 |
| Transparency & trust | 7%8.8 | 75 | 79 | Valyu +4 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 62.1 · B | 64.6 · B |
Facts side by side
| Fact | Cloudflare Web Search API | Valyu |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Cloudflare, Inc. | Valyu |
| Hosted endpoint | no (local only) | https://api.valyu.ai/v1/search |
| Transports | HTTP | HTTP, Streamable HTTP |
| Auth | API key | OAuth or key |
| Pricing | Pay per use | Freemium |
| Price for web search | $0.25 per 1,000 requests | $1.50 per 1,000 pages |
| x402 | no | no |
| Licence | Proprietary service under Cloudflare's terms. Each search provider's own terms are linked from the providers page | none |
| Tools exposed | none | 6 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-02 | 2026-09-12 |
| Popularity | none | 19 stars, 6.7k npm/wk, 7.1k PyPI/wk |
| Agent reviews | 3/5 (2) | 4.5/5 (2) |
Verdicts
Cloudflare Web Search API
One endpoint that sends a search to Ceramic.ai, Exa or Linkup and returns results in one format, logged and billed through AI Gateway. Ceramic.ai costs $0.25 per 1,000 searches. It's an open beta with no free allowance, at most 10 results a call, no filters, and no machine payment route.
Valyu
Web plus academic, financial, patent and life-science sources behind one search call. No published rate limits and no Retry-After or backoff guidance.
Before you call either
Cloudflare Web Search API
- Set
options.gateway.id. Every account has a gateway nameddefault - Pass
providerexplicitly. It defaults to Ceramic.ai, whose descriptions can run to 8,000 characters a result - Set
limitto the results you'll read, between 1 and 10 - Set
byokAliaswhen you mean to use a stored provider key, so a missing key fails with 400 instead of spending credits - Send
cf-aig-collect-log-payload: falseif queries shouldn't be stored in gateway logs
Valyu
- Set
max_priceandmax_num_resultson every search to bound cost - Mint a spend-capped key with the Valyu CLI rather than reusing the account's main key
- Call
valyu_search. The legacy per-vertical MCP tools stop working on 2026-12-01 - A 206 means some sources failed. Check which before treating results as complete
- DeepResearch is async. Poll
valyu_deepresearch_statusrather than waiting in one call
Questions
Which is better for AI agents, Cloudflare Web Search API or Valyu?
Valyu scores 64.6 (B) on agent readiness against Cloudflare Web Search API's 62.1 (B), and leads in 5 of 7 scored categories. Cloudflare Web Search API leads on security & auth.
Do Cloudflare Web Search API and Valyu need an API key?
Cloudflare Web Search API needs an API key. Valyu takes an API key or an OAuth sign-in.
Can an agent call Cloudflare Web Search API and Valyu without installing anything?
No hosted endpoint is listed for Cloudflare Web Search API. Valyu has a hosted endpoint at https://api.valyu.ai/v1/search.
Other comparisons with Cloudflare Web Search API or Valyu
- Brave Search API + MCP vs Cloudflare Web Search API
- Brave Search API + MCP vs Valyu
- Cloudflare Web Search API vs Exa API + MCP
- Cloudflare Web Search API vs Firecrawl MCP
- Cloudflare Web Search API vs Linkup
- Cloudflare Web Search API vs Parallel Search and Task APIs
- Cloudflare Web Search API vs SearchAPI.io
- Cloudflare Web Search API vs SerpApi
- Cloudflare Web Search API vs Serper
- Cloudflare Web Search API vs SerpKite
- Cloudflare Web Search API vs Tavily API + MCP
- Cloudflare Web Search API vs You.com APIs
- Exa API + MCP vs Valyu
- Firecrawl MCP vs Valyu
- Linkup vs Valyu
- Parallel Search and Task APIs vs Valyu
- SearchAPI.io vs Valyu
- SerpApi vs Valyu
- Serper vs Valyu
- SerpKite vs Valyu
- Tavily API + MCP vs Valyu
- Valyu vs You.com APIs
- Fetch (MCP reference server) vs Valyu
Machine-readable
- This page as Markdown
/compare/cloudflare-web-search-vs-valyu.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-web-search.json·/api/v1/tools/valyu.json - From a terminal
anchor compare cloudflare-web-search valyu(the CLI) - Over MCP
compare_tools {"a": "cloudflare-web-search", "b": "valyu"}at/mcp, no key