Skip to main content
The Requesty model provides access to models through Requesty AI.

Parameters

ParameterTypeDefaultDescription
idstr"openai/gpt-4.1"The id of the model to use through Requesty
namestr"Requesty"The name of the model
providerstr"Requesty"The provider of the model
api_keyOptional[str]NoneThe API key for Requesty (defaults to REQUESTY_API_KEY env var)
base_urlstr"https://router.requesty.ai/v1"The base URL for the Requesty API
max_tokensint1024The maximum number of tokens to generate
retriesint0Number of retries to attempt before raising a ModelProviderError
delay_between_retriesint1Delay between retries, in seconds
exponential_backoffboolFalseIf True, the delay between retries is doubled each time
Requesty extends the OpenAI-compatible interface and supports most parameters from OpenAI.