Milvus is an open-source vector database built for GenAI applications.
It is built to be performant and scale to tens of billions of vectors with minimal performance loss.
Portkey provides a proxy to Milvus, allowing you to use virtual keys and observability features.
Portkey SDK Integration with Milvus
Portkey provides a consistent API to interact with models from various providers. To integrate Milvus with Portkey:
1. Install the Portkey SDK
Add the Portkey SDK to your application to interact with Milvus through Portkey’s gateway.
2. Initialize Portkey with a Virtual Key
To use Milvus with Portkey, get your Milvus API key from here, then add it to Portkey to create your Milvus virtual key.
NodeJS SDK
Python SDK
OpenAI Python SDK
OpenAI Node SDK
3. Use the Portkey SDK to interact with Milvus
Python
NodeJS
OpenAI NodeJS
OpenAI Python
cURL
Last modified on May 13, 2026