OpenAI (Native Mode)
OpenAI (Native Mode)
Use the OpenAI SDK with Gateway AI
OpenAI (Native Mode)
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.
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-miniAny new model OpenAI releases will work automatically — the gateway proxies requests without modification.