#### Models and usage

# How does Grok Build Router choose a model?

Grok Build Router is the intelligent routing behind Auto. It sends each request to a model that fits the task, with Cost, Balance, and Intelligence modes.

## What is Grok Build Router and how is it different from the previous Auto mode?

Grok Build Router is the relaunched Auto mode. A machine-learning classifier routes each Auto request across a pool of models instead of you picking one yourself.

Instead of choosing a specific model, you select **Auto**. The router analyzes each request and sends it to the model that delivers comparable results at lower cost for that task.

Compared with the previous Auto mode:

* Legacy Auto is now called **Cost** in the Auto selection menu
* **Balance** is the default mode for new users
* **Cost** (classic Auto) bills as a first-party-model request from your included weekly pool; **Balance** and **Intelligence** bill at the routed model's list price

See [available models](/build/agents-window/help/models-and-usage/available-models#which-models-does-grok-build-router-route-across) for the current routing pool.

## How does Grok Build Router decide which model to use for my request?

An ML classifier runs on each agent request and routes by task type and complexity. Simple requests go to fast, cost-efficient models. Complex work goes to frontier models.

The goal is to pick the cheapest model that still produces comparable results for that request. Routing is data-driven and not configurable per request. You steer outcomes by choosing an optimization mode: Cost, Balance, or Intelligence.

If a model is blocked on your team, the router skips it and falls back to an allowlisted alternative. Blocking required models can disable the router entirely. See [available models](/build/agents-window/help/models-and-usage/available-models#which-models-does-grok-build-router-route-across) for details.

## What are the cost, balance, and intelligence optimization modes and how do I switch between them?

Open the model picker, select **Auto**, then choose an optimization mode:

* **Cost**: Optimizes token spend.
* **Balance**: The default mode for new users. Aims for strong results while controlling cost across the model pool.
* **Intelligence**: Routes to more capable models in the pool. Recommended for complex, multi-step work. Delivers about 20 to 30% higher quality than Cost mode.

Team admins can limit which modes members see and set the team default. See [manage your team](/build/agents-window/help/account-and-billing/teams-management#how-do-admins-enable-disable-or-configure-grok-build-router-for-their-team) for admin controls.

## Can I use Grok Build Router from the SDK?

Yes. In the [TypeScript SDK](/build/agents-window/sdk/typescript) and [Python SDK](/build/agents-window/sdk/python), Router is model id `auto-smart` with parameter `optimize_for` set to `cost`, `balanced`, or `intelligence`. Call `Cursor.models.list()` first to confirm Router is available for the API key's team.

## Related

* [Available models](/build/agents-window/help/models-and-usage/available-models)
* [TypeScript SDK: Grok Build Router](/build/agents-window/sdk/typescript)
* [Python SDK: Grok Build Router](/build/agents-window/sdk/python)
* [Manage your team](/build/agents-window/help/account-and-billing/teams-management)
* [Usage and limits](/build/agents-window/help/models-and-usage/usage-limits)
* [Usage-based charges](/build/agents-window/help/account-and-billing/overages)
* [Models & Pricing](/build/agents-window/models-and-pricing)
* [Teams pricing](/build/agents-window/account/teams/pricing)
* [Grok Build Router reference](/build/agents-window/cursor-router)
