Vespa vs Milvus

Vespa fits teams that need search, ranking and serving over large, continuously changing data in one path. Milvus fits teams that mainly store embeddings with metadata in a dedicated vector database. Both core projects are Apache 2.0, so workload shape and operating model usually decide.

On this page

Vespa vs Milvus: when to choose each

Choose Vespa when the query path has to do more than vector lookup. Its README positions it for search, recommendation and personalization over large, continuously changing data, with vectors, text and structured fields matched and ranked together at serving time. Ranking logic lives in the application package, and teams can extend it with custom Java components, which suits engineering groups that already own search relevance work. Choose Milvus when the job is a dedicated vector database for embeddings plus structured metadata, and similarity search with metadata filters makes up most of the query. Milvus runs in three modes: Milvus Lite as a Python library for prototyping, Milvus Standalone as a single-machine server in one Docker image, and Milvus Distributed on Kubernetes for very large workloads.

The choice turns on three questions. First, does the workload need ranking and text search in the query path? If it does, Vespa keeps those steps in one system. If the query is mostly embedding similarity with metadata filters, Milvus is the narrower tool and usually carries less to operate. Second, what scale and Kubernetes skills does your team have? Milvus Distributed separates metadata in etcd, object storage in MinIO, S3 or Azure Blob, and the write-ahead log in Woodpecker, Kafka or Pulsar, so plan to run each dependency. Its Docker prerequisites list 8 GB of RAM for Standalone and 32 GB for Cluster, with SSD storage. Confirm the equivalent sizing for Vespa against your own data, because the Vespa README gives a latency target but no hardware figures. Third, does a managed option matter? Vespa Cloud and a managed Milvus service both exist, so compare regions, support terms and data residency before you decide.

License alone seldom decides this. Both core repositories are Apache License 2.0, so the comparison comes down to workload shape and operating model. Test the performance claims with your own data: the Vespa README describes typical query answers in under 100 milliseconds, and you should measure that against your own query mix before relying on it. Also price in switching cost. Vespa schemas and ranking profiles and Milvus collections and index settings are each specific to their platform, so moving later means rewriting query logic and rebuilding indexes. A short proof of concept using your own embeddings, metadata and filters, with latency and memory measured at expected volume, will show which constraint binds first.

Which fits your workload: Vespa vs Milvus by scenario

This table maps five common workloads to the platform that fits them better, along with the condition that would reverse each choice. Read the better fit column first, then check the last column against your own query patterns and how often your data changes. The main takeaway: Milvus fits vector-first retrieval and scale-out, while Vespa fits workloads where text, vectors and structured fields must be ranked together.

ScenarioBetter fitWhy, and when it flips
Illustrative internal support chatbot: embeddings and metadata filtersMilvusVector search with structured metadata filters is its core job. Flips to Vespa if the bot also needs text ranking.
Product or content search combining text, vectors and structured filters in one queryVespaVespa serves search over text, vectors and structured data at serving time. Flips to Milvus if you only need vectors plus metadata.
Recommendation or personalization over frequently changing recordsVespaVespa's README targets search, recommendation and personalization over large, continuously changing data. Flips to Milvus if the job is nearest-neighbor lookup only.
Single-machine pilot by a small teamMilvus Lite or Milvus StandaloneLite is a Python library, Standalone one Docker image. Flips to Vespa if the pilot must rank text and vectors together.
Multi-node Kubernetes deployment for very large vector collectionsMilvus DistributedMilvus Distributed targets billion-scale workloads, with query, data and index nodes scaling separately. Flips to Vespa if ranking must combine text and structured signals.

How Vespa and Milvus are built and where they run

Vespa and Milvus differ less in what they store than in who runs the services around it. Vespa offers a self-run instance or a managed service, while Milvus scales from a Python library to a Kubernetes cluster that depends on separate metadata, log and object storage. For each choice below, check who operates each dependency and who applies its patches.

Self-run Vespa or Vespa Cloud

