Learn how to use Requesty with the OpenAI SDK
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:
openai/gpt-4.1-mini
or anthropic/claude-sonnet-4-20250514
. You can find the full list of available models in the Model Library.
base_url
when initializing the client.
baseURL
during initialization.