8 minutes

Set workspace routing defaults and the Auto Router

Configure workspace-wide provider sorting and Auto Router policies in the dashboard so your team gets consistent routing without code changes.

Instead of asking every developer or agent user to configure routing on their own, you can set workspace-wide defaults on the Routing page in your workspace sidebar.

Default provider sort

By default, OpenRouter compares what a good response costs at each provider (effective price, speed, failures, and rate limits) and spreads traffic across the providers closest to the best. On the workspace Routing page, you can change the default provider sort for the workspace:

  • Price: Cheapest provider first.
  • Throughput: Highest tokens per second first (ideal for long generations and coding agents).
  • Latency: Lowest time to first token first (ideal for interactive chat).
  • Exacto: Prioritizes providers with the highest tool-calling accuracy.

Choosing a default sort replaces OpenRouter’s default routing for every request in the workspace that doesn’t set its own provider.sort or provider.order, so set one only when the team needs it.

Governing the Auto Router (openrouter/auto)

When teammates or applications use openrouter/auto as their model, the Auto Router classifies each prompt and selects the top model for that task based on the past week of OpenRouter usage, queuing runners-up as fallbacks. You pay the rate of whichever model actually answers.

The Auto Router always respects your account and workspace guardrails and zero data retention rules. In the Auto Router section of the workspace Routing page, you can govern what it picks across the workspace:

  • Allowed models: only choose from a list, with wildcards such as anthropic/*.
  • Excluded models: never choose these, even if they match the allowed list.
  • Cost tier: low, medium, high, xhigh, or max. Each tier acts as a price band rather than a cap (excluding cheaper models below the band as well), and defaults to low.
  • Prevent overrides: locks your workspace Auto Router settings so individual API requests cannot override your allowed models or cost tier.

Check your understanding

Your legal team only allows Anthropic and OpenAI models. You turn on the Auto Router for the workspace. How do you make sure it stays within those?

Apply it

A team using the Auto Router says their bill went up. What would you check and change?

Takeaway

Use the workspace Routing page to set a default provider sort (Price, Throughput, Latency, or Exacto) and govern openrouter/auto with allowed models, excluded models, a cost tier, and Prevent overrides.

Try it live

Optional

In a test workspace, open Routing and set an allowed model list for the Auto Router. Send a few different prompts to openrouter/auto and compare the model field.