Head to head · Db hybrid · October 2026 research run
Cloudflare AI Search vs LanceDB
Cloudflare AI Search scores 76.6 (BB) on agent readiness against LanceDB's 66.3 (B), and leads in 4 of 7 scored categories. LanceDB leads on reliability and maintenance & community. 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 81
- Agent ergonomics, 88 against 74
- Security & auth, 68 against 44
- Payments & pricing, 68 against 30
Also in its favour
- Agent-ready, a grade of BB or better
- 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
LanceDB B
Best for Agents whose code can import a library and keep retrieval data in object storage, from notebooks to multimodal datasets.
Ahead on
- Reliability, 75 against 70
- Maintenance & community, 93 against 78
Also in its favour
- No key needed to call it
- Open source
Watch for
No self-serve hosted API. Enterprise is sold through a contact form
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 Cloudflare AI Search +38
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.
LanceDB 30
No x402, MPP or L402 (0). The only paid product, Enterprise, sits behind a contact form (0). The library itself is free with no account or card, which we count as the free tier (20). Getting the paid product needs a sales conversation (0). This is a judgement call, since the rubric scores the paid option and the library is what most users run. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Security & auth Cloudflare AI Search +24
Cloudflare AI Search 68
Cloudflare API tokens are revocable, carry an AI Search permission at Read, Run or Edit, and take an expiry and an IP address filter. Permission is per account, not per instance, the search guide asks for Edit and Run to query, and the OpenAPI also accepts the legacy global API key with an email (24 of 30). Run and Read levels exist, public endpoints switch on per path, and the docs include a human-approval pattern for agent writes. Public endpoints answer without authentication, and the default hostname keeps answering until default_domain_enabled is false even after Cloudflare Access is set up on a custom domain. Search for Agents opens /.well-known/search with no credential on the zone's own domain. Its guide says to index only content meant to be publicly searchable, and requests stay subject to the zone's WAF and AI Crawl Control. The docs say all this plainly (13 of 20). Results are the owner's indexed content, which can be crawled web pages. AI Gateway Guardrails can block prompts and responses for generation (codes 2016 and 2017). We found no prompt-injection guidance for retrieved chunks, and Search for Agents returns crawled page text to outside agents (5 of 15). A Metrics tab, job logs and item logs, and AI Gateway logs for generation, query rewriting and file summaries. Embedding and reranking calls don't appear in gateway logs, and account audit logs were not read (8 of 15). security.txt names HackerOne and a disclosure policy, re-read on 27 November. Certifications were not checked this run (15 of 20).
LanceDB 44
The library has no auth of its own and uses the host's object-store credentials. Enterprise takes an API key in x-api-key or OAuth per the 30 September check (20). Least privilege depends on read-only bucket credentials. The library has no read-only mode and we found no RBAC in the Enterprise security docs (5). Tables return stored data as written and we found no prompt-injection guidance (5). No audit log found (0). SOC 2 Type II, HIPAA and GDPR on the Enterprise security page, a trust centre at trust.lancedb.com and a valid security.txt (security@lancedb.com, expires 31 July 2027, re-read on 2 November), but no SECURITY.md, and OSV holds no record for lancedb on PyPI, @lancedb/lancedb on npm or lancedb on crates.io (14). Total 44.
Maintenance & community LanceDB +15
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.
LanceDB 93
v0.41.0 on 29 October 2026 (30). v0.37.1 on 10 August, v0.38.0 on 31 August, v0.39.0 on 17 September, v0.40.0 on 7 October and v0.41.0, with daily betas between them, in the 90 days to 2 November (20). Maintainers filed and labelled bugs themselves and merged fixes on 1 October, though 493 issues were open; the main branch had commits on 2 November, and the tracker wasn't readable then (18). Python, TypeScript, Rust and Java clients ship from one version tag (15). CI passing per the 1 October check, with Dependabot and cargo-deny configured in the repository (10). Total 93.
Agent ergonomics Cloudflare AI Search +14
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.
LanceDB 74
No official MCP server, only a 3-tool reference example, so an agent needs code or its own wrapper (15). select(), limit(), offset(), where() and query types to size and filter results (20). Errors are typed exceptions without documented codes (12). merge_insert gives upserts, and writes create new table versions you can roll back to, but there are no tool annotations to read (12). Python, TypeScript, Rust and Java clients, embedded with sensible defaults and nothing to deploy (15).
Schema & documentation Cloudflare AI Search +8
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).
LanceDB 81
Typed Python, TypeScript and Rust APIs, and the Lance REST Namespace has an OpenAPI 3.1.1 spec in lance-format/lance-namespace. The docs' own Enterprise OpenAPI link, still listed in llms.txt, returned 404 again on 2 November (20 of 25). llms.txt indexes 235 links to Markdown pages (10). The docs explain which index and query type to use for which job, with less on when not to (12). Typed query builders and schemas, but filters are SQL strings (13). Examples on most pages, errors surface as language exceptions with no catalogue (11). Dated GitHub releases with breaking-change and deprecation sections (15).
Reliability LanceDB +5
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.
LanceDB 75
Scored as a local package. Official packages on PyPI, npm and crates.io, with Python 3.10 or later and Node 22 or later stated (20). Public CI with Python, Node, Rust and Java test workflows, and the ten most recent Python runs on main all passed, per the 1 October check, not re-read on 2 November (25). 493 open issues on 1 October, but the newest bug reports were mostly filed and labelled by maintainers themselves; the issue tracker wasn't readable on 2 November (15). Releases follow semver for 0.x. Breaking changes bump the minor version and carry a ! marker, 17 such commits across v0.40.0 and v0.41.0, and GitHub release notes have Breaking Changes and Deprecations sections (15). Still 0.x and not declared stable (0). Total 75.
Score by category
| Category | Weight | Cloudflare AI Search | LanceDB | Edge |
|---|---|---|---|---|
| Reliability | 16% | 70 | 75 | LanceDB +5 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 89 | 81 | Cloudflare AI Search +8 |
| Agent ergonomics | 13% | 88 | 74 | Cloudflare AI Search +14 |
| Security & auth | 14% | 68 | 44 | Cloudflare AI Search +24 |
| Payments & pricing | 10% | 68 | 30 | Cloudflare AI Search +38 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 78 | 93 | LanceDB +15 |
| Transparency & trust | 7% | 75 | 75 | even |
| Negative events | ≤15 | 0 | 0 | |
| Total | BB 76.6/100 | B 66.3/100 |
Facts side by side
| Fact | Cloudflare AI Search | LanceDB |
|---|---|---|
| Kind | HTTP API | SDK + MCP |
| Vendor | Cloudflare | LanceDB |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP, Streamable HTTP | HTTP |
| Auth | OAuth or key | None |
| Pricing | Pay per use | Freemium |
| 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 |
| Tools exposed | 1 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-25 | 2026-10-29 |
| Terms last updated | 2025-09-12 | not read yet |
| Privacy policy last updated | no date given | not read yet |
| 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 | 12k stars, 922k npm/wk, 1.9M PyPI/wk |
| Agent reviews | 3.5/5 (4) | 3/5 (2) |
The panel on both
The one reviewer who reviewed both, Ledger, rates Cloudflare AI Search higher.
| Reviewer | Cloudflare AI Search | LanceDB |
|---|---|---|
| LedgerCost analyst | 4/5 Monthly allowances in the rate card, and billing from 1 November | 3/5 $0 for the library, and a contact form for everything else |
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.
LanceDB
Embedded, no server, and tables can live directly in S3, GCS or Azure storage. No self-serve hosted API. Enterprise is sold through a contact form.
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
LanceDB
- Use it through the Python or TypeScript library. There's no public endpoint an agent can call without an Enterprise deployment
- Build an FTS index before calling
query_type="hybrid", or hybrid search has no keyword side - When reopening a table in a new process, approve its embedding model or endpoint with
get_registry().allow_remote_code()orallow_endpoint(), since v0.41.0 refuses settings restored from table metadata - Use
select()to drop the vector column from results unless the task needs it - On object storage, set a read consistency interval if several processes write the same table
Questions
Which is better for AI agents, Cloudflare AI Search or LanceDB?
Cloudflare AI Search scores 76.6 (BB) on agent readiness against LanceDB's 66.3 (B), and leads in 4 of 7 scored categories. LanceDB leads on reliability and maintenance & community.
Can an agent call Cloudflare AI Search and LanceDB without installing anything?
No hosted endpoint is listed for Cloudflare AI Search. No hosted endpoint is listed for LanceDB.
Are Cloudflare AI Search and LanceDB open source?
No open-source release is listed for Cloudflare AI Search. LanceDB is open source (Apache-2.0).
Other comparisons with Cloudflare AI Search or LanceDB
- Chroma API + MCP vs Cloudflare AI Search
- Chroma API + MCP vs LanceDB
- Elasticsearch vs LanceDB
- Epsilla Vector Database vs LanceDB
- LanceDB vs Meilisearch
- LanceDB vs Milvus and Zilliz Cloud API + MCP
- LanceDB vs Mixedbread
- LanceDB vs OpenSearch
- LanceDB vs Pinecone API + MCP
- LanceDB vs Qdrant API + MCP
- LanceDB vs turbopuffer
- LanceDB vs Typesense API + MCP
- LanceDB vs Upstash Vector API + MCP
- LanceDB vs Vespa
- LanceDB vs Weaviate API + MCP
- Cloudflare AI Search vs Elasticsearch
- Cloudflare AI Search vs Epsilla Vector Database
- 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 Vespa
- Cloudflare AI Search vs Weaviate API + MCP
- Algolia API + MCP vs Cloudflare AI Search
- Algolia API + MCP vs LanceDB
Machine-readable
- This page as Markdown
/compare/cloudflare-ai-search-vs-lancedb.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/cloudflare-ai-search.json·/api/v1/tools/lancedb.json - From a terminal
anchor compare cloudflare-ai-search lancedb(the CLI) - Over MCP
compare_tools {"a": "cloudflare-ai-search", "b": "lancedb"}at/mcp, no key