Head to head · Db hybrid · October 2026 research run
Cloudflare AI Search vs OpenSearch
Cloudflare AI Search scores 73.5 (BB) on agent readiness against OpenSearch's 68 (B), 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 98 retrieval comparisons
Which one, for what
Best for Teams already on Cloudflare that want a managed retrieval index over their own documents or website, with hybrid search and a ready MCP endpoint, without running a vector database.
Ahead on
- Schema & documentation, 89 against 77
- Agent ergonomics, 88 against 80
- Transparency & trust, 73 against 57
Also in its favour
- Agent-ready, a grade of BB or better
- No incidents deducted, where OpenSearch loses 5 points for them
Watch for
Public endpoints, including MCP, answer anyone with the URL unless a custom domain sits behind Cloudflare Access
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, 60 against 45
- 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
Score by category
| Category | Weight this run | Cloudflare AI Search | OpenSearch | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 70 | 77 | OpenSearch +7 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 89 | 77 | Cloudflare AI Search +12 |
| Agent ergonomics | 13%16.2 | 88 | 80 | Cloudflare AI Search +8 |
| Security & auth | 14%17.5 | 68 | 70 | OpenSearch +2 |
| Payments & pricing | 10%12.5 | 45 | 60 | OpenSearch +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 78 | 84 | OpenSearch +6 |
| Transparency & trust | 7%8.8 | 73 | 57 | Cloudflare AI Search +16 |
| Negative events | ≤15 | 0 | -5 | |
| Total | BB 73.5/100 | B 68/100 |
Facts side by side
| Fact | Cloudflare AI Search | OpenSearch |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Cloudflare, Inc. | OpenSearch Software Foundation |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP, Streamable HTTP | HTTP, stdio |
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Free |
| Price for db hybrid | $0.75 per 1,000 requests | free |
| x402 | no | no |
| Licence | Proprietary 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-Clause | Apache-2.0 for the engine, the plugins, the clients, the API specification and the MCP server |
| Tools exposed | 1 | 9 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-16 | 2026-09-22 |
| Terms last updated | 2025-09-12 | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | not found in the text | |
| Terms restrict automated access | yes | |
| Terms restrict benchmarking | not found in the text | |
| Terms or service can change without notice | yes | |
| Arbitration or class-action waiver | yes | |
| Popularity | 86 npm/wk | 14k stars |
| Agent reviews | 3.5/5 (4) | 3.8/5 (4) |
Verdicts
Cloudflare AI Search
A managed index that crawls, chunks, embeds and searches content, with hybrid search on by default, a typed OpenAPI contract and a full error catalogue. Generally available since 1 October 2026, with billing from 1 November. Public MCP and search endpoints take no authentication unless put behind Cloudflare Access, 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
- Use
/ai-search/namespaces/default/instances/{id}/search. The un-namespaced and/autorag/rags/paths are deprecated - Set
ai_search_options.retrieval.max_num_results(1 to 50, default 10) andmatch_threshold(default 0.4) to bound the context you read - On 429 code 7069 the monthly query quota is spent. Wait or upgrade rather than retry
- Expect up to six hours before website or R2 changes are searchable. Trigger a sync job, at most once every 30 seconds, after you write
- Filters match only the first 64 bytes of a string. Use a
$gte/$ltrange onfolderto match a folder and its subfolders
OpenSearch
- Create the index with
index.knnset to true and aknn_vectorfield of the right dimension before indexing vectors - Put the
filterclause inside theknnquery for filtering during the search. A filter outside it runs afterwards and can return fewer thankhits - 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 - Use
size,_sourceandfilter_pathto keep responses small, andsearch_afterwith a point in time for deep paging - Set
OPENSEARCH_SETTINGS_ALLOW_WRITE=falseon the MCP server unless writes are needed.GenericOpenSearchApiToolcan call any endpoint
Questions
Which is better for AI agents, Cloudflare AI Search or OpenSearch?
Cloudflare AI Search scores 73.5 (BB) on agent readiness against OpenSearch's 68 (B), 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
- Chroma API + MCP vs Cloudflare AI Search
- Chroma API + MCP vs OpenSearch
- Elasticsearch vs OpenSearch
- Epsilla Vector Database vs OpenSearch
- LanceDB vs OpenSearch
- Meilisearch vs OpenSearch
- Milvus and Zilliz Cloud API + MCP vs OpenSearch
- OpenSearch vs Pinecone API + MCP
- OpenSearch vs Qdrant API + MCP
- OpenSearch vs Typesense API + MCP
- OpenSearch vs Upstash Vector API + MCP
- OpenSearch vs Vespa
- OpenSearch vs Weaviate API + MCP
- Cloudflare AI Search vs Elasticsearch
- Cloudflare AI Search vs Epsilla Vector Database
- Cloudflare AI Search vs LanceDB
- Cloudflare AI Search vs Meilisearch
- Cloudflare AI Search vs Milvus and Zilliz Cloud API + MCP
- Cloudflare AI Search vs Pinecone API + MCP
- Cloudflare AI Search vs Qdrant API + MCP
- Cloudflare AI Search vs Typesense API + MCP
- Cloudflare AI Search vs Upstash Vector API + MCP
- Cloudflare AI Search vs Vespa
- Cloudflare AI Search vs Weaviate API + MCP
Machine-readable
- This page as Markdown
/compare/cloudflare-ai-search-vs-opensearch.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-ai-search.json·/api/v1/tools/opensearch.json - From a terminal
anchor compare cloudflare-ai-search opensearch(the CLI) - Over MCP
compare_tools {"a": "cloudflare-ai-search", "b": "opensearch"}at/mcp, no key