Skip to main content
HyperAgent supports multiple LLM providers with native SDK integration. All models from each provider are supported—use whichever fits your needs.

Supported Providers

Configuration

OpenAI

Anthropic

Google Gemini

Environment Setup

Create a .env file in your project root:
Load it in your code:

Switching Providers

Create agents with different providers for different tasks:

Cost Optimization

Token costs vary by provider and model. To reduce costs:
  1. Use page.perform() instead of page.ai() when possible (single LLM call vs. multiple)
  2. Use Action Caching to replay without LLM calls
  3. Use smaller/cheaper models for simple tasks

Next Steps

Browser Providers

Configure local vs cloud browsers

Action Caching

Replay automations without LLM calls