The Vespa README offers two routes: run your own instance by following the getting-started guide, or deploy applications to Vespa Cloud. Self-running makes your team the operator of nodes, upgrades and backups, which suits organizations with platform staff inside their own infrastructure. Vespa Cloud moves that work to the vendor, so confirm where your data is hosted, what the service terms cover and how you would export data later. Vespa publishes a release from master each morning CET, Monday through Thursday, so plan your upgrade cadence either way.

Vespa README

Scaling Vespa with nodes and Java

Vespa applications scale by adding nodes, which the README ties to redundancy, and they can be extended with custom Java components. This matters when ranking or inference logic lives in application code your team owns. Your team owns those Java components and must rebuild and retest them against each Vespa release. Confirm node sizing and hardware requirements in the Vespa documentation before you estimate capacity. Before comparing with Milvus, ask whether its extension options cover the same ranking logic.

Milvus Lite for prototyping

Milvus Lite runs as a Python library, so there is no server to install and no separate service to operate. The Milvus overview positions it for prototyping, which makes it suited to testing embeddings and schema choices before production. Your application process holds the data, so access control and backups depend entirely on that application. Plan the move to Standalone or Distributed before you need multi-user access, shared backups or higher load, and keep the data model portable from the start.

Milvus Standalone in one image

Standalone ships as one Docker image on a single machine, with etcd and MinIO in separate containers and Woodpecker bundled as the write-ahead log. The Docker prerequisites list 8 GB of RAM as the minimum, with 4 or more cores recommended and SSD storage. You operate three stateful services on one host: etcd for metadata, MinIO for objects and Woodpecker for the log. Patching means updating the image and each dependency, so confirm with the Milvus documentation how backups should cover etcd and MinIO together.

Milvus Distributed on Kubernetes

Distributed runs stateless proxies alongside coordinator and worker nodes, with data kept in object storage on MinIO, S3 or Azure Blob. The Milvus overview states that query, data and index nodes scale independently. The Docker prerequisites list 32 GB of RAM and 8 or more cores for Cluster, with SSD storage. Your team runs etcd, the write-ahead log (Woodpecker, Kafka or Pulsar) and the object store alongside Kubernetes, so settle who patches each one before go-live. The Milvus Operator install guide is the next read for that work.

Milvus Operator guide

Decision path from workload to platform

The diagram starts with one question: does the query path need ranking, search or recommendation? A yes sends the workload to Vespa, where the next check is whether your team will run its own instance or use Vespa Cloud, since that choice decides who operates the cluster. A no sends it to Milvus, where scale and operating model select one of three modes: Milvus Lite for prototypes, Milvus Standalone for a single machine, or Milvus Distributed on Kubernetes. Every branch ends in the same step: a proof of concept on your own data and query load, because deployment effort and latency depend on your data shape and traffic.

Both branches end in a proof of concept on your own data and load.

Vespa vs Milvus side by side on search, vectors and operations

This table compares Vespa and Milvus on the capabilities that shape search design and day-to-day operations. Each row names the condition under which an advantage matters, so read it against your own query mix, data volume and identity requirements. The main takeaway is that Vespa fits teams who need ranking and vectors in one serving path, while Milvus fits teams whose core workload is vector retrieval with metadata filters.

