base_url to the Requesty router, you can take advantage of all of Requestyβs features without changing the rest of your code.
This simple change unlocks powerful features, such as:
- Fallback Policies
 - Load Balancing
 - Auto Caching
 - Request Metadata
 - β¦and many more.
 
openai/gpt-4.1-mini or anthropic/claude-sonnet-4-20250514. You can find the full list of available models in the Model Library.
Python
To use the OpenAI Python client with Requesty, simply set thebase_url when initializing the client.
Javascript
The same principle applies to the OpenAI Javascript client. Set thebaseURL during initialization.