July 28, 2026

Cut inference costs 30–40% with Model Router

Picking a model for every browser action is manual work, and the wrong pick costs you either accuracy or money. Model Router does it for you.

Set model: "auto", and Browserbase selects the model for each call server-side, balancing accuracy, speed, and cost automatically.

const stagehand = new Stagehand({
  env: "BROWSERBASE",
  model: "auto",
});

Teams typically see 30–40% lower inference cost than pinning a single model for every call, with no code changes.

Model Router builds on Model Gateway and requires env: "BROWSERBASE" and a Browserbase API key - no provider keys needed.

Read the docs →