Discover your configuration
gateway_url, openai_base_url, allowed model aliases, and supported paths.
Python
JavaScript
Images
Vision-enabled aliases accept OpenAI-compatible remote image URLs and inlinedata: 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-IDwith your application logs. - Keep direct-provider URL/key variables available during an initial migration rollback window.