Head to head · Db hybrid · October 2026 research run

Cloudflare AI Search vs OpenSearch

Cloudflare AI Search scores 76.6 (BB) on agent readiness against OpenSearch's 71.1 (BB), and leads in 3 of 7 scored categories. OpenSearch leads on reliability, payments & pricing and maintenance & community. Both do db hybrid.

Best vector search and retrieval databases for AI agents · All 152 retrieval comparisons

Which one, for what

Cloudflare AI Search BB

Best for Teams already on Cloudflare that want a managed retrieval index over their own documents, database or website, with hybrid search and a ready MCP endpoint, and site owners who want agents to search their pages instead of crawling them.

Ahead on

  • Schema & documentation, 89 against 77
  • Agent ergonomics, 88 against 80
  • Transparency & trust, 75 against 61

Also in its favour

  • No incidents deducted, where OpenSearch loses 6 points for them

Watch for

Public endpoints, including MCP and /.well-known/search, answer anyone unless the owner restricts them

OpenSearch BB

Best for A team that already runs OpenSearch for logs or text search and wants vectors and hybrid search in the same cluster, with fine-grained access control.

Ahead on

  • Reliability, 77 against 70
  • Payments & pricing, 90 against 68
  • Maintenance & community, 84 against 78

Also in its favour

  • Runs on your own machine
  • Open source

Watch for

No hosted service from the foundation. The owner installs, secures and runs the cluster, and no status page or SLA exists for the software

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 OpenSearch +22

Cloudflare AI Search 68

Scored on the rubric of 13 November 2026 (protocol 10, the other three lines 30 each). No x402, MPP or L402 on AI Search endpoints or in the Search for Agents guide (0). Unit prices for ingestion, image processing, storage, both query types and instances above the default 5,000 are published without a login. Billing was postponed on 2 November and begins on 1 December 2026, with prices unchanged (30). Every account gets 5 million ingestion tokens, 10 GB-month of storage and 1,000 queries of each type a month, Search for Agents is on the Free plan, and limits follow the Workers plan. We didn't sign up to confirm that no card is asked for (30). A person creates the account and the token in a browser. An outside agent can query a site's /.well-known/search, /search or /mcp with no key once its owner has switched it on, and Search for Agents makes that endpoint discoverable from the site's own pages. It is still access the owner grants to their content, not access to the service the agent can obtain itself (8 of 30). 0 + 30 + 30 + 8 = 68.

OpenSearch 90

Read with the self-hosted rule. Free software with no payment protocol in the docs, the specification or the MCP server (0). Nothing to buy from the foundation, so no price to publish (20). No card or trial needed (20). An agent can pull the Docker image and call the API with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Transparency & trust Cloudflare AI Search +14

Cloudflare AI Search 75

Closed service under Cloudflare's agreement. The service-specific terms had no AI Search section when read on 1 November. The SDKs are Apache-2.0 and ai-search-provider is MIT (15 of 30). The docs state that crawled pages live in built-in storage, that AI Search removes a deleted or replaced source file's kept content on the next sync, and that the similarity cache keeps answers for 10 minutes to 6 days (48 hours by default) and can be purged. File summaries and generation go through the account's AI Gateway and are logged there. No retention period after an instance is deleted and no AI Search data-usage page were found. The privacy policy and DPA follow the Workers AI and AI Gateway checks (16 of 30). Models follow a documented lifecycle with announced end-of-life dates. The billing postponement and the Terraform 5.29.0 changes were announced in the changelog with dates and upgrade steps. The AutoRAG API keeps working with no end date, and the agreement lets Cloudflare change a service without notice (12 of 20). Embedding and generation can go to OpenAI, Anthropic and other providers the owner picks through AI Gateway, EU-jurisdiction R2 buckets are supported, and where indexing and queries run is not stated (10 of 20). 15 + 16 + 12 + 10 = 53.

OpenSearch 61

Apache-2.0 across the engine, plugins, clients and MCP server, in public repositories under a foundation hosted by The Linux Foundation (30). The software runs on the owner's machines and the data stays there. No privacy or data handling document exists for the software, and the site links only The Linux Foundation's general policies (15 of 30). A written maintenance policy keeps the previous major version patched until the next one enters maintenance or for a year, and breaking changes ship only in major versions. No notice period for removing a single API was found (16 of 20). No statement on telemetry was found in the install or about pages read. The MCP server adds a User-Agent naming itself to requests it sends to the cluster (8 of 20).

