Many applications already use the OpenAI SDK. Moving to another compatible gateway should not require rewriting the whole application. In most cases, the main changes are the API key, base URL, and model ID.
This guide shows the basic migration flow with Route Key, an OpenAI-compatible AI API gateway and multi-model router.
What you need
Before starting, prepare:
An OpenAI-compatible SDK






