Reasoning effort

reasoning_effort controls how much internal reasoning a model may use before it answers. ModelRelay exposes one provider-neutral ladder:

none → minimal → low → medium → high → xhigh → max

Leave the field empty to use the provider’s default. Model support is a subset of the ladder: a recognized value outside a matched model’s subset is rejected instead of being silently downgraded.

Supported values by model

Provider Models Supported values
OpenAI GPT-5.6+ none, minimal, low, medium, high, xhigh
OpenAI GPT-6 Astra none, minimal, low, medium, high, xhigh, max
OpenAI GPT-6.1 Sol none, minimal, low, medium, high, xhigh, max
OpenAI GPT-6 Luna none, low, medium, high, xhigh, max
Anthropic Claude Opus 5.5 none, low, medium, high, xhigh, max
Anthropic Claude Sonnet 5.5 none, low, medium, high, xhigh, max
xAI Grok 4.7 none, low, medium, high, xhigh
Anthropic Claude Fable and Mythos none, low, medium, high, xhigh, max
Anthropic Claude Opus 5 and Sonnet 5 none, low, medium, high, xhigh, max
Google AI Studio Gemini 3.8 Flash low, medium, high
Google AI Studio Gemini 4 Argon none, minimal, low, medium, high, xhigh, max
Fireworks AI GLM 5.2 none, low, medium, high, max
Fireworks AI GLM 5.3 Flash none, low, medium, high, max
Fireworks AI GLM 5.3 none, low, high, max
Fireworks AI Kimi K3 none, low, high, max
Fireworks AI DeepSeek V4.1 Flash none, low, medium, high, xhigh, max
Fireworks AI Qwen3.8 Max none, low, medium, high, xhigh, max
Fireworks AI MiniMax M3.1 Flash none, low
Fireworks AI Muse Spark Open none, low, medium, high, xhigh
Fireworks AI Other models none, low, medium, high
Meta All models low, medium, high
Together AI GLM 5.3 Flash none, low, medium, high
Together AI GLM 5.3 none, low, high, max
Together AI DeepSeek V4.1 Flash none, low, high, xhigh, max
Together AI MiniMax M3.1 Flash
Together AI Nemotron 3.5 Super VL none, low
Together AI Muse Spark Open none, low, medium, high, xhigh
Together AI All models low, medium, high
NEAR AI GLM 5.3 Flash none, low, high
Cerebras Qwen3.8 27B none, low, medium, high, xhigh, max
Inco GLM 5.3 none, low, high, max
Inco GLM 5.3 Flash none, low, high, max
Inco DeepSeek V4.1 Flash none, low, high, xhigh, max
AkashML GLM 5.3 none, low, high, max
AkashML Qwen3.8 27B none
xAI Grok 4.6 none, low, medium, high, xhigh
xAI Other reasoning models none, low, medium, high
Inception Mercury 3 none, low, medium, high
Abliteration Abliterated Model none, minimal, low, medium, high, xhigh
Abliteration Abliterated Large Flash none, minimal, low, high, max
Abliteration Abliterated Large v2 low, high, max

MiniMax M3.1 Flash is available through Fireworks; its Together route remains inactive.
Fireworks supports verified reasoning off/on behavior
with none/low. Higher depth levels are unverified. The Together route accepts
requests with omitted effort. Explicit effort values are rejected on that route,
which is also ineligible for fallback on requests specifying an effort.

For Nemotron 3.5 Super VL on Together, none turns reasoning off and low
turns it on. Higher depth levels are unverified and rejected.

Muse Spark Open is available through Fireworks, with Together as its failover
(Built with Muse Spark Open).
It supports Meta’s four levels, low, medium, high and xhigh,
on both routes; max is not a Muse level and is rejected. none is per route:
Fireworks cannot disable thinking, so none is sent as low there, while
Together turns thinking off.

On routes without a mapped reasoning control, callers must omit the effort field to use the provider default; explicitly requested values still require support from the selected route. Do not infer support from the provider alone; use the model-specific discovery response described below.

Mapping semantics

