Skip to main content

Documentation Index

Fetch the complete documentation index at: https://backstage.spotify.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Overview

OpenAI is a leading provider of large language models (LLMs) such as GPT-5.4 and GPT-5. 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:
FieldDescriptionExample
API KeyYour OpenAI API keyyour-openai-api-key
Base URLOptional, to point at a gatewayhttps://ai-gateway.example.com/openai
HeadersOptional, e.g. for authentication with gatewayKey: X-Custom-Header
Value: custom-value
Then set the default language model (or configure it per-plugin):
Language Model: openai|gpt-5.4

Supported Models

  • gpt-5.4 (recommended)
  • gpt-5
  • o1
  • o1-mini
  • o1-preview
  • o3-mini
  • o3
  • o4-mini