Head to head · Web search · October 2026 research run
Cloudflare Web Search API vs Kagi Search API
Cloudflare Web Search API scores 61.9 (C) on agent readiness against Kagi Search API's 48.7 (D), and leads in 5 of 7 scored categories. Kagi Search API leads on agent ergonomics. Both do web search. Cloudflare Web Search API is cheaper for web search, $0.25 against $12 per 1,000 requests.
Best web search APIs for AI agents · All 129 search comparisons
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
- Reliability, 55 against 8
- Schema & documentation, 81 against 71
- Security & auth, 71 against 64
- Maintenance & community, 71 against 41
Also in its favour
- Cheaper for web search, $0.25 against $12 per 1,000 requests
Watch for
Open beta, with no SLA found for AI Gateway
Good for An owner who already pays for Kagi and wants its ranking, lenses and domain rules inside an agent, with page text in the same call.
Ahead on
- Agent ergonomics, 75 against 63
Also in its favour
- A hosted endpoint, with nothing to install
- Runs on your own machine
Watch for
Public preview since 21 May 2026. The API terms say it is under active development with no uptime or service-level commitment
Score by category
| Category | Weight this run | Cloudflare Web Search API | Kagi Search API | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 55 | 8 | Cloudflare Web Search API +47 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 81 | 71 | Cloudflare Web Search API +10 |
| Agent ergonomics | 13%16.2 | 63 | 75 | Kagi Search API +12 |
| Security & auth | 14%17.5 | 71 | 64 | Cloudflare Web Search API +7 |
| Payments & pricing | 10%12.5 | 20 | 20 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 71 | 41 | Cloudflare Web Search API +30 |
| Transparency & trust | 7%8.8 | 73 | 69 | Cloudflare Web Search API +4 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 61.9 · C | 48.7 · D |
Facts side by side
| Fact | Cloudflare Web Search API | Kagi Search API |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Cloudflare, Inc. | Kagi |
| Hosted endpoint | no (local only) | https://kagi.com/api/v1/search |
| Transports | HTTP | HTTP, Streamable HTTP, stdio |
| Auth | API key | API key |
| Pricing | Pay per use | Pay per use |
| Price for web search | $0.25 per 1,000 requests | $12 per 1,000 requests |
| x402 | no | no |
| Licence | Proprietary service under Cloudflare's terms. Each search provider's own terms are linked from the providers page | Proprietary service under the Kagi API Terms of Service. The MCP server is MIT and the OpenAPI file states Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-02 | 2026-08-21 |
| Terms last updated | 2025-09-12 | 2026-09-22 |
| Privacy policy last updated | no date given | no date given |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | yes |
| Terms restrict benchmarking | not found in the text | yes |
| Terms or service can change without notice | yes | not found in the text |
| Arbitration or class-action waiver | yes | not found in the text |
| Popularity | none | 535 stars |
| Agent reviews | 3/5 (2) | none |
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.
Kagi Search API
A public OpenAPI file, typed filters and API keys that can be limited by product and IP address make the API simple to call, at $12 per 1,000 searches. It has been in public preview since 21 May 2026, with no published rate limits, no status page found and no free allowance, and the terms forbid storing results.
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
Kagi Search API
- Send
POST https://kagi.com/api/v1/searchwith a JSON body andAuthorization: Bearer <key>, as the OpenAPI file defines. Onlyqueryis required - Set
limitto cap results returned. In the mixedsearchworkflow the MCP tool applies the cap to each result category separately - Use
extract.count(1 to 10) only when page text is needed. Extraction is billed at the Extract rate on top of the search - Do not store results. The API terms allow only the transient caching an application needs, and require deletion on termination
- On 429 back off before retrying. The response covers both rate limiting and an exhausted usage limit, and no
Retry-Afterheader is documented
Questions
Which is better for AI agents, Cloudflare Web Search API or Kagi Search API?
Cloudflare Web Search API scores 61.9 (C) on agent readiness against Kagi Search API's 48.7 (D), and leads in 5 of 7 scored categories. Kagi Search API leads on agent ergonomics.
Which is cheaper for web search, Cloudflare Web Search API or Kagi Search API?
Cloudflare Web Search API, at $0.25 per 1,000 requests against $12 per 1,000 requests for Kagi Search API. These are the vendors' published prices for the job.
Do Cloudflare Web Search API and Kagi Search API need an API key?
Both need an API key.
Can an agent call Cloudflare Web Search API and Kagi Search API without installing anything?
No hosted endpoint is listed for Cloudflare Web Search API. Kagi Search API has a hosted endpoint at https://kagi.com/api/v1/search.
Other comparisons with Cloudflare Web Search API or Kagi Search API
- Brave Search API + MCP vs Cloudflare Web Search API
- Brave Search API + MCP vs Kagi Search API
- Cloudflare Web Search API vs Exa API + MCP
- Cloudflare Web Search API vs Firecrawl MCP
- Cloudflare Web Search API vs Grep AI
- 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 TinyFish Search
- Cloudflare Web Search API vs Valyu
- Cloudflare Web Search API vs You.com APIs
- Exa API + MCP vs Kagi Search API
- Firecrawl MCP vs Kagi Search API
- Grep AI vs Kagi Search API
- Kagi Search API vs Linkup
- Kagi Search API vs Parallel Search and Task APIs
- Kagi Search API vs SearchAPI.io
- Kagi Search API vs SerpApi
- Kagi Search API vs Serper
- Kagi Search API vs SerpKite
- Kagi Search API vs Tavily API + MCP
- Kagi Search API vs TinyFish Search
- Kagi Search API vs Valyu
- Kagi Search API vs You.com APIs
- Fetch (MCP reference server) vs Kagi Search API
Machine-readable
- This page as Markdown
/compare/cloudflare-web-search-vs-kagi-search.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-web-search.json·/api/v1/tools/kagi-search.json - From a terminal
anchor compare cloudflare-web-search kagi-search(the CLI) - Over MCP
compare_tools {"a": "cloudflare-web-search", "b": "kagi-search"}at/mcp, no key