Step 1
Call as usual
Zero code changes. Create a Smart Routing API key in the console, swap out your current key, and keep sending requests in the same format.
client = OpenAI(
api_key="sk-your-current-key",
api_key="sk-smart-routing-key",
base_url="https://api.mixroute.ai/v1"
)
# request format unchanged