Use Auto Routing
Auto Routing lets an application send model="auto" so the platform picks the best-suited model for each chat request. Your platform administrator chooses the models in rotation, the strategy, and the thinking level. You can see them in Account → Settings (in your deployed Console), but you can't change them.

Before You Start
- Open Account → Settings (in your deployed Console) and check that Auto Routing shows On.
- Use an API key whose Allowed Models includes Auto Routing, or a key without a model restriction.
- Auto Routing works with
/v1/chat/completionsonly.
Send a Request
Use the current environment values and a protected API key:
curl "$SMART_STUDIO_BASE_URL/v1/chat/completions" \
-H "Authorization: Bearer $SMART_STUDIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"auto","messages":[{"role":"user","content":"Hello"}]}'
The response identifies the model that handled the request.
What Settings Shows
| Item | Meaning |
|---|---|
| Status | On: requests with model="auto" are routed. Paused: Auto Routing is temporarily unavailable and comes back on its own. Off: it isn't turned on for this platform; ask your administrator. |
| Strategy and thinking | For example, Quality first · Thinking: Strongest, as set by your administrator. |
| Models in rotation | The models Auto Routing can pick from right now. |
| Task-check model | The lightweight model that reads each request first. |
How Billing Works
Each auto request starts with a quick task check by a lightweight model. It's billed at that model's rate and listed as "Auto · Classifier" in your usage. The answer itself is billed at the rate of the model that handled it. Repeated identical requests may skip the check.
To pick a model, the task-check model reads your latest message. If your request sets its own reasoning options, they are sent as they are.
Verify the Result
- Send a controlled request with
model="auto". - Check the
modelfield in the response. - Open History and inspect the selected model and provider.
- Review Usage for the request and its "Auto · Classifier" task check.
Troubleshooting
- Your API key rejects
auto: add Auto Routing to the key's Allowed Models, or use a key without a model restriction that is approved for the test. - A specific provider is unexpected: Auto Routing picks the model first; Provider Selection then decides which of its providers is tried first.
When Auto Routing can't take a request, the error response tells you why:
| HTTP | error.code | What it means |
|---|---|---|
| 400 | auto_routing_unsupported_endpoint | auto works with /v1/chat/completions only. Send a specific model to other endpoints. |
| 400 | auto_routing_not_deployed | This platform doesn't include Auto Routing. |
| 400 | auto_routing_disabled | Auto Routing isn't turned on for this platform. Ask your administrator. |
| 503 | auto_routing_suspended | Auto Routing is paused and will come back on its own shortly. Retry later or send a specific model. |
| 503 | auto_routing_no_candidates, auto_routing_unavailable | No model is available for auto right now. Retry later or send a specific model. |
| 400 | auto_routing_infeasible | None of the models in rotation can handle this request. The error message says why. |
Next Step
Configure Provider Selection when a model has multiple providers, or Default Fallback for recovery from failed direct-model requests.