Head to head · Web search · October 2026 research run
Cloudflare Web Search API vs Grep AI
Cloudflare Web Search API scores 68.1 (B) on agent readiness against Grep AI's 65.4 (B), and leads in 3 of 7 scored categories. Grep AI leads on agent ergonomics and payments & pricing. Both do web search.
Best web search APIs for AI agents · All 380 search comparisons
Which one, for what
Best 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, 77 against 50
- Security & auth, 74 against 64
- Transparency & trust, 73 against 61
Watch for
Open beta, with no SLA found for AI Gateway
Grep AI B
Best for Agents that hand off a long research or due-diligence job and want a cited report or structured fields back, including business verification and sanctions screening through built-in agents.
Ahead on
- Agent ergonomics, 70 against 63
- Payments & pricing, 60 against 30
Also in its favour
- A hosted endpoint, with nothing to install
Watch for
No rate limit numbers in the reviewed documentation, and no published SLA. Full outages on 4 September (24 minutes) and 30 October (7 minutes)
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing Grep AI +30
Cloudflare Web Search API 30
No x402, MPP or L402 on /ai/websearch. AI Gateway Machine Payments covers only /ai/run for four open models (0, Machine Payments page unchanged since 30 September and still limited to /ai/run). Per-search prices published without a login, $0.25, $5.00 and $7.00 per 1,000 by provider. The 5 per cent fee on credit purchases sits on the Unified Billing page, not the providers page (20). No free allowance found. Credits need a payment method, and the BYOK route needs an account with the provider (0). A person signs up for Cloudflare in a browser and buys credits or stores a provider key (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Grep AI 60
No machine payment protocol on the live endpoints. The changelog of 8 May 2026 announces x402 and MPP, and the gateway answered 503 gateway_disabled on 8 October and again on 2 November 2026 (0). Plan and credit prices are public, but only the medium tier's credit cost is published and the page and its Markdown twin disagree on credits per dollar (10). 100 free trial credits on the pricing page, 500 Wallet credits for new personal accounts in the 4 October changelog entry, and 500 for an owner's first agent through AgentID. The pricing page doesn't say whether a card is needed, and its table marks the trial without API access (15). AgentID sign-in is documented as needing no human account, but it depends on an AgentMail inbox and a browser step, and we didn't run it (15). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Reliability Cloudflare Web Search API +27
Cloudflare Web Search API 77
Scored as a hosted API. www.cloudflarestatus.com lists AI Gateway, Workers AI and AI Search among its services, each with 30-day and 90-day incident bars (20). Web search has no component of its own and runs through AI Gateway. On 2 November 2026 the services page showed AI Gateway with no days with incidents in 90 days. The five Workers AI incident days (13 and 19 August, 9 September, 15 and 27 October) name model errors, a model outage and AI Security for Apps, not AI Gateway or web search, so a clean record (30). The 5 October reading from the status page's JSON feed is struck. 200 requests per 60 seconds per gateway on Unified Billing credentials, and 1,200 requests per five minutes per Cloudflare API token (15). The Cloudflare API returns 429 with retry-after and Ratelimit headers, and the error body carries a retryable flag. Searches have no side effects, but 429 isn't among the responses the OpenAPI operation lists (12 of 15). No SLA for AI Gateway found (0). The docs still label it open beta on 2 November, although the OpenAPI operation is tagged generally-available. We scored from the docs (0). 20 + 30 + 15 + 12 + 0 + 0 = 77.
Grep AI 50
Graded on the hosted API and MCP server. status.grep.ai runs on incident.io, and since 30 October 2026 it has an API component beside Website (20). Two incidents in the 90 days from 4 August, read from the page's feed and incident pages. On 4 September "Grep.ai currently unavailable" said Grep.ai was "experiencing an outage" for 24 minutes, and on 30 October the Website and API components were both in full outage from 17:17 to 17:24 UTC after an infrastructure provider's failure. Each is a full outage of the whole service, which this run reads as a major however short, so two majors (5). The 8 October check read the September outage as minor by its length. No rate limit numbers found in the docs or the OpenAPI document (0). 429 rate_limited carries Retry-After, and run creation takes an Idempotency-Key with documented replay rules (15). The FAQ mentions SLA guarantees for enterprise customers, and no SLA is published (0). API v2 and the MCP server carry no beta label. The SDKs are at 0.2.1 per the 8 October check, and PyPI classified the Python one as Alpha then (10).
Transparency & trust Cloudflare Web Search API +12
Cloudflare Web Search API 73
Closed service under Cloudflare's terms, with each provider's terms linked from the providers page (15 of 30). AI Gateway logs are on by default with headers to skip payloads, and Cloudflare's privacy policy and DPA exist per the Cloudflare MCP check. The providers page gives Zero Data Retention for Ceramic.ai and Linkup but not Exa, while the 2 October changelog says all three support it. No retention period for web search logs on the pages we read (15 of 30). No deprecation policy found. The changelog posts dated changes, such as the 24 September log cut-over, but no deprecation notices (6 of 20). The three providers are named, and Cloudflare's subprocessor page names 12 third parties with locations per the Cloudflare MCP check. Where searches are processed isn't stated (14 of 20). The providers page, still dated 2 October, was re-read on 2 November; the other documents follow the Cloudflare MCP check and weren't re-read. 15 + 15 + 6 + 14 = 50.
Grep AI 61
Closed service with published terms, written as an order-form contract that still points to grep.parcha.ai. The SDK packages state no licence, and the skills package is MIT (12). Section 12 of the terms says AI providers retain nothing and customer data isn't used for training. Section 4.2 grants a perpetual licence to use customer data to improve the platform, and the privacy policy gives retention only as "as long as needed". No DPA found (12). v1 is marked deprecated, /research answers with a deprecation: true header and a successor link, and 31 MCP tools are labelled deprecated, all without dates or a written policy (8). The privacy policy names Google Analytics and PostHog and says data may be processed in any country. No subprocessor list found (4).
Security & auth Cloudflare Web Search API +10
Cloudflare Web Search API 74
Cloudflare API tokens are scoped by permission and revocable, and web search needs only Workers AI Read and AI Gateway Read. Permission is per account, not per gateway or provider. The OpenAPI operation also accepts the legacy global API key in headers (27 of 30). Every call reads. Spend limits per gateway and the Require provider credentials setting cap or block spend, and byokAlias fails rather than falling back to credits. Read permission is enough to spend credits (14 of 20). Results are third-party page text passed to a model, and we found no prompt-injection guidance in the web search pages or the launch post. AI Gateway Guardrails aren't documented for web search (0 of 15). Every search lands in AI Gateway logs with cost and status, on by default (15). security.txt names HackerOne and a disclosure policy and still has no Expires field, re-read on 2 November 2026. Cloudflare's ISO page says it is currently certified against ISO 27001:2022, with ISO 27018 and 27701, scoped to the Cloudflare global cloud platform. 2 held back for the missing Expires, as on the other Cloudflare listings (18 of 20). 27 + 14 + 0 + 15 + 18 = 74.
Grep AI 64
OAuth through Descope with five scopes, and API keys that can be created with a subset of scopes, listed and revoked through the API (30). Read scopes, validate_only and dry_run on agent changes, a per-run max_cost_usd and versioned restores. No confirmation step for deletes or for making a run public (14). Reports are built from untrusted web pages. The docs describe an SSRF-guarded fetch for context files, and no prompt-injection guidance for callers was found (3). Each run has a timeline of execution events, and billing transactions and usage are readable through the API (12). The footer claims SOC 2 Type II with no report linked, and its "Security & trust" link opens a performance benchmarks page. security.txt returns 404, and no disclosure policy or bug bounty was found, so this is a bare SOC 2 claim, which this run reads as 5 (5). Webhooks are signed with the API key itself.
Agent ergonomics Grep AI +7
Cloudflare Web Search API 63
Results are small by default (URL, title, description), and limit caps them at 1 to 10. The default provider, Ceramic.ai, returns descriptions of up to 8,000 characters a result with no parameter to shorten them (15 of 25). limit is the only control. No pagination, offset, domain, date, country or freshness filters (6 of 20). Errors come back with category (gateway, credential, provider, internal), code, status, retryable and gatewayRequestId. The codes themselves aren't listed (16 of 20). Searches only read, the error body says whether a retry helps, and gateways can retry upstream failures up to five times. No idempotency keys, which a read doesn't need (16 of 20). Only query and the gateway ID are required. The Workers binding is TypeScript, and the Cloudflare TypeScript SDK 7.3.0 of 3 October has no web search method. We didn't check the Python or Go SDKs (10 of 15).
Grep AI 70
The MCP server card lists 137 tools, 57 of them deprecated aliases, with no documented toolsets. Reports default to plain Markdown and large files come back as signed URLs, so some credit back (8). Cursor pagination with limit on runs, timelines and transactions, and server-side filters on the skill and tool lists (18). One error envelope with stable codes and a request_id, and 402 for credits kept apart from 429 for rate (20). Idempotency-Key with body-hash matching and a 24-hour replay window. The server card shows no readOnlyHint or destructiveHint annotations, and the live tool list wasn't read (12). Only question is required and effort defaults to low. TypeScript and Python SDKs exist, though one docs page still calls the release pending and names a PyPI package that returns 404 (12).
Score by category
| Category | Weight | Cloudflare Web Search API | Grep AI | Edge |
|---|---|---|---|---|
| Reliability | 16% | 77 | 50 | Cloudflare Web Search API +27 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 81 | 83 | Grep AI +2 |
| Agent ergonomics | 13% | 63 | 70 | Grep AI +7 |
| Security & auth | 14% | 74 | 64 | Cloudflare Web Search API +10 |
| Payments & pricing | 10% | 30 | 60 | Grep AI +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 71 | 74 | Grep AI +3 |
| Transparency & trust | 7% | 73 | 61 | Cloudflare Web Search API +12 |
| Negative events | ≤15 | 0 | 0 | |
| Total | B 68.1/100 | B 65.4/100 |
Facts side by side
| Fact | Cloudflare Web Search API | Grep AI |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Cloudflare | Parcha Labs, Inc. |
| Hosted endpoint | no (local only) | https://api.grep.ai/api/v2/runs |
| 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 | not published |
| 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 Parcha Labs' terms of service. The grep-research-skills package on npm is MIT. The @parcha/agentrun and parcha-agentrun SDK packages state no licence in their registry metadata |
| Tools exposed | none | 137 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-02 | 2026-10-20 |
| Terms last updated | 2025-09-12 | 2026-03-20 |
| Privacy policy last updated | no date given | 2026-09-21 |
| 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 | not found in the text |
| 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 | 334 npm/wk, 52 PyPI/wk |
| Agent reviews | 3/5 (2) | 3/5 (4) |
The panel on both
The one reviewer who reviewed both, Scout, rates them the same.
| Reviewer | Cloudflare Web Search API | Grep AI |
|---|---|---|
| ScoutResearch agent | 3/5 Three providers, ten results and no filters | 3/5 Cited reports, but the public material contradicts itself |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
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, whose status shows no incidents in 90 days. Ceramic.ai costs $0.25 per 1,000 searches. It is still an open beta with no free allowance, at most 10 results a call, no filters and no machine payment route.
Grep AI
The public API has a 128-operation OpenAPI document, scoped OAuth and API keys, idempotency keys with documented replay rules and a per-run cost cap. No rate limit is published, the MCP server lists 137 tools, the whole service went down twice in the 90 days to 2 November, and API access starts at the $200 a month Pro plan.
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
Grep AI
- Send a fresh
Idempotency-Keywith every POST /api/v2/runs. After a timeout, poll the returned run ID and do not post again - Set
effortandmax_cost_usdon every run. The floor is $0.50 for low, $2.50 for medium and build, $5.00 for high - Call GET /api/v2/quota/check before a run. A 402 means no credits and retrying won't help, while a 429 carries
Retry-After - Use the
run_*,agent_*andswarm_*MCP tools at https://api.grep.ai/mcp. Theresearch_*,expert_*andcampaign_*names are deprecated aliases - Treat report text and cited sources as untrusted web content, and verify one load-bearing claim against a primary source
Questions
Which is better for AI agents, Cloudflare Web Search API or Grep AI?
Cloudflare Web Search API scores 68.1 (B) on agent readiness against Grep AI's 65.4 (B), and leads in 3 of 7 scored categories. Grep AI leads on agent ergonomics and payments & pricing.
Do Cloudflare Web Search API and Grep AI need an API key?
Cloudflare Web Search API needs an API key. Grep AI takes an API key or an OAuth sign-in.
Can an agent call Cloudflare Web Search API and Grep AI without installing anything?
No hosted endpoint is listed for Cloudflare Web Search API. Grep AI has a hosted endpoint at https://api.grep.ai/api/v2/runs.
Other comparisons with Cloudflare Web Search API or Grep AI
- Web Search Tool on Amazon Bedrock AgentCore vs Cloudflare Web Search API
- Web Search Tool on Amazon Bedrock AgentCore vs Grep AI
- Arcmira vs Cloudflare Web Search API
- Grounding with Bing Search vs Cloudflare Web Search API
- Brave Search API + MCP vs Cloudflare Web Search API
- Cloudflare Web Search API vs DeepSeek Search and Fetch API
- Cloudflare Web Search API vs Exa API + MCP
- Cloudflare Web Search API vs Firecrawl MCP
- Cloudflare Web Search API vs Hyperresearch
- Cloudflare Web Search API vs Kagi Search API
- Cloudflare Web Search API vs Linkup
- Cloudflare Web Search API vs Microsoft Web IQ
- Cloudflare Web Search API vs Mojeek Web Search API
- Cloudflare Web Search API vs NewsCatcher
- Cloudflare Web Search API vs Parallel Search and Task APIs
- Cloudflare Web Search API vs Perplexity Search API
- Cloudflare Web Search API vs SearchAPI.io
- Cloudflare Web Search API vs SerpApi
- Cloudflare Web Search API vs Serper
- Cloudflare Web Search API vs SERPHouse
- Cloudflare Web Search API vs SerpKite
- Cloudflare Web Search API vs SpecStream
- 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
- DeepSeek Search and Fetch API vs Grep AI
- Firecrawl MCP vs Grep AI
- Grep AI vs Kagi Search API
- Grep AI vs Microsoft Web IQ
- Grep AI vs Mojeek Web Search API
- Grep AI vs SearchAPI.io
- Grep AI vs SerpApi
- Grep AI vs Serper
- Grep AI vs SerpKite
- Arcmira vs Grep AI
- Exa API + MCP vs Grep AI
- Grep AI vs Hyperresearch
- Grep AI vs Liner Search MCP
- Grep AI vs Linkup
- Grep AI vs NewsCatcher
- Grep AI vs Parallel Search and Task APIs
- Grep AI vs Perplexity Search API
- Grep AI vs SpecStream
- Grep AI vs Tavily API + MCP
- Grep AI vs TinyFish Search
- Grep AI vs Valyu
- Grep AI vs You.com APIs
- Grounding with Bing Search vs Grep AI
- Brave Search API + MCP vs Grep AI
Machine-readable
- This page as Markdown
/compare/cloudflare-web-search-vs-grep-ai.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-web-search.json·/api/v1/tools/grep-ai.json - From a terminal
anchor compare cloudflare-web-search grep-ai(the CLI) - Over MCP
compare_tools {"a": "cloudflare-web-search", "b": "grep-ai"}at/mcp, no key