If your application already uses the OpenAI Python SDK, you can keep the same client and point it at RouterBase by changing the base URL.
This gives the application one request interface while model selection stays configurable.
Prerequisites
Python 3.9 or newer
The current openai package






