OpenAI
Overview
OpenAI is a leading provider of large language models (LLMs) such as GPT-5, GPT-4.1, and GPT-4o. AI Gateway can be configured to use OpenAI models for various AI operations.
Configuration
To use OpenAI, configure it in the Plugin settings page under the AI Gateway section:
| Field | Description | Example |
|---|---|---|
| API Key | Your OpenAI API key | your-openai-api-key |
| Base URL | Optional, to point at a gateway | https://ai-gateway.example.com/openai |
| Headers | Optional, e.g. for authentication with gateway | Key: X-Custom-HeaderValue: custom-value |
Then set the default language model (or configure it per-plugin):
Language Model: openai|gpt-5
Supported Models
- gpt-5 (recommended)
- gpt-4.1
- gpt-4o
- gpt-4o-mini
- gpt-4o-audio-preview
- gpt-4-turbo
- gpt-4
- gpt-3.5-turbo
- o1
- o1-mini
- o1-preview
- o3-mini
- o3
- o4-mini
- chatgpt-4o-latest