Supported SDKs
Find the best way to use Portkey in your preferred language. Official SDKs, compatible libraries, and community integrations.
Set up your development environment to use Portkey in your favorite language. Portkey offers official SDKs for the most popular platforms, and is compatible with many OpenAI-style and community libraries.
Portkey’s API is language-agnostic. You can use any HTTP client or OpenAI-compatible SDK to interact with Portkey’s endpoints.
Before You Begin
- Create an API key in the dashboard.
- Store your API key securely as an environment variable:
Official SDKs auto-detect your API key from the environment.
Official SDKs
Compatible & Community Libraries
You can use Portkey with many OpenAI-compatible and community SDKs. Here are some popular options:
OpenAI Python
Use Portkey as a drop-in for OpenAI methods.
OpenAI Node.js
Works with Portkey’s OpenAI-style methods.
C# (.NET)
Enterprise-ready integration for .NET apps.
Coming Soon
Java
Coming Soon
PHP
Coming Soon
Go
Coming Soon
Rust
Coming Soon
C++
Coming Soon
Ruby
Coming Soon