Provider Slug:
oraclePortkey SDK Integration with Oracle OCI
Portkey provides a consistent API to interact with models from various providers. To integrate Oracle OCI Generative AI with Portkey:1. Install the Portkey SDK
- NodeJS
- Python
2. Initialize Portkey with Oracle OCI
Oracle OCI uses API key-based authentication with request signing. You’ll need the following credentials from your OCI console:
Add these credentials to Model Catalog to create an Oracle AI Provider.
- NodeJS SDK
- Python SDK
3. Invoke Chat Completions
- NodeJS SDK
- Python SDK
- cURL
Supported Models
Oracle OCI Generative AI supports various foundation models including:- Cohere Models:
cohere.command-r-plus,cohere.command-r,cohere.command - Meta Llama Models:
meta.llama-3.1-405b-instruct,meta.llama-3.1-70b-instruct
Configuration Options
You can specify the API version using theoracleApiVersion parameter (defaults to 20231130).
Next Steps
The complete list of features supported in the SDK are available on the link below.SDK
- Add metadata to your requests
- Add gateway configs to your Oracle requests
- Tracing Oracle requests
- Setup a fallback from OpenAI to Oracle
Portkey is now PRISMA AIRS AI Gateway. See it in action.
Contact Us

