# Cloudflare AI Search vs OpenSearch > Cloudflare AI Search scores 73.5 (BB) to OpenSearch's 68 (B) for db hybrid. Prices, MCP, x402, uptime and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-opensearch - Markdown: https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-opensearch.md (~2,850 tokens) - Slim: https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-opensearch.min.md (~780 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-opensearch.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key) - Licence: CC BY 4.0, credit required: when you show, quote or pass on anything from here (to a user in an answer, in a product, a report or a dataset), say it's from Anchor Terminal (anchorterminal.com) and link the page or API address you took it from. Reviews also credit their author. - Updated: 2026-10-17 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. - Cloudflare AI Search: grade BB, 73.5/100, rank #92 of 1133. Markdown https://www.anchorterminal.com/tools/cloudflare-ai-search.md · JSON https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-search.json - OpenSearch: grade B, 68/100, rank #252 of 1133. Markdown https://www.anchorterminal.com/tools/opensearch.md · JSON https://www.anchorterminal.com/api/v1/tools/opensearch.json - Best vector search and retrieval databases for AI agents: https://www.anchorterminal.com/best/vector-search/index.md - All 98 retrieval comparisons: https://www.anchorterminal.com/compare/vector-search/index.md ## Which one, for what ### Cloudflare AI Search (BB) Good 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 ### OpenSearch (B) Good 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 | Cloudflare AI Search | OpenSearch | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 70 | 77 | OpenSearch +7 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 89 | 77 | Cloudflare AI Search +12 | | Agent ergonomics | 13% (16.2 this run) | 88 | 80 | Cloudflare AI Search +8 | | Security & auth | 14% (17.5 this run) | 68 | 70 | OpenSearch +2 | | Payments & pricing | 10% (12.5 this run) | 45 | 60 | OpenSearch +15 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 78 | 84 | OpenSearch +6 | | Transparency & trust | 7% (8.8 this run) | 73 | 57 | Cloudflare AI Search +16 | | Negative events | ≤15 | 0 | -5 | | | **Total** | | **73.5 · BB** | **68 · B** | | ## 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 1. Use `/ai-search/namespaces/default/instances/{id}/search`. The un-namespaced and `/autorag/rags/` paths are deprecated 2. 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 3. On 429 code 7069 the monthly query quota is spent. Wait or upgrade rather than retry 4. 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 5. Filters match only the first 64 bytes of a string. Use a `$gte`/`$lt` range on `folder` to match a folder and its subfolders ### 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 `. 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 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). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-opensearch.json, and with the fewest tokens: https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-opensearch.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "cloudflare-ai-search", "b": "opensearch"}`. From a terminal: `anchor compare cloudflare-ai-search opensearch` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/cloudflare-ai-search.json and https://www.anchorterminal.com/api/v1/tools/opensearch.json ## Other comparisons with Cloudflare AI Search or OpenSearch - [Chroma API + MCP vs Cloudflare AI Search](https://www.anchorterminal.com/compare/chroma-vs-cloudflare-ai-search.md) - [Chroma API + MCP vs OpenSearch](https://www.anchorterminal.com/compare/chroma-vs-opensearch.md) - [Elasticsearch vs OpenSearch](https://www.anchorterminal.com/compare/elasticsearch-vs-opensearch.md) - [Epsilla Vector Database vs OpenSearch](https://www.anchorterminal.com/compare/epsilla-vs-opensearch.md) - [LanceDB vs OpenSearch](https://www.anchorterminal.com/compare/lancedb-vs-opensearch.md) - [Meilisearch vs OpenSearch](https://www.anchorterminal.com/compare/meilisearch-vs-opensearch.md) - [Milvus and Zilliz Cloud API + MCP vs OpenSearch](https://www.anchorterminal.com/compare/milvus-zilliz-vs-opensearch.md) - [OpenSearch vs Pinecone API + MCP](https://www.anchorterminal.com/compare/opensearch-vs-pinecone.md) - [OpenSearch vs Qdrant API + MCP](https://www.anchorterminal.com/compare/opensearch-vs-qdrant.md) - [OpenSearch vs Typesense API + MCP](https://www.anchorterminal.com/compare/opensearch-vs-typesense.md) - [OpenSearch vs Upstash Vector API + MCP](https://www.anchorterminal.com/compare/opensearch-vs-upstash-vector.md) - [OpenSearch vs Vespa](https://www.anchorterminal.com/compare/opensearch-vs-vespa.md) - [OpenSearch vs Weaviate API + MCP](https://www.anchorterminal.com/compare/opensearch-vs-weaviate.md) - [Cloudflare AI Search vs Elasticsearch](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-elasticsearch.md) - [Cloudflare AI Search vs Epsilla Vector Database](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-epsilla.md) - [Cloudflare AI Search vs LanceDB](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-lancedb.md) - [Cloudflare AI Search vs Meilisearch](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-meilisearch.md) - [Cloudflare AI Search vs Milvus and Zilliz Cloud API + MCP](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-milvus-zilliz.md) - [Cloudflare AI Search vs Pinecone API + MCP](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-pinecone.md) - [Cloudflare AI Search vs Qdrant API + MCP](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-qdrant.md) - [Cloudflare AI Search vs Typesense API + MCP](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-typesense.md) - [Cloudflare AI Search vs Upstash Vector API + MCP](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-upstash-vector.md) - [Cloudflare AI Search vs Vespa](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-vespa.md) - [Cloudflare AI Search vs Weaviate API + MCP](https://www.anchorterminal.com/compare/cloudflare-ai-search-vs-weaviate.md) --- Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp