April 5, 2026

Use Stagehand with any model

Managing model providers adds friction to every Stagehand setup: separate API keys, accounts, rate limits, and tier gating. Model Gateway removes that layer.

Pass your Browserbase API key and pick a model. We handle routing, retries, and billing at market price with no markup.

const stagehand = new Stagehand({
   apiKey: process.env.BROWSERBASE_API_KEY,
   model: "openai/gpt-5", // or “anthropic/claude-sonnet-4-6” / “google/gemini-3-flash-preview”
});

Switching models is a one-line change. No new accounts, no reworked setup. Rate limit handling, retries, and action caching all run through Browserbase automatically.

Supported: OpenAI, Anthropic, Gemini. Need something else? Reach out.