{
 "kind": "api",
 "slug": "milvus",
 "path": "apis/milvus/",
 "name": "Milvus",
 "logo": "https://agentgid.com/media/avatars/milvus-io.png",
 "maker": "LF AI & Data Foundation (created by Zilliz)",
 "density": "full",
 "crumbs": [
  [
   "APIs",
   "apis/"
  ],
  [
   "Vector databases",
   "apis/vector-db/"
  ]
 ],
 "lead": "Open-source database for search by meaning.",
 "chips": [
  {
   "label": "Vector databases",
   "path": "apis/vector-db/"
  },
  {
   "label": "Official MCP server"
  }
 ],
 "primary": {
  "label": "Copy prompt for your agent",
  "copy": "Add Milvus search to my app: prototype with Milvus Lite (pin pymilvus 3.0.2 and milvus-lite 3.2.2), use the MilvusClient API only, read MILVUS_URI and MILVUS_TOKEN from .env on the server, and never send the token to the browser."
 },
 "links": [
  {
   "label": "Website",
   "href": "https://milvus.io"
  },
  {
   "label": "GitHub",
   "href": "https://github.com/milvus-io/milvus"
  }
 ],
 "track": "Outages, price changes and new versions on your dashboard",
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Open source",
   "status": "yes",
   "sub": "Run it yourself for free",
   "quote": null,
   "note": "No free tier on the pricing page. As reported on the official pricing page, checked Oct 10, 2026.",
   "src": "https://milvus.io"
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Allowed",
   "status": "yes",
   "sub": null,
   "quote": "distributed with Apache 2.0 License, with Zilliz as its major contributor.",
   "note": "Apache 2.0 allows use in paid products; keep the license and NOTICE when you ship Milvus code.",
   "src": "https://github.com/milvus-io/milvus/blob/master/README.md"
  },
  {
   "key": "key",
   "label": "Key & sign-up",
   "value": "API key, server only",
   "status": "info",
   "sub": "Env var none set by Milvus; the official MCP server reads MILVUS_URI and MILVUS_TOKEN",
   "quote": "After enabling authentication, you need to connect to Milvus using a username and password.",
   "note": "No Milvus account or key. A self-hosted server with authentication on takes a token \"user:password\"; Milvus Lite needs no login. The token is a database password; keep it on your server and never in page code.",
   "src": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/adminGuide/authenticate.md"
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Official MCP server",
   "status": "yes",
   "sub": "llms.txt · SDK",
   "quote": "This repository contains a MCP server that provides access to Milvus vector database functionality.",
   "note": " Our agent check: 4 of 6 (Nov 13, 2026).",
   "src": "https://github.com/zilliztech/mcp-server-milvus/blob/main/README.md"
  }
 ],
 "vfoot": "Checked against the maker's official pages, pricing on Oct 10, 2026.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Milvus does",
   "parts": [
    {
     "t": "prose",
     "text": "Milvus is a free, open-source database that you run yourself, not an online service with its own key. It stores texts, images or products as lists of numbers that capture their meaning, and finds the closest matches to a question. It runs inside a Python program on a laptop, on one server, or on a large cluster; the hosted version is sold as Zilliz Cloud."
    },
    {
     "t": "list",
     "items": [
      "Milvus is one of 24 APIs in the Vector databases category on AgentGid.",
      "It is one of 19 that can be started for free.",
      "It ships an official MCP server, like 12 others here.",
      "Its official SDK is the 14th most downloaded in the category (1M a week)."
     ],
     "muted": true
    },
    {
     "t": "h3",
     "text": "What people build with it"
    },
    {
     "t": "uses",
     "items": [
      {
       "title": "Search your help pages by meaning",
       "text": "Visitors type \"forgot my login\" and still find the article \"Reset your password\", because Milvus compares meaning, not exact words.",
       "idea": false
      },
      {
       "title": "Chatbot that answers from your files",
       "text": "Store your documents in Milvus, and let the chatbot pull the closest passages before it writes an answer.",
       "idea": false
      },
      {
       "title": "Results in one language only",
       "text": "Search by meaning but keep only items with a given label, such as one language, one shop or one customer.",
       "idea": false
      },
      {
       "title": "Similar products and films",
       "text": "Show \"you may also like\" items next to a product or a film, based on what the item is about.",
       "idea": false
      },
      {
       "title": "Find duplicate photos",
       "text": "Spot near-identical images that users upload, so the same photo is not stored or listed twice.",
       "idea": false
      },
      {
       "title": "Try it on a laptop first",
       "text": "Build and test your search inside one Python program with no server, then move the same code to a real server later.",
       "idea": false
      }
     ]
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Milvus popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "992K",
       "l": "SDK downloads a week",
       "d": "+10.1% on the 4-week average",
       "up": true
      },
      {
       "n": "46.7K",
       "l": "GitHub stars, milvus-io/milvus"
      }
     ]
    },
    {
     "t": "small",
     "text": "SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026."
    }
   ]
  },
  {
   "id": "pricing",
   "nav": "Pricing and limits",
   "h2": "Pricing",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Free tier",
       "v": "None"
      },
      {
       "l": "Cheapest plan",
       "v": "No monthly plan"
      },
      {
       "l": "Usage price",
       "v": "—"
      },
      {
       "l": "Plans",
       "v": "Free self-hosted open source; the managed version is sold as Zilliz Cloud."
      }
     ]
    },
    {
     "t": "small",
     "text": "As reported on the official pricing page, checked Oct 10, 2026. Prices change: confirm before you buy.",
     "link": "",
     "href": null
    }
   ]
  },
  {
   "id": "limits",
   "nav": null,
   "spy_as": "pricing",
   "h2": "Limits",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Self-hosted (all modes)",
       "v": "Up to 32,768 numbers per vector",
       "src": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/limitations.md"
      },
      {
       "l": "Self-hosted (all modes)",
       "v": "64 MB per insert, search or query request",
       "src": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/limitations.md"
      },
      {
       "l": "Self-hosted (all modes)",
       "v": "Loaded data must stay under 90% of the query nodes' memory",
       "src": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/limitations.md"
      }
     ]
    },
    {
     "t": "small",
     "text": "From the official docs.",
     "link": "github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/limitations.md",
     "href": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/about/limitations.md"
    }
   ]
  },
  {
   "id": "access",
   "nav": "Access and terms",
   "h2": "Key and access",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "How it signs in",
       "v": "No Milvus account or key. A self-hosted server with authentication on takes a token \"user:password\"; Milvus Lite needs no login."
      },
      {
       "l": "Environment variable",
       "v": "none set by Milvus; the official MCP server reads MILVUS_URI and MILVUS_TOKEN",
       "code": true
      },
      {
       "l": "Safe in browser code",
       "v": "No, keep it on your server",
       "status": "no"
      },
      {
       "l": "Card at sign-up",
       "v": "No"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Steps only a person can do"
    },
    {
     "t": "list",
     "items": [
      "Decide where Milvus runs in production (a server with Docker, Kubernetes, or Zilliz Cloud) and who pays for it. Put the address and login into .env as MILVUS_URI and MILVUS_TOKEN and read them on the server.",
      "On a self-hosted server, turn on authentication and set a new root password. Create a separate user for the app and use it as MILVUS_TOKEN (user:password)."
     ]
    }
   ]
  },
  {
   "id": "terms",
   "nav": null,
   "spy_as": "access",
   "h2": "Commercial use and your data",
   "parts": [
    {
     "t": "prose",
     "text": "Milvus is open source under the Apache 2.0 license. You may use it for free in paid products and client work, change it and pass it on, if you keep the license and notices."
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In a paid app",
       "v": "Yes",
       "status": "yes",
       "sub": "Apache 2.0 allows use in paid products; keep the license and NOTICE when you ship Milvus code.",
       "quote": "distributed with Apache 2.0 License, with Zilliz as its major contributor.",
       "src": "https://github.com/milvus-io/milvus/blob/master/README.md"
      },
      {
       "l": "redistribute-files",
       "v": "With conditions",
       "status": "cond",
       "sub": "You may copy and pass on Milvus, changed or not, with a copy of the Apache 2.0 license and its notices.",
       "quote": "You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications",
       "src": "https://github.com/milvus-io/milvus/blob/master/LICENSE"
      },
      {
       "l": "client-work",
       "v": "Yes",
       "status": "yes",
       "sub": "The Apache 2.0 license sets no limit on building for clients.",
       "quote": "distributed with Apache 2.0 License, with Zilliz as its major contributor.",
       "src": "https://github.com/milvus-io/milvus/blob/master/README.md"
      }
     ]
    }
   ]
  },
  {
   "id": "errors",
   "nav": null,
   "spy_as": "access",
   "h2": "Errors to handle",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "gRPC authentication error",
       "v": "The server has authentication on and the token is missing or wrong",
       "sub": "Check MILVUS_TOKEN (user:password) and the server address."
      },
      {
       "l": "collection not loaded",
       "v": "The search ran before the collection (or partition) was loaded into memory",
       "sub": "Call load_collection() once after creating the index, then search."
      },
      {
       "l": "client and server mismatch",
       "v": "Runtime errors that come from a client library version the server does not support",
       "sub": "Check that the client version matches the server version before other fixes."
      }
     ]
    }
   ]
  },
  {
   "id": "agent",
   "nav": "For agents",
   "h2": "Use it from an agent",
   "parts": [
    {
     "t": "rows",
     "rows": [
      {
       "l": "Our agent check",
       "v": "4 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page no, AI assistants allowed yes",
       "sub": "Checked Nov 13, 2026."
      },
      {
       "l": "MCP server",
       "v": "MCP Server for Milvus (zilliztech/mcp-server-milvus, open source, runs locally)",
       "sub": "uv run src/mcp_server_milvus/server.py --milvus-uri http://localhost:19530"
      },
      {
       "l": "npm",
       "v": "npm install @zilliz/milvus2-sdk-node",
       "code": true
      },
      {
       "l": "PyPI",
       "v": "pip install pymilvus",
       "code": true
      }
     ]
    },
    {
     "t": "h3",
     "text": "Instructions in its docs to check first"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "The docs say",
       "v": "“If you are using AI coding assistants like Claude Code or Cursor, you can install Milvus Skill to help your AI tools write correct Milvus code.”",
       "sub": "Optional; installing a skill changes the person's assistant setup, so ask them first."
      },
      {
       "l": "The docs say",
       "v": "“Check PyPI (`pip install --upgrade pymilvus`) or npm for the current SDK version rather than relying on a memorized version number.”",
       "sub": "Do not upgrade packages in the person's project on your own; pin the version they use and tell them about newer ones."
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Milvus",
       "me": true,
       "facts": [
        "Free (open source)",
        "No free tier",
        "Official MCP"
       ]
      },
      {
       "name": "Zilliz Cloud",
       "why": "Pick Zilliz Cloud when you want the same Milvus run for you as a service, with a free cluster to start.",
       "path": "apis/zilliz-cloud/",
       "facts": [
        "See its page",
        "No free tier"
       ]
      },
      {
       "name": "pgvector",
       "why": "Pick pgvector when your app already uses Postgres and you want vectors in the same database as your other tables.",
       "path": "apis/pgvector/",
       "facts": [
        "Free (open source)",
        "No free tier"
       ]
      },
      {
       "name": "Qdrant Cloud",
       "why": "Pick Qdrant Cloud for another open-source vector engine offered as a managed service with a free cluster.",
       "path": "apis/qdrant-cloud/",
       "facts": [
        "Free (open source)",
        "Free tier",
        "Official MCP"
       ]
      }
     ],
     "more": "All vector databases APIs",
     "more_path": "apis/vector-db/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "prompt",
     "text": "Add Milvus search to my app: prototype with Milvus Lite (pin pymilvus 3.0.2 and milvus-lite 3.2.2), use the MilvusClient API only, read MILVUS_URI and MILVUS_TOKEN from .env on the server, and never send the token to the browser."
    },
    {
     "t": "steps",
     "items": [
      {
       "text": "Install the Python client together with the local Milvus Lite engine (Python 3.10 or later).",
       "code": "python3 -m pip install \"pymilvus[milvus-lite]==3.0.2\" \"milvus-lite==3.2.2\"",
       "src": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/quickstart.md"
      },
      {
       "text": "Open a local database and create a collection with the size of your number lists.",
       "code": "from pymilvus import MilvusClient\n\nclient = MilvusClient(\"milvus_demo.db\")\nclient.create_collection(\n    collection_name=\"demo_collection\",\n    dimension=768,  # The vectors we will use in this demo have 768 dimensions\n)",
       "src": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/quickstart.md"
      },
      {
       "text": "For production, run Milvus Standalone in Docker (or Distributed on Kubernetes), or use Zilliz Cloud, and connect with its address and token.",
       "code": "client = MilvusClient(uri=\"http://localhost:19530\", token=\"root:Milvus\")",
       "src": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/install-overview.md"
      }
     ]
    },
    {
     "t": "h3",
     "text": "First request"
    },
    {
     "t": "tabs",
     "label": "First request",
     "items": [
      {
       "tab": "Request",
       "code": "res = client.insert(collection_name=\"demo_collection\", data=data)\n\nprint(res)",
       "intro": "Milvus has no hosted service of its own; this is from the official Quickstart against local Milvus Lite (client and data made in the steps before). Zilliz Cloud is the hosted offer."
      },
      {
       "tab": "Response",
       "code": "{'insert_count': 3, 'ids': [0, 1, 2], 'cost': 0}"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Mistakes to avoid"
    },
    {
     "t": "mistakes",
     "items": [
      {
       "dont": "Writing code with the old ORM style (connections.connect(), Collection(), utility.list_collections())",
       "fix": "Use MilvusClient for everything",
       "why": "The docs call the ORM interface deprecated and say it will be removed."
      },
      {
       "dont": "client.update(...) to change a stored item",
       "fix": "client.upsert(...), which replaces the whole item when its id exists",
       "why": "There is no update method."
      },
      {
       "dont": "Creating a collection now and planning to add another vector field or change a field type later",
       "fix": "Design the fields first; to change them, create a new collection and copy the data",
       "why": "Vector fields cannot be added and field types cannot be changed in any version."
      },
      {
       "dont": "Upgrading milvus-lite to 3.x and opening the old .db file",
       "fix": "Export the data with the old Lite version, then import it into a new 3.x database",
       "why": "Lite 3.x uses a new storage format and cannot open 2.x files."
      },
      {
       "dont": "Leaving the default root:Milvus login on a server that others can reach",
       "fix": "Turn on authentication, change the root password and give the app its own user",
       "why": "The default user and password are the same on every new install."
      }
     ]
    }
   ]
  },
  {
   "id": "faq",
   "nav": "Questions",
   "h2": "Questions",
   "parts": [
    {
     "t": "faq",
     "items": [
      {
       "q": "Does Milvus cost anything?",
       "a": "No license fee; it is open source under Apache 2.0. You pay only for the machine you run it on, or for Zilliz Cloud if you want it hosted.",
       "evidence": {
        "url": "https://github.com/milvus-io/milvus/blob/master/README.md",
        "quote": "distributed with Apache 2.0 License, with Zilliz as its major contributor."
       }
      },
      {
       "q": "Can I try it without a server or Docker?",
       "a": "Yes. Milvus Lite runs inside a Python program and keeps the data in a local folder.",
       "evidence": {
        "url": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/install-overview.md",
        "quote": "Milvus Lite is a Python library that can be imported into your applications."
       }
      },
      {
       "q": "Do I have to rewrite code to move from Lite to a server?",
       "a": "Not much. All modes share the same client interface; you change the address and the login.",
       "evidence": {
        "url": "https://github.com/milvus-io/milvus-docs/blob/v3.0.x/site/en/getstarted/quickstart.md",
        "quote": "All deployment modes of Milvus share the same API, so your client side code doesn't need to change much if moving to another deployment mode."
       }
      },
      {
       "q": "Which languages have official clients?",
       "a": "Python (PyMilvus), Java, Go, Node.js and a REST interface; a C# client was contributed by Microsoft.",
       "evidence": {
        "url": "https://milvus.io/llms.txt",
        "quote": "The primary SDK is PyMilvus for Python; Java, Go, Node.js, and RESTful SDKs are also available."
       }
      },
      {
       "q": "Can it do keyword search too?",
       "a": "Yes. Milvus has full text search (BM25) and can combine it with search by meaning.",
       "evidence": {
        "url": "https://github.com/milvus-io/milvus/blob/master/README.md",
        "quote": "In addition to semantic search through dense vector, Milvus also natively supports full text search with BM25 as well as learned sparse embeddings such as SPLADE and BGE-M3."
       }
      }
     ]
    }
   ]
  }
 ],
 "glance": [
  [
   "Maker",
   "LF AI & Data Foundation (created by Zilliz)"
  ],
  [
   "Category",
   "Vector databases"
  ],
  [
   "Price",
   "Free (open source)"
  ],
  [
   "Official SDK",
   "npm @zilliz/milvus2-sdk-node, PyPI pymilvus"
  ],
  [
   "Latest SDK",
   "3.0.2 on npm"
  ],
  [
   "Agent check",
   "4 of 6"
  ],
  [
   "Pricing checked",
   "Oct 10, 2026"
  ]
 ],
 "good": [
  "There is no Milvus account or bill. You run it yourself, so your own server, memory and backups are your cost and your job.",
  "Milvus Lite is for local tests and small projects; for big production loads the docs point to a server or Zilliz Cloud.",
  "A new server starts with the user root and the password Milvus. Change it before the server is reachable from outside."
 ],
 "checked_line": "Read by AgentGid from 19 official pages, card checked Nov 10, 2026; usage numbers update daily."
}