CapabilityVespaMilvus
Primary purposeServing engine for search, recommendation and personalization over large, changing data. Pick it when ranking and vectors must run in one query path.Vector database for storing embeddings and searching them with structured metadata. Pick it when vector retrieval is the core workload and filters are metadata-based.
License and governanceApache 2.0 for the repository. Confirm governance and Vespa Cloud terms with the vendor before committing.Apache 2.0 under the LF AI and Data Foundation, with Zilliz as major contributor. Confirm the support route you need.
Query modelVectors, tensors, text and structured data queried at serving time in one application. Matters when a query mixes text ranking with vector signals.Stores embeddings and searches them together with structured metadata filters. Matters when filtering on metadata is the main query shape.
Latency focusVespa README states typical queries finish in under 100 milliseconds. Matters for interactive serving, so test your own load.Latency depends on index type, filters and hardware. Matters for interactive retrieval, so ask for benchmarks at your vector count.
ScalingScale by adding nodes for capacity and redundancy. Matters when data changes constantly and the application must grow with it.Compute and storage scale independently across query, data and index nodes. Matters when storage grows faster than query load, or the reverse.
ExtensibilityCustom Java components can extend the application. Matters when ranking or processing logic must live inside the search engine.Extension points to confirm with Milvus documentation and the release you plan to run. Matters if you need custom server-side code.
Identity integrationConfirm SSO and role control for each deployment option you choose. Matters when teams need different access to the same application.Confirm SSO and role control for the self-hosted release or cloud option. Matters when a review asks who can read or write embeddings.
Deployment modesVespa Cloud or your own instance, following the getting-started guide. Matters if you want a managed option beside self-hosting.Lite as a Python library, Standalone as one Docker image, Distributed on Kubernetes. Matters when you start small and move to a cluster later.
Storage and write-ahead logConfirm the storage layout and write path in the Vespa documentation for your release. Matters for backup and recovery planning.Object storage, etcd for metadata, and Woodpecker, Kafka or Pulsar as the write-ahead log. Matters when you already run Kafka or Pulsar.

License and editions: what is open and what is hosted

Vespa's repository content is licensed under Apache 2.0, and the README points to a self-hostable engine alongside a hosted route. The sources do not describe a paid self-hosted edition, so confirm commercial terms before you plan around one.

  • License scope: The README says all repository content is Apache 2.0, and the Apache License 2.0 text in the LICENSE file governs it. Check the file on the branch you deploy from.
  • Custom code: The README says applications can be extended with custom Java components. Ask your counsel how the license applies to components your team writes and keeps private.
  • Release cadence: New releases are cut from the master branch every morning CET, Monday through Thursday. Pin a version and test each upgrade, because the code changes often.
  • Latest release and hosting: The latest GitHub release is v8.796.11, published 2026-11-30. Vespa Cloud is the hosted option for teams that prefer a managed service over running their own clusters.

Before you commit, confirm the license text on your deployment branch and ask Vespa for its support terms in writing.

What drives the running cost of each platform

Most of the one-time cost of Vespa or Milvus is the build: design, the first deployment, data loading and initial tuning. The recurring cost is what keeps the platform running, and it has three parts, starting with infrastructure. A Milvus Distributed cluster on Kubernetes runs stateless proxies, coordinators and worker nodes, plus etcd for metadata, object storage such as MinIO, S3 or Azure Blob, and a write-ahead log such as Woodpecker, Kafka or Pulsar. The Milvus Docker prerequisites list a minimum of 32 GB of RAM for a Cluster deployment, 8 or more cores recommended, and SSD storage, so each layer carries its own bill. For Vespa, the main lever is node count, because redundancy comes from scaling to more nodes. Cloud compute and storage are paid to the cloud provider, any hosted Vespa Cloud or Milvus cloud subscription is paid to the vendor, and internal staff cover daily running. Confirm your node sizes and storage tiers against your own data volume before you price either option.

Skills are the recurring cost teams most often underestimate. Milvus Distributed asks for Kubernetes operations and storage operations across etcd, the object store and the write-ahead log, and someone must own metadata and object store backups and prove they can restore them. Vespa shifts the work toward search and ranking: schema design, rank profiles, query tuning and, where ranking needs logic beyond the built-in options, custom Java components that must be built, tested and upgraded alongside the application. Internal staff run both platforms every day. A services partner can take a scoped implementation, such as the cluster build, the first runbooks and the handover, and is paid for that scope only. Ask any partner which of these skills it will transfer to your team, and in what form, before you agree on who carries the daily load.

