Skip to main content
This integration is for the Keywords AI gateway.

Overview

OpenAI SDK provides the most robust integration method for accessing multiple model providers. Since most AI providers prioritize OpenAI SDK compatibility, you can seamlessly call all 250+ models available through the Keywords AI platform gateway.

Quickstart

Step 1: Install OpenAI SDK

  • Get a Keywords AI API key
  • Add your provider credentials
  • Install packages

Step 2: Initialize Client

Step 3: Make Your First Request

Step 4: See your log on platform

Switch models

See the full model list for all available models.

Supported parameters

OpenAI parameters

We support all the OpenAI parameters. You can pass them directly in the request body.

Keywords AI Parameters

Keywords AI parameters can be passed for better handling and customization.

Azure OpenAI

To call Azure OpenAI models, instead of using azure OpenAI’s client, the easier way is to use the OpenAI client.

View your analytics

Access your Keywords AI dashboard to see detailed analytics

Next Steps

Advanced settings

Track user behavior and patterns

Prompt Management

Manage and version your prompts