Docs pages

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

  • auto works 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, auto picks only among Claude models.
  • The response’s model (and each stream chunk’s) names the model that served the call, and every such response carries x-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-session to name the run yourself.
  • Send x-steerwise-role (explore, docs, build, review or plan) 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

  • auto has 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-from is never sent for auto: moving between models is what auto does.

Keys and plans

  • A key with allowed models must list auto to use it. Other models listed next to it narrow what auto picks from.
  • GET /v1/models lists auto only when your plan and key can use it.
  • Calls that need stop sequences are never sent to a model without them.