- Use 300+ models while building agents, giving you flexibility to choose the best model for each task
- Track and manage your spend in a single location
- Keep a record of your agent interactions
Configuration
Environment Variables Setup
The easiest way to integrate Requesty with the Anthropic Agent SDKs is through environment variables:- Get Your API Key Create an API key on the API Keys Page.
-
Set Environment Variables
With this setup, the Agent SDKs will route all requests through Requesty, giving you access to models from OpenAI, Anthropic, Google,
Mistral, and many more providers.
Model Selection
You can choose any model from the Model Library or any policy configured for your organization. Standard model IDs follow the formatprovider/model-name:
anthropic/claude-4-5-sonnetopenai/gpt-5google/gemini-2.5-flashmistral/mistral-large-latest
policy/policy-name:
policy/reliable-sonnet-4-5
TypeScript
The TypeScript Agent SDK (@anthropic-ai/claude-agent-sdk) automatically respects the ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables.
Python
The Python Agent SDK (claude-agent-sdk) automatically respects the ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN environment variables.
Benefits of Using Requesty with Agent SDKs
Access 300+ Models
Switch between models from different providers without changing your setup
Cost Management
Monitor spending and set limits across all your AI interactions
Fallback Policies
Automatic fallbacks ensure your agents never get interrupted
Unified Interface
Use the same SDK interface with models from multiple providers
Troubleshooting
Model Not Found
If you get a โmodel not foundโ error, make sure:- Your API key is valid and has access to the model (check the approved models in your organization)
- The model ID format is correct (
provider/model-name) - The model is available in the Model Library
Connection Issues
If the Agent SDK canโt connect:- Verify your
ANTHROPIC_BASE_URLis set tohttps://router.requesty.ai - Check your
ANTHROPIC_AUTH_TOKENis correct - Ensure you have internet connectivity
- For TypeScript, make sure environment variables are set before importing the SDK