The ladder describes intent, not identical upstream parameters:

  • GPT-6 Astra and GPT-6.1 Sol have no none or minimal level upstream; OpenAI’s lowest effort for them is low, so both are sent as low. GPT-6 Luna supports none but rejects minimal.
  • Claude Opus 5.5 defaults to medium; none maps to low because thinking is always enabled. Claude Sonnet 5.5 defaults to high; explicit none uses between_tools thinking with low effort.
  • Always-reasoning models cannot disable thinking, so none means the least reasoning the model can do rather than an error. For Claude Fable and Mythos, none maps to Anthropic effort low; for Grok 4.6 and other xAI reasoning models, it maps to xAI effort low; for GLM 5.3 on Fireworks, Together, AkashML and Inco, Kimi K3, and GLM 5.3 Flash on Fireworks, Together, NEAR AI and Inco, it is sent as low.
  • Claude Opus 5 and Sonnet 5 use medium when reasoning_effort is omitted, including requests through /v1/messages and /v1/chat/completions. Thinking remains on at medium effort; explicit none disables thinking.
  • On /v1/messages, output_config.effort sets the effort, and thinking.type disabled or between_tools sets none.
  • Gemini 3.8 Flash rejects both none and minimal; low is its lowest supported thinking level.
  • Gemini 4 Argon has no none or minimal level upstream, but its low already uses no thinking, so both are sent as low. Its high already uses the whole thinking budget, so xhigh and max are sent as high. That high can spend a whole response thinking on a hard problem and return no text, with stop reason max_tokens, and so can xhigh and max. Use medium when you need the answer in a single response.
  • Gemini medium forwards to the provider’s distinct medium thinking level; it is not reduced to low.
  • Omitting Gemini effort leaves the choice to the model rather than pinning a hidden relay default. Request low explicitly when Gemini 3.8 Flash cost and latency must stay bounded. Thinking tokens consume the output-token budget, so leave enough room for visible output.
  • Omitting Cerebras effort on Qwen3.8 27B selects the model’s DEEPEST mode, not a middle one: Cerebras defaults this model to high, which reaches Qwen’s native xhigh. Because high is already that deepest mode, xhigh and max are sent as high. Request low or none explicitly when latency and billed output must stay bounded.
  • Omitting effort on DeepSeek V4.1 Flash served by Inco gets NO reasoning: that route answers without thinking unless a level is named. Request low or higher explicitly when you want it to reason, especially if the request can fail over to Inco from a route that thinks by default.
  • minimal, xhigh, and max are available only where the upstream effort ladder exposes them. They are distinct levels, not aliases for neighboring values, with exceptions where a neighbouring level is already the limit. On Gemini 4 Argon, minimal is sent as low because low already uses no thinking. On GPT-6 Astra and GPT-6.1 Sol, minimal is sent as low because low is the least reasoning OpenAI offers for them. On Gemini 4 Argon and on Qwen3.8 27B on Cerebras, xhigh and max are sent as high because high is already the most reasoning the route offers.
  • Support is per route, not per model. GLM 5.3 Flash accepts max on Fireworks, its serving route, but not on its Together or NEAR AI failover routes. If one of those routes serves the request, max is rejected with that route’s supported values rather than quietly sent as high. Likewise, DeepSeek V4.1 Flash accepts medium on Fireworks, but Together refuses it, so medium is rejected when the Together route serves the request. On AkashML, Qwen3.8 27B accepts only none, which there turns thinking off; AkashML takes its other levels without acting on them, so ModelRelay rejects them on that route.

Mercury 3 maps none to Inception’s instant mode, its lowest reasoning
setting. Omitted effort uses low. minimal, xhigh, and max are rejected.
Temperature must be between 0.5 and 1.0; Mercury 3 does not accept top_p,
logprobs, or an explicit parallel_tool_calls setting.

Why effort matters

Reasoning affects both latency and billed output. In same-prompt production probes, GPT-5.6 Luna at none answered in about 0.7 seconds with 5 output tokens. At the provider’s default medium, equivalent runs took about 2.5–2.8 seconds and used 200–312 output tokens.

Reasoning tokens are provider-billed output tokens. Lower effort can therefore reduce latency and cost when the task does not benefit from deeper reasoning; use higher effort when the expected quality gain justifies that budget.

On most models, reasoning counts toward max_output_tokens (max_tokens on /v1/messages). xAI’s Grok models are the exception: the limit truncates the visible answer only, and reasoning is billed on top of it. In production probes, Grok 4.7 with max_output_tokens: 16 stopped its answer at 16 tokens and billed 2,697 to 6,434 output tokens. A small limit therefore does not bound a Grok request’s cost; lower reasoning_effort does. For the same reason, ModelRelay checks a Grok request against your balance as if it set no output limit.

Reasoning support is validated after ModelRelay resolves a concrete provider
route. It is intentionally absent from the logical model catalog because two
providers may expose different controls for the same public model. Use
POST /api/v1/responses/resolve to inspect the selected route’s
reasoning_efforts before execution.

Validation errors

An unrecognized ladder value is rejected with HTTP 400 and an INVALID_REQUEST classification. Model-gated provider adapters use this message shape:

unsupported reasoning_effort "ultra"

Meta accepts recognized preferences outside low, medium, and high, omits them upstream, and reports X-ModelRelay-Reasoning-Effort: unsupported. An unsupported none does not promise disabled reasoning. See optional hint handling.

For other providers, a recognized value outside the serving route’s supported subset is rejected with HTTP 400 and code REASONING_EFFORT_UNSUPPORTED. The message names the value, the model, the provider and the accepted values, and unsupported_value carries the same values for code to read (see unsupported values):

reasoning_effort "xhigh" is not supported by model "gemini-3.8-flash" on provider "google-ai-studio"; accepted values: low, medium, high

Provider allowlists use the corresponding provider-scoped form. Google AI reports unsupported recognized values with the resolved model and supported subset, and reports an unrecognized value as invalid reasoning_effort "ultra".