Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Milvus vs Pinecone: open-source database or hosted service?

Pick Milvus if you want an open-source vector database you can run yourself, starting as a small library and growing into a distributed cluster. Pick Pinecone if you'd rather call a hosted API, never look after a cluster, and like the idea of its Assistant and Nexus knowledge layers on top. There's no outright winner: they sell two different ways of operating.

This pair usually gets compared as two vector databases, and that framing hides the real choice. One side is an open-source project you download and run. The other is a service you sign in to. So before you look at a single feature, decide who you want looking after the database at three in the morning: your own engineers, or someone else's.

What you're weighing up underneath

The open-source project is developed by Zilliz, and its docs say it's soon to be donated to the LF AI & Data Foundation. If you want it managed for you, you don't buy it under the same name. Zilliz sells it as Zilliz Cloud, a separately branded service with serverless, dedicated and bring-your-own-cloud options.

That changes the comparison. Put the open-source download next to the hosted service and you're weighing running your own database against renting one. If you want a like-for-like contest between two hosted products, the fairer match is Zilliz Cloud against the hosted service. Keep that in mind when you read any head-to-head of this pair.

The hosted side has shifted as well. It's started releasing open source of its own with pg_pinecone, a Postgres extension, and its home page now pitches Nexus, which the vendor says compiles enterprise data into governed knowledge for agents. It isn't selling only a database any more.

Six areas, side by side

AreaMilvusPinecone
Licence and hostingOpen source under the Apache licence, offered as software and as a cloud serviceA hosted platform you sign in to; its open-source release is the pg_pinecone Postgres extension
Ways to deployLite (a library in notebooks), Standalone (one machine), Distributed (billions of vectors) and Zilliz CloudServerless database, Dedicated Read Nodes (provisioned) and bring-your-own-cloud for a zero-access environment
Managed optionSold by Zilliz as Zilliz Cloud, a separately branded serviceThe product itself, with a console for indexes, metrics and namespaces
Beyond the databaseAttu, a CLI, backup and sizing tools, and example apps such as RAG and image searchAn Assistant product and Nexus, a knowledge engine for agents (vendor claim)
Agent and AI tool hooksClaude Context and Deep Searcher listed among its toolsPlugin for Claude Code, Cursor, Copilot, Codex and Gemini CLI, plus MCP and API
Latest release newsA new major version with lake-native search and object storage underneathpg_pinecone, plus benchmark claims for Nexus against agentic RAG

Growing from a laptop to a cluster

This is where the open-source project looks strongest on paper. You can begin with Milvus Lite as a library inside a notebook, move to Standalone on a single machine, then go Distributed once the data gets big. The vendor says it scales to tens of billions of vectors. You can stay self-hosted the whole way, or hand the job to Zilliz Cloud later, which is the managed version of the same database.

The hosted service grows in a different way. Its database is serverless and built on object storage. When you want more control, it offers Dedicated Read Nodes, which are provisioned, plus a bring-your-own-cloud setup for a zero-access environment. There's no server to stand up at the start: you work with indexes through the API and the console, and the console shows metrics and namespaces too.

More than storage: the extras each one bundles

Around the core database, the open-source project offers practical tooling: Attu, a command-line tool, backup and sizing helpers, and example apps for RAG and image search. It's the toolkit of a database project, aimed squarely at the people who run it.

The hosted service has gone further up the stack. Alongside the database it sells an Assistant product and Nexus, and it publishes benchmark claims for Nexus against agentic RAG. If you want a ready-made retrieval layer rather than a database you build on, that's a real point in its favour. If you only want somewhere to store and search embeddings, it's extra surface you may never touch.

Plugging into coding agents

Both sides want to be where developers already work. The open-source project lists Claude Context and Deep Searcher among its tools. The hosted service offers a plugin for Claude Code, Cursor, Copilot, Codex and Gemini CLI, plus MCP and an API. If your team lives inside an AI coding assistant, the hosted side has the longer list of named hooks, which is worth knowing if you want agents to query your data directly.

Who should go with which: my verdict

Go with Milvus if you want open-source control, plan to self-host, or like the idea of starting as a library and growing into a distributed cluster, with Zilliz Cloud as a managed route later. Go with Pinecone if you want a hosted API, no cluster to look after, and you see value in its Assistant and Nexus layers. Neither is the outright winner. They sell different operating models, so pick the one that matches who'll run it day to day.

If you're still mapping the wider field, our roundup of the best vector databases for AI apps covers more options. If you're also choosing where the models behind your search will run, our guide to AI inference platforms picks up from there.

Four more places your embeddings could live

Qdrant

Best for: A vector search engine you can use as a managed cloud, in a hybrid setup or at the edge in beta, with a serverless waitlist open.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Weaviate

Best for: Open-source vector search, RAG and agentic AI in one platform, with a Query Agent and built-in embeddings.

Chroma

Best for: Simple open-source search on object storage covering vector, full-text, regex and metadata search; its home page says it's joining Replit.

pgvector

Best for: Teams already on Postgres who'd like vector similarity search inside the database they run today.

Do you make a vector database or AI search tool? Tool makers can ask to be considered for a featured place on this page.

Three checks before you commit

  • Who's on call for the database? If nobody on your team wants that job, the hosted route or Zilliz Cloud makes more sense than self-hosting.
  • Do you need the extras? An Assistant and a knowledge engine are only worth weighing if you want a ready retrieval layer, not just storage.
  • Are you comparing like with like? For two hosted services, put Zilliz Cloud next to the hosted option, not the open-source download.

Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.

Related: the field service page.

Frequently asked questions

Is Milvus open source?

Yes. It's released under the Apache licence. Its docs say it's developed by Zilliz and soon to be donated to the LF AI & Data Foundation.

Is there a managed version of the open-source database?

Yes. Zilliz sells it as Zilliz Cloud, with serverless, dedicated and bring-your-own-cloud options.

Can I run Pinecone on my own servers?

It's presented as a hosted platform. It does offer a bring-your-own-cloud option for a zero-access environment, and its open-source release is the pg_pinecone Postgres extension.

Does the hosted service have a free plan?

Its site invites you to start for free. Check the sign-up page for what's included before you load real data.

Which one works better with AI coding assistants?

The hosted service names a plugin for Claude Code, Cursor, Copilot, Codex and Gemini CLI, plus MCP. The open-source project lists Claude Context and Deep Searcher among its tools.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.