Skip to main content
With Portkey, you can take advantage of features like fast AI gateway access, observability, prompt management, and more, all while ensuring the secure management of your API keys through a virtual key system.
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.

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

Supported Models

Portkey works with all the reranking models offered by Pinecone. You can browse the full list of Pinecone models here.

Next Steps

The complete list of features supported in the SDK is available on the link below.

SDK

Explore the SDK documentation
You’ll find more information in the relevant sections:
  1. Add metadata to your requests
  2. Add gateway configs to your Pinecone requests
  3. Tracing Pinecone requests
  4. Setup a fallback from one reranking provider to another
Last modified on March 6, 2026