Skip to main content
An OpenAI provider forwards Chat Completions and Responses requests to OpenAI’s API. Attach it to an AI Gateway resource when you want Codex, OpenCode, Open WebUI, OpenClaw, or any other OpenAI-compatible client to use your org’s OpenAI key. See AI Providers if you haven’t created a provider before. Field options are in Provider Configuration.

Defaults

Configure

  1. Sidebar → AI GatewayProvidersCreate.
  2. Set Provider Type to OpenAI. Name, capabilities, upstream URL, and auth type fill in from the defaults above.
  3. Paste your OpenAI API key.
  4. Set Allow and Block lists. * allows every model key; gpt-* is a typical narrower pattern.
  5. Save, then attach the provider to an AI Gateway resource.
Leave the upstream URL as the default unless you are pointing at a compatible OpenAI-style base URL.

Clients