Skip to main content
You need a public gateway origin and an application API key. Do not use an admin key in application code.

Discover your configuration

The response includes gateway_url, openai_base_url, allowed model aliases, and supported paths.

Python

JavaScript

Images

Vision-enabled aliases accept OpenAI-compatible remote image URLs and inline data: URLs. The gateway passes media blocks to the provider; it does not download, scan, or store files.

Application practices

  • Use one key per organization, application, and environment.
  • Use stable aliases returned by /v1/models; do not hard-code provider deployment names.
  • Set explicit output token limits for TPM-limited or budgeted keys.
  • Persist X-Request-ID with your application logs.
  • Keep direct-provider URL/key variables available during an initial migration rollback window.