AIgateway speaks the OpenAI API verbatim — chat, embeddings, images, audio, moderations. Point the official OpenAI SDK at our base URL and every endpoint, every parameter, every streaming SSE shape works exactly the same.
aigateway-py/js for our aggregator primitives (sub-accounts, evals, replays, jobs, webhook verify). openai for chat — drop-in compat per our own SDK's guidance.
Use the AIgateway endpoint and your AIgateway key. Nothing else changes for chat.
Same swap on the JS side.
Sub-accounts, evals, replays, async video/music jobs, webhook signature verification.