OpenAI (Native Mode)
Use the OpenAI SDK with Enterprise Router
Setup
Install the OpenAI SDK:
Configure the client to point at your gateway:
That’s it. Use the client exactly as you would with OpenAI directly.
Basic chat completion
Streaming
Function calling
TypeScript
Streaming (TypeScript)
Supported models
All OpenAI models work through native mode, including:
gpt-4o,gpt-4o-minigpt-5.4,gpt-5.4-mini,gpt-5.4-nanoo3,o3-mini,o4-mini
Any new model OpenAI releases will work automatically — the gateway proxies requests without modification.