Requesty

Parameter reference for the Requesty model class, which extends OpenAILike to route requests through Requesty AI.

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

Requesty extends OpenAILike and accepts all of its parameters.