Skip to main content
Vercel AI Gateway provides an OpenAI-compatible API for models from multiple providers.

Setup

Create an AI Gateway API key, then configure Strix:
The first openai/ segment tells Strix to use its OpenAI-compatible client. The remaining value is the AI Gateway model ID.

Available Models

Use any language model returned by the AI Gateway models endpoint:
Prefix its model ID with openai/ when setting STRIX_LLM. For example, the Gateway model ID anthropic/claude-opus-5 becomes openai/anthropic/claude-opus-5 in Strix.

Get API Key

  1. Open the AI Gateway API key settings
  2. Create an API key
  3. Set the key as LLM_API_KEY

Benefits

  • Access models from multiple providers through one endpoint
  • Track Gateway usage and cost in Vercel