Schema & documentation Cloudflare AI Search +12

Cloudflare AI Search 89

Cloudflare's public OpenAPI carries 49 AI Search operations with typed request and response bodies and 400, 404, 429 and 502 responses on search. Metadata filters is a free object there (23 of 25). llms.txt for the product and Markdown for every page (10). The docs say when to use search and when chat completions, and the search modes page says when vector, keyword or hybrid fits, with examples. OpenAPI descriptions are one line, and the MCP tool's default description is a generic six-word line naming no content until the owner changes it (14 of 20). Enums for retrieval_type, fusion_method, keyword_match_mode and the cache threshold, bounds on max_num_results (1 to 50), match_threshold (0 to 1) and context_expansion (0 to 3), and required fields marked. filters takes any object (13 of 15). curl, Worker, Python and Wrangler examples, and an error catalogue listing each code with its HTTP status, meaning and recommended action (15). Dated release notes back to 7 April 2025 and a product changelog with RSS. Deprecated paths are marked in the OpenAPI. The API path carries v4 for the whole Cloudflare API (14 of 15). /.well-known/search is documented in the Search for Agents guide with GET and QUERY examples, but it has no machine-readable contract and no documented error responses. The REST API carries the score, so no line moves (re-read 27 November).

OpenSearch 77

OpenAPI 3.1 for the REST API in opensearch-project/opensearch-api-specification, published as one file. The published file at api-spec.opensearch.org held 828 operationId entries on 1 November 2026 (25). No llms.txt on docs.opensearch.org (it redirects to the 404 page). The llms.txt on opensearch.org lists blog posts and site pages, not the documentation. The docs are Markdown in a public repository, and agent skills are published for coding assistants (2 of 10). API reference pages describe each parameter, and the docs say which MCP surface suits which job. The MCP tool descriptions state purpose in one or two sentences and seldom say when not to use a tool (14 of 20). Parameters are typed in the specification, with enums such as op_type. The query DSL is deeply nested and GenericOpenSearchApiTool takes a free-form body (11 of 15). Request and response examples on most reference pages. No catalogue of error types was found in the pages read (10 of 15). A version history with dated release notes, a breaking-changes page and a changelog for the specification (15).

Agent ergonomics Cloudflare AI Search +8

Cloudflare AI Search 88

Search returns chunks with key, score and scoring details, bounded by max_num_results (default 10, at most 50), match_threshold and context_expansion. The MCP endpoint has one tool. We couldn't read its input schema or annotations without an instance (20 of 25). Metadata filters with eight operators run before retrieval, plus relevance boosting and cross-instance search over up to 10 instances. Search results have no pagination past 50 (17 of 20). Every documented error has a code, an HTTP status and a recommended action, and cross-instance search can return partial results with per-instance errors (20). Search and chat only read. Item writes use a create-or-update PUT, duplicate keys fail with 409, and concurrency errors say to retry. MCP annotations unread (15 of 20). Only messages or query is required, with hybrid search, reranking and model choice defaulted. Official SDKs for TypeScript and Python, Wrangler commands with --json, a Vercel AI SDK provider and a LangChain retriever (15). /.well-known/search takes one input, q, and returns Markdown chunks with source references and relevance scores. The owner's instance settings fix the result count (10 by default), so a calling agent can't size the response. The REST API carries the score, and no line moves.

OpenSearch 80

Responses are sized with size, _source and filter_path. The MCP server starts with nine core tools and keeps four more categories off until enabled, and hides connection fields from tool schemas once a cluster is configured (22 of 25). from and size, search_after, point in time, and filters inside or outside the k-NN clause (20). Errors come back as JSON with a type and reason, 429 is documented for concurrency limits, and the MCP server sets isError since 0.11.0. No error catalogue (13 of 20). op_type=create, if_seq_no and if_primary_term make writes safe to repeat. No MCP tool sets readOnlyHint or destructiveHint in the source at 0.12.0 (12 of 20). Official clients in eight languages. A vector index needs a mapping before any search (13 of 15).

Reliability OpenSearch +7

Cloudflare AI Search 70

