OpenAI
Configure openai deployments and understand provider-specific behavior.
Configure a deployment
Send this body to POST /admin/deployments with an operator credential. Replace the example
credentials and choose a model available to your provider account. See
Creating deployments for the shared configuration fields.
{ "publicModel": "gpt-5.5", "adapterKey": "openai", "upstreamModel": "gpt-5.5", "credentials": { "apiKey": "sk-..." } }Behavior and limitations
- Credentials:
apiKeyonly. - Text transport: Responses for every public text endpoint, including Chat Completions and
Messages. Set
transportOverrides["text.generate"]tochat_completionswhen a deployment needs Chat-only features. Incompatible features are rejected before contacting the provider. - Reasoning:
openai_effort(reasoning_effort) on reasoning-family models.-chatsuffixed variants (e.g.gpt-5.2-chat) are non-reasoning — the real API rejectsreasoning_efforton them, and the catalog declares them without areasoningspec accordingly. On GPT-5.6,xhighandmaxare separate tiers and are forwarded unchanged. - Encrypted reasoning round-trips through the client. On reasoning-capable models the upstream
call sets
store: falseand requestsinclude: ["reasoning.encrypted_content"]; the encrypted state is returned to the client (nativereasoningitems on/v1/responses, message-levelprovider_specific_fieldson/v1/chat/completions) and replayed upstream when echoed back. Responses are therefore never stored in your OpenAI account. See Provider-specific fields. - Responses WebSocket: public WebSocket sessions terminate at the gateway. The OpenAI adapter
opens a separate upstream
/responsesWebSocket, maps public response ids to private upstream ids, and uses incremental continuation while the same deployment remains selected. Routing to another deployment reconstructs the full canonical context instead of leaking or forwarding provider events directly. - Images:
gpt-image-*models; always returnsb64_jsonregardless of requestedresponse_format(see Images). - Videos: Sora profiles are included for OpenAI-shaped compatibility, but OpenAI's current docs mark the Sora 2 Videos API deprecated with shutdown scheduled for September 24, 2026.
- Catalog:
src/adapters/openai/catalog.json.
Next steps
- Creating deployments — the full request shape.
- Reasoning — the
openai_effortkind in detail. - Videos — the async video lifecycle.