Skip to main content
An OpenRouter provider forwards Chat Completions requests to OpenRouter. Use it as an aggregator when you want one key to reach many upstream models through OpenAI Chat Completions. See AI Providers if you haven’t created a provider before. Field options are in Provider Configuration.

Defaults

OpenRouter’s default capability is Chat Completions only. Clients that require Responses or Anthropic Messages need a different provider, extra capabilities this OpenRouter account actually supports, or a custom endpoint.

Configure

  1. Sidebar → AI GatewayProvidersCreate.
  2. Set Provider Type to OpenRouter. Name, capabilities, upstream URL, and auth type fill in from the defaults above.
  3. Paste your OpenRouter API key.
  4. Set Allow and Block lists. OpenRouter model keys are often vendor-prefixed, for example openai/gpt-4o or anthropic/claude-sonnet-4.
  5. Save, then attach the provider to an AI Gateway resource.

Models

OpenRouter is an aggregator. See Model Routing for how allow lists and GET /v1/models discovery work. Add exact keys such as openai/gpt-4o or anthropic/claude-sonnet-4.

Clients