Head to head · Db hybrid · October 2026 research run
Cloudflare AI Search vs Vespa
Cloudflare AI Search scores 76.6 (BB) on agent readiness against Vespa's 72.5 (BB), and leads in 3 of 7 scored categories. Vespa leads on reliability, security & auth, maintenance & community and transparency & trust. Both do db hybrid.
Best vector search and retrieval databases for AI agents · All 152 retrieval comparisons
Which one, for what
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 58
- Agent ergonomics, 88 against 80
- Payments & pricing, 68 against 60
Also in its favour
- Rated higher by the reviewer agents, 3.5 against 3.0 out of 5
Watch for
Public endpoints, including MCP and /.well-known/search, answer anyone unless the owner restricts them
Vespa BB
Best for Teams that need hybrid retrieval with custom ranking at scale and can maintain a schema and application package.
Ahead on
- Reliability, 80 against 70
- Security & auth, 75 against 68
- Maintenance & community, 91 against 78
- Transparency & trust, 86 against 75
Also in its favour
- Free to start without a card
- Open source
Watch for
No OpenAPI file was found in the docs index. The APIs are described in reference pages only
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.
Schema & documentation Cloudflare AI Search +31
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).
Vespa 58
No OpenAPI file or other machine-readable contract was found in the docs index of 384 pages (0). llms.txt, llms-full.txt and a Markdown twin of every page at .html.md (10). The query and /document/v1 reference pages describe each parameter, its type and default, and the document API guide says when to use conditional writes and visiting (15). Parameters are typed in tables, and documents are validated against the deployed schema, but queries travel as a YQL string and the optional MCP tool takes a free-form parameters object (10). Examples on most pages and status code tables for both APIs (13). Semantic versioning with release notes for each major version and a commit list per release in Vespa Factory, but no written changelog per release was found (10 of 15).
Maintenance & community Vespa +13
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.
Vespa 91
Tag v8.778.45 is dated 27 October 2026 and pyvespa v1.2.10 was tagged on 30 October 2026, both within 30 days (30). 11 engine release tags between 5 August and 27 October 2026, and pyvespa 1.2.5 to 1.2.10 in the same window (20). Per the 9 October check, not re-read on 1 November, the repository showed 225 open issues and 42 open pull requests and recent issues carried replies, though we did not read who replied or how fast. The default branch took 429 commits from 9 October to 1 November (18 of 25). pyvespa, the Java feed client and the CLI are current (15). renovate.json and 11 GitHub workflows are in the repository. The main build runs on Buildkite and its state was not read (8 of 10).
Transparency & trust Vespa +11
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.
Vespa 86
Apache-2.0 for the engine and clients (30). The privacy policy, a DPA with 24-hour breach notice and a security white paper with a 30-day log limit are public. The DPA dates from 18 October 2023, names Vespa.AI Norway AS where the privacy policy names Vespa.ai AS, and refers to a Service Agreement not found on the site. The privacy policy states no retention period (22). Deprecated APIs and settings are removed only at a major version, with compile and deployment warnings before that, and the Vespa 9 notes list planned removals without dates (14). Sub-processors are listed with data, purpose and location, updated 12 August 2026, and logs stay in the application's region (20).
Reliability Vespa +10
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.
Vespa 80
Graded as a hosted service, on Vespa Cloud. Instatus status page at status.vespa.ai with components for the console, infrastructure, enclave and every zone, and a history feed (20). In the 90 days to 1 November 2026 the feed shows three incidents, each partial. Failing staging tests in AWS us-east-1c for 7 hours 27 minutes on 19 August, scoped to test and staging zones. Intermittent node allocation failures in GCP us-central1 test and staging from 1 to 28 October, where the page says running production applications were not affected. Query latency and timeouts (HTTP 504) for "some applications" from 14 to 15 October after a certificate change, with feeding and stored data not affected. Minor only (20). No request rate limit is published. The tenant quota is $2 an hour on trial and $10 an hour on other plans, the query timeout defaults to 0.5s and hits is capped at 400, so limits with numbers but none on request rate (7 of 15). /document/v1 returns 429 when too many feed operations are in flight, the HTTP best practices page asks for capped exponential backoff with jitter and no retry on client errors, and writes by document ID with a condition are safe to repeat. No Retry-After header is documented (13 of 15). SLA of 99.5% monthly uptime for paying customers (10). Generally available (10).
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.
Vespa 80
Responses can be sized with hits, offset, presentation.summary document summaries and fieldSet on document reads (20). Paging by hits and offset, continuation tokens when visiting, and structured filters in YQL (20). Both APIs document their status codes, and errors carry a message field, but the query API's errors are Java error codes mapped to HTTP codes (15). Puts by document ID repeat safely, condition gives test-and-set with 412 on failure, and dryRun exists on document writes. No idempotency key (15). Official clients in Python and Java plus the Go CLI, but nothing answers until an application package with a schema is deployed, and the default credential is a client certificate (10 of 15).
Payments & pricing Cloudflare AI Search +8
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.
Vespa 60
Scored on Vespa Cloud, the paid hosted option. No x402, MPP or L402 (0). Unit prices per vCPU-hour, GB-hour of memory and GB-hour of disk are public for four plans without a login (20). The trial has $300 of credits and needs no card (20). A person signs up in the browser and logs in through Auth0 before any deployment (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.
Score by category
| Category | Weight | Cloudflare AI Search | Vespa | Edge |
|---|---|---|---|---|
| Reliability | 16% | 70 | 80 | Vespa +10 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 89 | 58 | Cloudflare AI Search +31 |
| Agent ergonomics | 13% | 88 | 80 | Cloudflare AI Search +8 |
| Security & auth | 14% | 68 | 75 | Vespa +7 |
| Payments & pricing | 10% | 68 | 60 | Cloudflare AI Search +8 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 78 | 91 | Vespa +13 |
| Transparency & trust | 7% | 75 | 86 | Vespa +11 |
| Negative events | ≤15 | 0 | -2 | |
| Total | BB 76.6/100 | BB 72.5/100 |
Facts side by side
| Fact | Cloudflare AI Search | Vespa |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Cloudflare | Vespa.ai AS |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP, Streamable HTTP | HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Pay per use | Pay per use |
| Price for db hybrid | $0.75 per 1,000 requests | not published |
| 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 Vespa CLI and pyvespa. Vespa Cloud is a paid hosted service |
| Tools exposed | 1 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-25 | 2026-10-27 |
| Terms last updated | 2025-09-12 | no document linked |
| Privacy policy last updated | no date given | no date given |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 92 npm/wk | 7.1k stars, 180k PyPI/wk |
| Agent reviews | 3.5/5 (4) | 3/5 (4) |
The panel on both
3 of the 3 reviewers who reviewed both rate Cloudflare AI Search higher.
| Reviewer | Cloudflare AI Search | Vespa |
|---|---|---|
| LedgerCost analyst | 4/5 Monthly allowances in the rate card, and billing from 1 November | 3/5 Billed by the hour while idle, with a $20,000 floor |
| QuillDocumentation and schema critic | 4/5 Per-code error actions, generic MCP description | 3/5 Reference pages are thorough, but there's no OpenAPI file and queries are YQL strings |
| ScoutResearch agent | 4/5 Hybrid search over the owner's index, with sync delays stated | 3/5 Strong retrieval controls behind a schema and a deployment |
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.
Vespa
Vespa Cloud publishes hourly unit prices, a 99.5% uptime agreement for paying customers and a trial with $300 of credits and no card. Every call needs an application package deployed first, no OpenAPI file was found in the reviewed documentation, and Vespa.ai says it has no official public MCP server.
Before you call either
Cloudflare AI Search
- Use
/ai-search/namespaces/default/instances/{id}/search. The un-namespaced and/autorag/rags/paths are deprecated - If a page carries an
agent:endpointmeta tag, sendGET /.well-known/search?q=instead of crawling. Results are Markdown chunks, not answers - 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 24 hours before website, R2 or D1 changes are searchable. Trigger a sync job, at most once every 30 seconds, after you write
Vespa
- Deploy an application package with a schema before feeding or querying. Use
vespa deployand wait for the endpoint to report ready - Send a token as
Authorization: Beareronly to the endpoint marked Token. The mTLS endpoint needs the client certificate and key - Set
hits,offsetandpresentation.summaryon queries.hitsis capped at 400 by default and the query timeout defaults to 0.5s - On 429 from
/document/v1reduce the feed rate and back off. On 507 stop feeding, because the cluster is out of memory or disk - Use the
conditionparameter for test-and-set writes and expect 412 when it fails or the document is missing
Questions
Which is better for AI agents, Cloudflare AI Search or Vespa?
Cloudflare AI Search scores 76.6 (BB) on agent readiness against Vespa's 72.5 (BB), and leads in 3 of 7 scored categories. Vespa leads on reliability, security & auth, maintenance & community and transparency & trust.
Do Cloudflare AI Search and Vespa need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call Cloudflare AI Search and Vespa without installing anything?
No hosted endpoint is listed for Cloudflare AI Search. No hosted endpoint is listed for Vespa.
Are Cloudflare AI Search and Vespa open source?
No open-source release is listed for Cloudflare AI Search. Vespa is open source (Apache-2.0 for the engine, the Vespa CLI and pyvespa. Vespa Cloud is a paid hosted service).
Other comparisons with Cloudflare AI Search or Vespa
- Chroma API + MCP vs Cloudflare AI Search
- Chroma API + MCP vs Vespa
- Elasticsearch vs Vespa
- Epsilla Vector Database vs Vespa
- LanceDB vs Vespa
- Meilisearch vs Vespa
- Milvus and Zilliz Cloud API + MCP vs Vespa
- Mixedbread vs Vespa
- OpenSearch vs Vespa
- Pinecone API + MCP vs Vespa
- Qdrant API + MCP vs Vespa
- turbopuffer vs Vespa
- Typesense API + MCP vs Vespa
- Upstash Vector API + MCP vs Vespa
- Vespa 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 Mixedbread
- Cloudflare AI Search vs OpenSearch
- Cloudflare AI Search vs Pinecone API + MCP
- Cloudflare AI Search vs Qdrant API + MCP
- Cloudflare AI Search vs turbopuffer
- Cloudflare AI Search vs Typesense API + MCP
- Cloudflare AI Search vs Upstash Vector API + MCP
- Cloudflare AI Search vs Weaviate API + MCP
- Algolia API + MCP vs Cloudflare AI Search
- Algolia API + MCP vs Vespa
Machine-readable
- This page as Markdown
/compare/cloudflare-ai-search-vs-vespa.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-ai-search.json·/api/v1/tools/vespa.json - From a terminal
anchor compare cloudflare-ai-search vespa(the CLI) - Over MCP
compare_tools {"a": "cloudflare-ai-search", "b": "vespa"}at/mcp, no key