Provider Slug: pinecone
Portkey SDK Integration with Pinecone
Portkey provides a consistent API to interact with Pinecone’s reranking models. To integrate Pinecone with Portkey:1. Install the Portkey SDK
Add the Portkey SDK to your application to interact with Pinecone’s models through Portkey’s gateway.- NodeJS
- Python
2. Initialize Portkey with the Virtual Key
To use Pinecone with Portkey, get your API key from here, then add it to Portkey to create the virtual key.3. Reranking with Pinecone
Portkey supports Pinecone’s reranking models through a unified/v1/rerank endpoint.
Pinecone-Specific Parameters
| Parameter | Type | Description |
|---|---|---|
rank_fields | array | List of fields to rank by when documents are objects |
parameters | object | Additional model-specific parameters |
Supported Models
Portkey works with all the reranking models offered by Pinecone. You can browse the full list of Pinecone models here.| Model | Description |
|---|---|
bge-reranker-v2-m3 | BGE Reranker v2 M3 model |
pinecone-rerank-v0 | Pinecone’s native reranking model |
Next Steps
The complete list of features supported in the SDK is available on the link below.SDK
Explore the SDK documentation

