
pymilvus
Python SDK for Milvus Vector Database
The Lens
Pymilvus is the Python SDK for Milvus, a vector database purpose-built for that. Vector databases store data as mathematical representations (embeddings) so your app can find things by similarity rather than exact keyword matches.
This is specifically the Python client library, not the database itself. You use it to connect to a Milvus instance, insert vectors, build indexes, and run similarity searches. The API covers everything: collection management, partitioning, hybrid search (combining vector similarity with traditional filters), and bulk data operations.
pymilvus is free under Apache 2.0. Milvus itself is also free to self-host. Zilliz Cloud (the managed version from the Milvus creators) has a free tier with 2 collections and 1M vectors, then starts at ~$65/mo for production workloads.
The catch: this is a client SDK, not a standalone tool. You need a running Milvus instance to connect to, and Milvus has real operational complexity. It requires etcd, MinIO, and message queues in production. If you just want to experiment with vector search, Chroma is dramatically simpler to get started with. For production vector search without the ops headache, Qdrant or Pinecone's managed service are worth evaluating.
Free vs Self-Hosted vs Paid
fully free### Pricing Breakdown
**pymilvus (this package):** Completely free. Apache 2.0 licensed Python SDK. No paid features, no usage limits.
**Milvus (the database it connects to):** - Self-hosted: Free. But requires etcd + MinIO + Pulsar/Kafka for production. Significant infrastructure. - Milvus Lite: Free, embedded mode for development. Runs in-process, no external dependencies.
**Zilliz Cloud (managed Milvus):** - Free tier: 2 collections, 1M vectors, 100MB storage - Serverless: ~$0.15/million vector queries + storage costs - Dedicated: Starting ~$65/mo for production clusters - Enterprise: Custom pricing
**Comparison to alternatives:** - Chroma: Free, self-hosted, embedded by default. Much simpler for small-scale vector search - Qdrant: Free self-hosted, cloud starts at $25/mo. Easier ops than Milvus, strong performance - Pinecone: Free tier (100K vectors), paid starts at $25/mo. Fully managed, zero ops - Weaviate: Free self-hosted, cloud starts at $25/mo. Good for multi-modal search
**The math:** If you're already running Kubernetes and have ops capacity, self-hosted Milvus is free and scales to billions of vectors. If you're a small team, Chroma or Qdrant will get you to production faster with less infrastructure. Zilliz Cloud's free tier is generous enough for prototyping.
Free SDK for a free database, but Milvus's production ops are heavy. Consider Chroma or Qdrant for simpler setups.
Similar Tools
License: Apache License 2.0
Use freely. Patent grant included.
Commercial use: ✓ Yes
About
- Owner
- The Milvus Project (Organization)
- Stars
- 1,360
- Forks
- 422
Explore Further
More tools in the directory
Get tools like this delivered weekly
The Open Source Drop — the best new open source tools, analyzed. Free.