Upgrades and support set the recurring rhythm. Vespa cuts new releases from its master branch on a frequent schedule, so an instance left unmanaged falls behind quickly. Milvus maintains two release lines, so you must pick the line you follow and decide when to move between them, using the Milvus release notes as the reference. Either way, put a staging gate in front of production: upgrade staging first, replay representative indexing and queries, and compare ranking results before promotion. Support can come from a vendor contract, a managed cloud service or a partner retainer, and each covers patches and incident response differently. Engagements from DeployOpen are fixed-scope with the scope agreed in writing, and ongoing support is available as a retainer. When you request any quote, ask for the written scope and the environments it covers, the upgrade cadence and who performs each upgrade, the runbooks delivered, a backup restore test with its frequency, and the retainer terms, including exclusions and how additional changes are priced.

Moving between Vespa and Milvus: what transfers and what is rebuilt

This sequence separates what moves cleanly between Vespa and Milvus from what has to be rebuilt on the target. It ends with a cutover in which both systems have answered the same production queries and the team has a signed-off record of result quality and latency. Query logic and ranking are the parts most often rebuilt, so the switching cost grows with how much logic lives in the search layer.

  1. Inventory the data model, filters and query patterns

    Start by listing every collection or schema, each vector field with its dimension and distance metric, each metadata field used in filters, and the query types your applications send. Include hybrid text and vector queries, facets, and any ranking that happens in application code rather than in the search system. The platform or search team owns this list, and each application owner confirms the queries their service sends. The step is done when a second engineer can reproduce every query from the document, and each query is tagged as a simple lookup, filtered vector search, hybrid search or custom ranking.

  2. Decide which fields and metadata carry over

    Mark each field in the inventory as carry over, transform or drop. Vector fields carry over only if the embedding model and dimension stay the same, and metadata fields carry over only if their types and filter behavior can be expressed on the target. Fields used only by the old ranking logic need a new home in the target's ranking or search definition, so flag them now. The data architect leads this decision with the search team. The step closes with a field mapping table signed off by the teams that own each application, so no one discovers a missing filter field during cutover.

  3. Export embeddings and metadata, then check reuse

    Export documents, metadata and stored vectors from the source system in a format both sides can read, and record the embedding model and version used to produce each vector. Confirm with your source system's export tooling that stored vectors can be read back in full, since some setups store only references. If the embedding model is unchanged and the vectors are complete, you can reuse them. If the model changed, or vectors are missing or inconsistent, plan to regenerate embeddings and account for that compute. The step is done when row counts and sample checksums match between export and source, and the reuse decision is written down for each collection.

  4. Rebuild indexes and ranking logic on the target

    Recreate the collections, index types, distance settings and ranking or search logic on the target platform. Confirm the equivalent definitions in each vendor's current documentation for the release you will run, because schema, indexing and ranking are structured and named differently on each side, so a direct mapping is unlikely. Ranking logic held in application code moves with the application, while logic held in the search layer must be reimplemented. If you run custom Java components on Vespa, do not assume an equivalent on Milvus. Confirm the extension options first. The step is done when every query from the inventory runs on the target and its results have been reviewed by the owning team.

  5. Run both systems in parallel on your queries

    Send representative traffic to both systems, or replay a stored query set against each, and compare result overlap, ranking order and latency. Use your own queries and data volume, because published benchmarks may not match your dataset size or query mix. Agree acceptance thresholds with the application owners before the run starts, and keep the old system as the source of truth for writes during this step. The step is done when the comparison report shows results and latency for each query type against those thresholds, and the owners have signed off on every gap that remains.

  6. Cut over and decommission the old system

    Switch application traffic and writes to the target in a planned change window, keeping the old system readable and able to take a rollback until the owners accept the new results. Update connection settings, client libraries and any search code that still points at the old system. After acceptance, export a final snapshot of the old system, retire its indexes and services, and remove its credentials and backups according to your retention policy. The step is done when the application owners confirm the new system is live, the rollback path has been tested or formally waived, and the decommission record lists every component removed.

Where Vespa and Milvus projects usually run long

