The auto model
Send "model": "auto" and Steerwise picks a model your plan and key can use, call by call: a light model for small one-shot requests, a standard model by default, and a strong one for high effort or very long prompts.
How it picks
autoworks on every inference endpoint: chat completions, responses and messages.- Claude models come first in each tier. GPT models serve when a Claude model is not available. On
/v1/messages,autopicks only among Claude models. - The response’s
model(and each stream chunk’s) names the model that served the call, and every such response carriesx-steerwise-routed-from: auto.
Runs
Calls from one agent session form a run. Within a run the pick only moves up, so the prompt cache is kept.
- Send
x-steerwise-sessionto name the run yourself. - Send
x-steerwise-role(explore,docs,build,revieworplan) to say what a call is for. - The response carries
x-steerwise-run, the run the call belongs to, when it is known. The Console shows each run’s cost under Runs.
Moving up a tier
If the cheap pick refuses before any output, or (on a call that does not stream) returns invalid tool arguments or invalid structured output, the call moves up one tier. Only the answer you receive is billed.
This does not happen on /v1/messages: there a call stays on its pick.
What you pay
autohas no price of its own. Each call is billed at the price of the model that served it, as if you had asked for it by name.- A failed attempt that moved up a tier is not billed.
x-steerwise-fallback-fromis never sent forauto: moving between models is whatautodoes.
Keys and plans
- A key with allowed models must list
autoto use it. Other models listed next to it narrow whatautopicks from. GET /v1/modelslistsautoonly when your plan and key can use it.- Calls that need stop sequences are never sent to a model without them.