Start using the Requesty router
https://router.requesty.ai/v1
You can use the standard OpenAI Python client by simply changing openai.api_base
and using our API key header:
This makes a request to the local router which proxies it to the appropriate model provider, returning a completion response in OpenAI format. Additionally you can add additional information to the headers
you can specify (like HTTP-Referer
and X-Title
) which can help with analytics and app discoverability.