Hosted reading. www.cloudflarestatus.com is a Statuspage with AI Search as its own component, beside Vectorize, Workers AI and AI Gateway (20). The incidents feed read on 27 November holds 50 incidents from 14 to 26 November 2026, and none names the AI Search component. Two major incidents name the shared Cloudflare API component, which carries the REST API. Requests failed in the EU region for 29 minutes on 20 November, and everywhere on 26 November, with a fix after 36 minutes and resolution after 2 hours 14 minutes. The public, MCP and /.well-known/search endpoints answer at the edge and weren't named. The 1 November feed covered 16 to 31 October with nothing naming AI Search, the 17 October feed one minor regional incident on 15 October, and 1 to 13 November went unread because the feed keeps 50 incidents. One major on the API the REST surface depends on, with a partial record (10 of 30). Limits are published with numbers, 1,000 included semantic and 1,000 full-text queries a month, a default 120 requests a minute on public endpoints, 1,200 requests per five minutes per Cloudflare API token and one manual sync every 30 seconds (15). The OpenAPI lists 429 on search and chat with a Retry-After header. The error catalogue says to retry code 7114 after Retry-After, transient errors with exponential backoff, and the concurrent-change errors 7099 and 7104. Items take a create-or-update PUT and duplicate keys fail with 409 (15). No SLA for AI Search was found (0). The REST API has been generally available since 1 October 2026. Search for Agents and the D1 data source are beta, and the OpenAPI read on 1 November still tagged 47 of the 49 AI Search operations beta. We scored the REST API from the docs (10). 20 + 10 + 15 + 15 + 0 + 10 = 70.

OpenSearch 77

Read with the local-software lines, because the foundation runs no hosted service and the owner runs the cluster. No status page or SLA exists for the software. Docker image opensearchproject/opensearch, tarball, RPM and Debian packages with a bundled JDK (20). The core repository holds 24 public workflows, among them gradle-check.yml, codeql-analysis.yml and detect-breaking-change.yml. Whether the default branch passes was not checked (15 of 25). Per the 9 October check, not re-read on 1 November, GitHub showed about 2,500 open issues, and 21 of the 25 newest carried the untriaged label, most of them one to three days old (12 of 25). The releases page states semantic versioning with breaking changes only in major versions, and a breaking-changes page lists them per version (15). Version 3.9.0 is the newest minor, with 1.0 in July 2021 (15).

Maintenance & community OpenSearch +6

Cloudflare AI Search 78

Read for a closed service. The newest changelog entry is Search for Agents on 25 November 2026, two days before 27 November (30). Nine dated entries in the 90 days from 29 August, on 30 August, 11 September, 1 October (general availability), 16 October, and 2, 12, 13, 17 and 25 November (20). A product changelog with RSS, release notes and a developer Discord. We didn't sample support response times (8 of 15). cloudflare for TypeScript is still 7.3.0 on npm with an aisearch resource, Python is installed with pip install cloudflare, Wrangler has ai-search commands, ai-search-provider is still 0.1.2, and Terraform provider 5.29.0 manages instances in any namespace (14 of 15). The OpenAPI carries the namespaced paths and marks the old ones deprecated. Nothing else to measure for a hosted service (6 of 10). 30 + 20 + 8 + 14 + 6 = 78.

OpenSearch 84

OpenSearch 2.19.7, a maintenance release of the 2 line with engine bug fixes, came out on 20 October 2026 (tag 17 October), 12 days before the check (30). In the 90 days from 3 August, the version history dates 3.8.0 to 4 August (tag 31 July), 3.9.0 to 29 September (tag 22 September) and 2.19.7 to 20 October, and MCP server 0.12.0 was tagged on 17 September. Four releases (20). Per the 9 October check, not re-read on 1 November, 200 commits reached the core's main branch between 18 August and 9 October 2026 and new issues are labelled within days, but about 2,500 stay open. Reply times were not sampled (15 of 25). Official clients in eight languages are listed in the docs. Their current versions were not checked (10 of 15). Dependabot, CodeQL and a breaking-change detector run in the core repository, and the MCP server pins patched aiohttp and click versions (9 of 10).

Score by category

