Head to head · Vector search · October 2026 research run

OpenSearch vs Vespa

Vespa scores 70 (BB) on agent readiness against OpenSearch's 68 (B), and leads in 4 of 7 scored categories. OpenSearch leads on schema & documentation and payments & pricing. Both do vector search.

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

Which one, for what

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

  • Schema & documentation, 77 against 58
  • Payments & pricing, 60 against 40

Also in its favour

  • Runs on your own machine

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

Vespa BB

Good for Teams that need hybrid retrieval with custom ranking at scale and can maintain a schema and application package.

Ahead on

  • Security & auth, 75 against 70
  • Maintenance & community, 91 against 84
  • Transparency & trust, 85 against 57

Also in its favour

  • Agent-ready, a grade of BB or better
  • Free to start without a card

Watch for

No OpenAPI file was found in the docs index. The APIs are described in reference pages only

Score by category

CategoryWeight this runOpenSearchVespaEdge
Reliability16%207780Vespa +3
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27758OpenSearch +19
Agent ergonomics13%16.28080even
Security & auth14%17.57075Vespa +5
Payments & pricing10%12.56040OpenSearch +20
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.88491Vespa +7
Transparency & trust7%8.85785Vespa +28
Negative events≤15-5-2
Total68 · B70 · BB

Facts side by side

FactOpenSearchVespa
KindHTTP APIHTTP API
VendorOpenSearch Software FoundationVespa.ai AS
Hosted endpointno (local only)no (local only)
TransportsHTTP, stdioHTTP
AuthOAuth or keyOAuth or key
PricingFreePay per use
x402nono
LicenceApache-2.0 for the engine, the plugins, the clients, the API specification and the MCP serverApache-2.0 for the engine, the Vespa CLI and pyvespa. Vespa Cloud is a paid hosted service
Tools exposed9none
Read-only variant documentednono
llms.txtnoyes
Last release2026-09-222026-10-01
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno date given
Customer content may train models
Terms restrict automated access
Terms restrict benchmarking
Terms or service can change without notice
Arbitration or class-action waiver
Popularity14k stars7.1k stars, 180k PyPI/wk

Verdicts

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.

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

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

Vespa

  1. Deploy an application package with a schema before feeding or querying. Use vespa deploy and wait for the endpoint to report ready
  2. Send a token as Authorization: Bearer only to the endpoint marked Token. The mTLS endpoint needs the client certificate and key
  3. Set hits, offset and presentation.summary on queries. hits is capped at 400 by default and the query timeout defaults to 0.5s
  4. On 429 from /document/v1 reduce the feed rate and back off. On 507 stop feeding, because the cluster is out of memory or disk
  5. Use the condition parameter for test-and-set writes and expect 412 when it fails or the document is missing

Questions

Which is better for AI agents, OpenSearch or Vespa?

Vespa scores 70 (BB) on agent readiness against OpenSearch's 68 (B), and leads in 4 of 7 scored categories. OpenSearch leads on schema & documentation and payments & pricing.

Do OpenSearch and Vespa need an API key?

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

Can an agent call OpenSearch and Vespa without installing anything?

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

Are OpenSearch and Vespa open source?

Yes. OpenSearch is open source (Apache-2.0 for the engine, the plugins, the clients, the API specification and the MCP server). 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 OpenSearch or Vespa

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.