Guides4 min read
What is an OpenAI-compatible API gateway?
An OpenAI-compatible API gatewayexposes the same request and response shape as OpenAI's API, so any tool or SDK that already speaks OpenAI can point at it unchanged. Behind that familiar interface, the gateway can reach many models and providers and add capabilities OpenAI's raw API doesn't.
Why compatibility matters
- No rewrite. Change the base URL and API key; your existing code, prompts, and tools keep working.
- Ecosystem support. Coding assistants, agent frameworks, and libraries that target the OpenAI API work out of the box.
- No lock-in. You can move between models and providers without touching application code.
Gateway vs. raw provider API
A raw provider API gives you one vendor's models. A gateway gives you many, plus routing, failover, cost controls, and governance — while staying a drop-in for the SDK you already use.