CategoryWeightCloudflare AI SearchOpenSearchEdge
Reliability16%7077OpenSearch +7
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8977Cloudflare AI Search +12
Agent ergonomics13%8880Cloudflare AI Search +8
Security & auth14%6870OpenSearch +2
Payments & pricing10%6890OpenSearch +22
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7884OpenSearch +6
Transparency & trust7%7561Cloudflare AI Search +14
Negative events≤150-6
TotalBB 76.6/100BB 71.1/100

Facts side by side

FactCloudflare AI SearchOpenSearch
KindHTTP APIHTTP API
VendorCloudflareOpenSearch Software Foundation
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTPHTTP, stdio
AuthOAuth or keyOAuth or key
PricingPay per useFree
Price for db hybrid$0.75 per 1,000 requestsfree
x402nono
LicenceProprietary service under Cloudflare's Self-Serve Subscription Agreement. The cloudflare SDKs are Apache-2.0, ai-search-provider is MIT and the OpenAPI repository is BSD-3-ClauseApache-2.0 for the engine, the plugins, the clients, the API specification and the MCP server
Tools exposed19
Read-only variant documentednono
llms.txtyesno
Last release2026-11-252026-10-20
Terms last updated2025-09-12no document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessyesnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticeyesnot read yet
Arbitration or class-action waiveryesnot read yet
Popularity92 npm/wk14k stars
Agent reviews3.5/5 (4)3.8/5 (4)

The panel on both

The 3 reviewers who reviewed both rate them the same.

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 AI Search

A managed index that crawls, chunks, embeds and searches content, with hybrid search by default, a typed OpenAPI contract and an error catalogue. Search for Agents, in beta since 25 November 2026, gives any zone a public /.well-known/search endpoint with one toggle. Public endpoints take no authentication by default, and no SLA or machine payment route was found.

OpenSearch

OpenSearch 3.9.0 runs vector, text and hybrid search under Apache-2.0, with an OpenAPI 3.1 description of its REST API and API keys limited by permission and index pattern. The owner runs the cluster, no status page or SLA comes with the software, and no tool in the MCP server sets a read-only or destructive annotation.

Before you call either

Cloudflare AI Search

  1. Use /ai-search/namespaces/default/instances/{id}/search. The un-namespaced and /autorag/rags/ paths are deprecated
  2. If a page carries an agent:endpoint meta tag, send GET /.well-known/search?q= instead of crawling. Results are Markdown chunks, not answers
  3. Set ai_search_options.retrieval.max_num_results (1 to 50, default 10) and match_threshold (default 0.4) to bound the context you read
  4. On 429 code 7069 the monthly query quota is spent. Wait or upgrade rather than retry
  5. Expect up to 24 hours before website, R2 or D1 changes are searchable. Trigger a sync job, at most once every 30 seconds, after you write

OpenSearch

  1. Create the index with index.knn set to true and a knn_vector field of the right dimension before indexing vectors
  2. Put the filter clause inside the knn query for filtering during the search. A filter outside it runs afterwards and can return fewer than k hits
  3. Ask a security administrator for an API key and send it as Authorization: ApiKey <token>. The token is shown once and lasts 90 days at most
  4. Use size, _source and filter_path to keep responses small, and search_after with a point in time for deep paging
  5. Set OPENSEARCH_SETTINGS_ALLOW_WRITE=false on the MCP server unless writes are needed. GenericOpenSearchApiTool can call any endpoint

Questions

Which is better for AI agents, Cloudflare AI Search or OpenSearch?

Cloudflare AI Search scores 76.6 (BB) on agent readiness against OpenSearch's 71.1 (BB), and leads in 3 of 7 scored categories. OpenSearch leads on reliability, payments & pricing and maintenance & community.

Which is cheaper for db hybrid, Cloudflare AI Search or OpenSearch?

OpenSearch, at free against $0.75 per 1,000 requests for Cloudflare AI Search. These are the vendors' published prices for the job.

Do Cloudflare AI Search and OpenSearch need an API key?

Both take an API key or an OAuth sign-in.

Can an agent call Cloudflare AI Search and OpenSearch without installing anything?

No hosted endpoint is listed for Cloudflare AI Search. OpenSearch runs on your own machine, with no hosted endpoint listed.

Are Cloudflare AI Search and OpenSearch open source?

No open-source release is listed for Cloudflare AI Search. OpenSearch is open source (Apache-2.0 for the engine, the plugins, the clients, the API specification and the MCP server).

Other comparisons with Cloudflare AI Search or OpenSearch

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.