A Milvus pilot is the quicker of the two to stand up. Milvus Standalone runs as a single-machine server from one Docker image. The Docker Compose setup runs etcd and MinIO in separate containers, and Woodpecker is bundled as the write-ahead log. The prerequisites page lists a minimum of 8 GB of RAM for Standalone and 32 GB for Cluster, with 4 or more cores recommended for Standalone and 8 or more for Cluster, plus SSD storage. Confirm those figures against your hardware before you size anything beyond a pilot. Moving to Milvus Distributed on Kubernetes adds the work that usually sets the schedule: operator installation, object storage and metadata services, log infrastructure, and node sizing for the query, data and index nodes. Review the Milvus Operator guide with your platform team before you commit to a cluster design.

Self-running Vespa follows its getting-started guide, and the Vespa README offers both that route and deployment to Vespa Cloud, so this choice comes early in the project. The engineering scope usually sits in the application package: schema definition, ranking expressions and any custom Java components the application needs, which the README says can extend the system. Each of these needs versioned deployment, test queries against representative data and a review step before production. Ask whether your team can own ranking changes without outside Vespa specialists. That answer changes the staffing plan more than the installation does, and it should be settled before the pilot is judged a success.

Four areas run longest on both platforms. Data ingestion and re-embedding usually takes more time than the pilot suggested. When the embedding model changes, existing vectors must be regenerated, so ask each vendor how reindexing runs without taking search offline. Identity and access wiring covers how users, service accounts and admin interfaces reach the database, and it should be tested against your directory before go-live. Backup and restore testing is the item teams most often skip. Schedule a restore into a clean environment and time it. Sizing under production load and the upgrade process close the list. Milvus maintains two release lines and publishes point releases often, so stage every upgrade before adopting it. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms inside the client's own infrastructure. Most engagements are fixed-scope, with scope and deliverables agreed in writing before work starts.

Vespa vs Milvus: questions buyers ask before hiring help

Which is cheaper to run, Vespa or Milvus?

Neither is cheaper in every setup, so the answer depends on sizing, managed versus self-run choices and who operates the stack. Running cost comes from compute and memory for query and data nodes, storage for indexes and raw data, and the staff hours to patch, monitor and back up the system. Milvus separates compute from storage and can use S3, MinIO or Azure Blob for object storage, so storage can grow on a different curve from query capacity. Vespa can run on Vespa Cloud or on your own instances, so the managed-versus-self-run decision can change the bill as much as the engine choice does. For either product, ask for a quote that lists node counts, memory and disk per environment, who owns backups and monitoring, and which costs are one-time setup versus recurring operation.

How long does a Vespa or Milvus pilot take?

The pilot length depends on scope and data volume, so no fixed duration applies until the scope is written. A pilot that loads a small sample and tests a few queries moves faster than one that migrates a full corpus, adds access controls and tunes ranking or recall against your own evaluation set. Data volume matters because loading, indexing and reindexing take longer as the corpus grows, and sizing for either product also depends on the deployment mode you pick. DeployOpen plans and delivers most engagements as fixed-scope work, with scope, deliverables and timelines agreed in writing before work starts. Ask for the timeline to appear in that written scope, along with the data sample size, the query set used to judge results and the environment where the pilot runs.

Can our team run Milvus Standalone without outside help?

Yes for a pilot, provided the host meets the Docker prerequisites, but production needs named owners for backup, upgrades and monitoring. The Milvus Docker prerequisites page lists a minimum of 8 GB RAM for Standalone, 4 or more cores recommended and SSD storage. In Docker Compose Standalone, etcd and MinIO run in separate containers and Woodpecker is bundled as the write-ahead log, so a pilot has several moving parts to understand. Production adds work your team must own: backing up etcd and object storage, planning upgrades across release lines and wiring metrics and alerts into your monitoring stack. Outside help can cover planning, hardening and runbooks, delivered as fixed-scope work in your infrastructure, but the system still needs staff who can operate it after handover.

What skills does Milvus Distributed require from an engineering team?

Milvus Distributed needs a team that can run Kubernetes well, since Milvus positions this mode for billion-scale workloads on Kubernetes. Engineers should be comfortable with stateless proxies, coordinator and worker nodes that scale independently, and the dependencies behind them: etcd for metadata, object storage such as MinIO, S3 or Azure Blob, and a write-ahead log built on Woodpecker, Kafka or Pulsar. Someone must own capacity planning for query, data and index nodes, upgrades and monitoring for each component. The Milvus Operator install guide covers the cluster install path, and your team should check its skills before choosing this mode: Kubernetes operations, storage and backup for stateful services and on-call coverage. DeployOpen can plan, implement and document the cluster under a written scope, but it does not replace the staff who run it day to day.

Do Vespa and Milvus both support SSO and audit logging?

Confirm both with each vendor before committing, because this comparison cannot give a verified yes or no for either product. Ask Vespa and Milvus which SSO protocols their open-source builds support, whether SSO sits in the open-source build or in a paid or managed tier and which audit events are logged, where they go and how long they are kept. Also ask whether the search endpoint can sit behind your identity-aware proxy, and how user identity reaches the query layer from your application. Get the answers in writing for the exact version you plan to deploy, since your compliance team will review them. DeployOpen can build the identity integration, access controls and audit logging around whichever product you choose and prepare the evidence your security and compliance teams review, but it does not issue audit reports or certifications.

How hard is it to switch between Vespa and Milvus later?

The effort depends mainly on how much query logic lives in your search layer, such as ranking expressions, filters, hybrid scoring and the application code that calls the API. Embeddings and metadata are often the easier part to export and reload, and reindexing time follows data volume. If most ranking logic sits in application code that builds Milvus queries, a move touches fewer components than one where ranking lives in a Vespa application with custom Java components. Before any move, document each query type, its filters and its expected results, then run both systems against the same evaluation set. Ask for migration work as a separate written scope that includes the cutover plan, the rollback path and the test evidence your team needs to approve the change.

Do we need a retainer for upgrades and continuous testing?

No, a retainer is optional, since most engagements are fixed-scope projects with scope, deliverables and timelines agreed in writing. A retainer covers ongoing support, upgrades and continuous testing after the first project, on a recurring schedule you agree. Without one, your team keeps upgrades, monitoring and release-note review in-house, or buys another project when a change is needed. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports the system, and continuous security testing can run alongside. Your team supplies change approvals, named operators and maintenance windows. Ask for the retainer scope in writing, including response expectations and exclusions, because those terms define what you receive.

How DeployOpen helps you choose, implement or migrate without favoring either platform

DeployOpen is a Chainscore Labs company that plans, implements, integrates and supports self-hosted open-source platforms in your own cloud accounts, data centers or air-gapped networks. For Vespa vs Milvus, we compare both platforms against your workload, then carry out only the path you choose, with the same written scope for either outcome. We are not an official partner, reseller or certified provider of Vespa or Milvus, so the recommendation follows from your workload, team and environment.

How we scope

  • We start with your workload: search, hybrid ranking or vector retrieval with metadata filters.
  • The written scope names the deployment mode per platform, including Milvus Standalone or Distributed and self-run Vespa.
  • Fixed-scope engagements agree deliverables and timelines in writing before work starts, and ongoing support is available as a retainer.

How we build

  • We install the chosen platform in your infrastructure, then integrate it with your identity provider and data sources.
  • For Vespa, we extend the application with custom Java components where the scoped use case requires them.
  • For Milvus, we deploy the chosen mode with its etcd, object storage and write-ahead log components.

How we hand over

  • We test the running setup for access, data exposure and backups, then retest after fixes.
  • Documentation covers the architecture, the component inventory and the runbooks your operators need for the chosen platform.
  • For migrations, the scope defines the data moved, cutover steps and rollback plan before data moves.

How we support

  • Ongoing support covers upgrades, backups and continuous testing for Vespa or Milvus, available as a retainer.
  • Milvus publishes two release lines, so the retainer should name which line you run and how upgrades are tested.
  • Vespa releases from master on Monday through Thursday mornings CET, so confirm how your team will track and test upgrades.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.