Reasoning Effort

This page explains how to tell a model how hard to think, what Paladin does when the model cannot do what you asked, and exactly what each provider and model was measured to accept. Every behaviour stated below is backed by the model registry (crates/paladin-llm/src/registry/seeded.rs), by a test, or by the operator's live effort probe (51-EFFORT-PROBE.md, run on 2026-10-22 against seven of the nine providers). Where nothing was measured, the page says so instead of presenting a guess as fact. The mapping table is checked against the built adapters by a test (registry::reasoning_page_tests), so a row cannot say a model accepts an effort that its adapter refuses.

The short version:

  • One setting, ReasoningEffort, means the same thing on every provider: low is low, never "whatever the vendor calls its second step".
  • It is set per request, per agent or per provider. Left unset at every level, nothing is sent and every request is byte-for-byte what it was before this setting existed. There is no compiled-in effort for any provider.
  • A model that cannot honour the effort refuses the request before any HTTP call with LlmError::UnsupportedParameter. Nothing is clamped, rounded or converted between a level and a token budget unless you opt in to the nearest-level fallback, and even then only a level is ever swapped for a level.
  • Reasoning tokens count against the output budget, and a reasoning model is slow. Effort, output budget and timeout belong in the same configuration block; see Effort, output budget and timeout.

Values and spellings

ReasoningEffort has nine values. In YAML and JSON they are spelled:

ValueSpellingMeaning
OffoffReasoning switched off, where the model allows it.
AutoautoReasoning on, at the vendor's own default depth. Distinct from leaving the setting unset, which sends nothing at all.
MinimalminimalLevel 0 of the six ranked levels.
LowlowLevel 1.
MediummediumLevel 2.
HighhighLevel 3.
XHighxhighLevel 4 (not x_high).
MaxmaxLevel 5.
Budget(n){budget: 2048}A reasoning-token budget. Only some wires carry one.

The six levels run minimal < low < medium < high < xhigh < max. Off, Auto and Budget are not levels: they are never ranked and never substituted for one another or for a level. In metadata and log text the values print the same way (xhigh, budget:2048).

Where to set it

Precedence, most specific first: the request, then the agent, then the provider, then the vendor's own default (nothing sent). Each level is resolved field by field, so a request can set only the effort and inherit the agent's fallback.

1. On a request. LlmRequest::with_reasoning (and with_reasoning_fallback). Note the name: LlmResponse::with_reasoning records the reasoning text a vendor returned and TokenUsage::with_reasoning records a reasoning-token count; only LlmRequest::with_reasoning asks for an effort.

use paladin_ports::output::llm_port::{LlmRequest, ReasoningEffort};

let request = LlmRequest::new("deepseek-v4-pro", prompt).with_reasoning(ReasoningEffort::High);
let response = llm.generate(request).await?;

2. On an agent. PaladinBuilder::reasoning_effort (and reasoning_fallback) in code, or agents[].reasoning_effort (and agents[].reasoning_fallback) in YAML. The agent's value rides on every request the agent's execution makes, unless that request sets its own.

use paladin::application::services::paladin::paladin_builder::PaladinBuilder;
use paladin::core::platform::container::reasoning::ReasoningEffort;

let paladin = PaladinBuilder::new(llm_port)
    .system_prompt("You are a careful reviewer")
    .model("deepseek-v4-pro")
    .reasoning_effort(ReasoningEffort::High)
    .build()
    .await?;
agents:
  - id: "reviewer"
    provider: "deepseek"
    model: "deepseek-v4-pro"
    system_prompt: "You are a careful reviewer."
    reasoning_effort: high

3. On a provider. llm.<provider>.reasoning_effort (and llm.<provider>.reasoning_fallback) in YAML, or with_reasoning_effort / with_reasoning_fallback on any of the nine *Config types (DeepSeekConfig::with_reasoning_effort(ReasoningEffort::High)). It applies to every request of that provider that sets no effort of its own, and it is judged against the request's own model each time (see A provider-wide default).

llm:
  deepseek:
    api_key: "${DEEPSEEK_API_KEY}"
    default_model: "deepseek-v4-pro"
    reasoning_effort: high

4. The vendor's default. With all three unset, nothing is sent. The vendor's own default applies: for example, Kimi's kimi-k3 defaults to max, which is why it is the model that most needs this setting (see the Kimi example).

The reasoning keys are block-only: there is no environment variable for them and no per-model default. Only a provider-wide default exists.

When the model cannot honour it

Every adapter asks one rule, EffortSupport::resolve, before it builds a request: does this model, on this wire, take exactly this effort? If it does, the effort is sent as the vendor spells it. If it does not, the call fails before HTTP with LlmError::UnsupportedParameter, classified Permanent (so it is never retried and never fails over to a chain's next hop), with a reason that says how to fix it:

Unsupported parameter 'reasoning_effort' = 'medium' for provider 'deepseek' (model
'deepseek-v4-pro'): the vendor accepts that effort level but silently runs it as another; this
model accepts: ...

The cases that refuse, whatever the fallback:

  • a level the model does not list, or one the vendor silently coerces (a request for medium that quietly ran high would change cost and latency without telling anyone);
  • Off on a model that cannot run with reasoning off, Auto on a model with no vendor default depth to request;
  • any Budget on a wire that carries no budget, or outside the span the model accepts, or at or above the request's max_tokens (the budget is part of the output cap and must leave room to answer);
  • any explicit effort on a model nobody measured (see Unmeasured models and the override);
  • any explicit effort on a provider whose wire is unverified (the mapping table says unverified: with the reason).

Nothing is converted between a level and a budget, in either direction.

reasoning_fallback: the opt-in nearest level

reasoning_fallback is a second setting beside the effort, with the same three places (request, agent, provider) and the same precedence. It has three values and defaults to refuse:

ValueYAMLBehaviour
RefuserefuseThe default. A level the model lacks is refused.
NearestLowernearest_lowerCost- and latency-safe: use the nearest lower level the model lists.
NearestHighernearest_higherQuality-safe: use the nearest higher level the model lists.

"Nearest" is measured along minimal < low < medium < high < xhigh < max against the model's measured levels. If no level exists in the chosen direction the request is still refused; the direction is never flipped. A substitution logs a warn! and records both the requested and the effective effort in the response metadata (see Observability).

agents:
  - id: "summariser"
    provider: "gemini"
    model: "gemini-3.5-flash"
    system_prompt: "You summarise."
    reasoning_effort: xhigh
    reasoning_fallback: nearest_lower   # gemini-3.5-flash lists minimal..high, so xhigh runs as high

What the fallback never substitutes, with the opt-in set: Off, Auto, any Budget, a level the vendor is known to coerce silently, and any model with no measured levels. Those still refuse.

A provider-level llm.<provider>.reasoning_fallback is honoured wherever the effort is judged: by PaladinBuilder::build, by the agent host when it loads the configuration, by a fallback chain's pre-flight and at send time. It always sits beneath an agent's or a request's own reasoning_fallback, field by field: a block that says nearest_lower lets an agent's own medium step down at build, and an agent that says refuse still wins over it.

Unmeasured models and the override

Paladin writes an effort fact for a model only where a dated live probe measured it. A model with no measured effort data (unmeasured in the table, or any model id the registry has never seen) refuses every explicit effort rather than receive one by guess. The error names the key that unlocks it:

Unsupported parameter 'reasoning_effort' = 'high' for provider 'openai' (model 'gpt-4o-mini'):
no measured reasoning-effort data for this model; declare the model's efforts with the
`llm.openai.models.gpt-4o-mini.effort` override (see the Reasoning effort guide)

Declare what you know about the model in the llm.<provider>.models.<model-id>.effort override:

llm:
  openai:
    models:
      my-new-model:            # a model id Paladin has not measured
        effort:
          supported:
            levels: [low, medium, high]    # strictly ascending, levels only
            off: false
            auto: true
            budget: {min: 1024, max: 32000}   # only where the wire carries a budget

effort also accepts the single words unmeasured, wire_unsupported and no_reasoning (a model that does not reason: off becomes an exact no-op that sends nothing and every other effort is refused). A malformed override (levels out of order, a coerced level that is also listed, a budget with min above max, an unknown key) is a load error naming the field. An override states a fact about the model; it cannot unlock what the adapter's wire cannot carry, so a budget on a wire with no budget field stays refused.

The override replaces the seeded effort data for that model only; the probe date in the table is the seed's own.

Fallback chains

A FallbackLlmAdapter (the Aegis model fallback) judges the request against every hop before the first HTTP call. Each hop is judged by its own LlmPort::check_reasoning, that is, its step model plus its adapter's own llm.<provider>.reasoning_effort and reasoning_fallback beneath the request's values. If any hop can neither honour the effort nor substitute under the fallback in force, the whole request refuses, and the reason reads fallback hop <index>: <reason> with a zero-based index naming that hop's provider and model. A misconfigured chain therefore fails on its first call, not during an outage of hop 1. Each hop that is actually reached sends its own resolved effort (a substitution may differ per hop), and the response metadata records the effort of the hop that served.

A hop whose provider-level default its model cannot honour refuses the chain before the first call even when the request sets no effort; the reason reads fallback hop <index>: ... and ends with (set by `llm.<provider>.reasoning_effort`). A request with no effort over hops that set no default is never refused. A hop that reports no model profile refuses an explicit effort, and the chain's own model_profile reports its effort as unmeasured whenever any hop has no profile.

Build-time checks

PaladinBuilder::build asks the port's LlmPort::check_reasoning with the agent's effort and fallback. The port's own provider-level defaults (llm.<provider>.reasoning_effort and reasoning_fallback) therefore sit beneath the agent's values with the same precedence and the same admission rule as every call, and a refusal is a ConfigurationError naming the provider, the model, reasoning_effort, the value and the reason.

  • An agent that sets no effort is still judged when the port has a provider-level default: a default its model cannot honour is refused at build, not on every call.
  • A port that reports no model profile refuses an explicit effort, because nothing was measured.
  • A fallback chain is judged hop by hop against each hop's own model and each hop's own defaults, not against a chain-wide profile; one hop that cannot serve the effort refuses the build, and the error names that hop.
  • The agent host's load check takes the agent's own fallback before the block's, the order paladin_llm::reasoning::in_force applies on each call.
  • Only the Budget-versus-max_tokens rule waits for the request, because the request's own cap is not known at build.

With nearest_lower or nearest_higher the build succeeds and the substitution happens per request.

For callers who build adapters directly, check_reasoning(model, effort, fallback) pre-judges a request without sending it: it returns Ok(()) exactly when the adapter would admit that effort at send time, and otherwise the same UnsupportedParameter error generate would return, with no network call.

When an agent is built from YAML, the host names the line to change: an agent-level refusal ends with (set by `agents[<id>].reasoning_effort`), and a provider default the agent's model cannot honour ends with (set by `llm.<provider>.reasoning_effort`). The adapter's own pre-HTTP check stays the authority for per-request values.

Self-hosted endpoints

Ollama and the generic OpenAI-compatible adapter talk to an endpoint only you can describe, so neither ships a wire form: both declare unverified and refuse every explicit effort until you supply two facts.

  1. The wire. Where the endpoint parses a reasoning effort, with llm.<provider>.reasoning_wire (or with_reasoning_wire on OllamaConfig / OpenAiCompatibleConfig):

    reasoning_wireField sent
    top_level_efforttop-level reasoning_effort (and "none" for off)
    thinking_objectthinking: {type, effort}
    enable_thinkingenable_thinking plus thinking_budget (no named levels)
    unsupportedthe default: every explicit effort refuses
  2. The levels. Per model, with the llm.<provider>.models.<model-id>.effort override above.

Both are required before any effort is sent. The named vendors (OpenAI, Anthropic, DeepSeek, Gemini, Kimi, Qwen, Grok) take no wire override: a reasoning_wire on one of those blocks is a configuration error, because their wire changes only through a Paladin release after a dated probe, so the table below stays the truth for them.

llm:
  ollama:
    base_url: "http://localhost:11434"
    reasoning_wire: top_level_effort      # what you proved below, not a guess
    models:
      my-local-model:
        effort:
          supported:
            levels: [low, medium, high]

Prove the field before you declare it. The effort probe in the live smoke harness accepts an ollama or openai-compatible target. It sends every candidate wire form with a deliberately invalid value (bogus-effort-51) and with real levels, and prints numbers and verdicts only (never response content):

OLLAMA_BASE_URL=http://localhost:11434 \
cargo run -p paladin-llm --example live_vendor_smoke \
  --features openai,anthropic,deepseek,kimi,qwen,grok,ollama,gemini,zai,openai-compatible \
  -- --effort --models ollama=my-local-model

(--models openai-compatible=<id> with OPENAI_COMPATIBLE_API_KEY and OPENAI_COMPATIBLE_BASE_URL set does the same for a gateway; --effort --dry-run prints the plan with no network access and no credential read.) Two rows are your evidence:

  • The invalid-value row. If a form's invalid value is rejected (HTTP 400 or 422), the endpoint parses that field. If it is accepted (2xx), the endpoint silently ignores the field: do not declare that wire. This is the Kimi lesson: Kimi answered 200 to an invalid top-level reasoning_effort because it ignores that field.
  • The low-versus-high effect row. A real high should report more reasoning tokens than low. A field that parses but changes nothing is not worth declaring.

Paladin makes no network call when it builds an adapter, so declaring a wire verifies nothing: the operator owns the verification, as with the capabilities preset the generic adapter already requires.

Observability

When an effort is in force, the response records what was asked and what ran:

  • LlmResponse.metadata carries paladin.reasoning_requested and paladin.reasoning_effective beside paladin.served_by and paladin.served_model (the constants are REASONING_REQUESTED_METADATA_KEY and REASONING_EFFECTIVE_METADATA_KEY). The values are the spellings above (xhigh, budget:2048). They differ only when you chose a substituting fallback. On a stream they ride on the terminal chunk. With no effort set, neither key is present.
  • An agent run keeps the latest call's two keys in PaladinResult.run_metadata.
  • The trace stream's TraceEvent::NodeFinished carries reasoning_requested and reasoning_effective (both absent when no effort was in force, so existing consumers see no change).
  • TokenUsage.reasoning_tokens is filled whenever the vendor reports a count, and LlmResponse.reasoning holds the reasoning text where the vendor returns it.

Mapping table

The cells below are read from the adapters, not typed by hand. exact means the effort reaches the vendor as asked. refused means the request fails before any HTTP call with LlmError::UnsupportedParameter. refused (coerced) means the vendor accepts the value but silently runs it as another, so Paladin refuses it under every fallback. no-op would mean an accepted effort that sends nothing; no seeded model uses it. budget <min>-<max> is the span of reasoning-token budgets the model accepts. Verified on is the date of the live probe the row comes from; unmeasured means the model was never probed, so every explicit effort on it is refused until an operator declares what it takes (D-02), and unverified means the provider ships no wire form.

Declared wire per provider

ProviderModelWire fieldVerified on
openai(declared wire)reasoning_effort2026-10-22
anthropic(declared wire)output_config.effort2026-10-22
deepseek(declared wire)reasoning_effort2026-10-22
kimi(declared wire)thinking.effort2026-10-22
qwen(declared wire)enable_thinking + thinking_budget2026-10-22
grok(declared wire)reasoning_effort2026-10-22
gemini(declared wire)thinkingLevel2026-10-22
ollama(declared wire)unverified: no default wire; the 2026-10-22 probe skipped it (no daemon configured) and only the operator knows the field the endpoint parses, so declare it with llm.ollama.reasoning_wireunverified
openai-compatible(declared wire)unverified: no default wire; the 2026-10-22 probe skipped it (no endpoint configured) and only the operator knows the field the endpoint parses, so declare it with llm.openai-compatible.reasoning_wireunverified

Effort per model

ProviderModelOffAutoMinimalLowMediumHighXHighMaxBudgetVerified on
openaichat-latestrefusedrefusedrefusedrefusedrefusedrefusedrefusedrefusedrefusedunmeasured
openaigpt-4o-minirefusedrefusedrefusedrefusedrefusedrefusedrefusedrefusedrefusedunmeasured
openaigpt-5refusedexactexactexactexactexactrefusedrefusedrefused2026-10-22
openaigpt-5-minirefusedrefusedexactexactexactexactrefusedrefusedrefused2026-10-22
openaigpt-5-nanorefusedexactexactexactexactexactrefusedrefusedrefused2026-10-22
openaigpt-5.1exactrefusedrefusedexactexactexactrefusedrefusedrefused2026-10-22
openaigpt-5.2exactrefusedrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-5.4exactrefusedrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-5.4-miniexactrefusedrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-5.4-nanoexactrefusedrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-5.5exactexactrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-5.6-lunaexactexactrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-5.6-solexactrefusedrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-5.6-terraexactexactrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-6-astrarefusedexactrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-6-lunaexactexactrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-6-solexactexactrefusedexactexactexactexactrefusedrefused2026-10-22
openaigpt-6.1-solrefusedexactrefusedexactexactexactexactrefusedrefused2026-10-22
openaio3refusedrefusedrefusedexactexactexactexactrefusedrefused2026-10-22
anthropicclaude-fable-5refusedexactrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-fable-5-1refusedexactrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-haiku-5-5exactexactrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-opus-4-6exactexactrefusedexactexactexactrefusedexactrefused2026-10-22
anthropicclaude-opus-4-7exactrefusedrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-opus-4-8exactrefusedrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-opus-5exactexactrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-opus-5-5refusedexactrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-sonnet-4-6exactexactrefusedexactexactexactrefusedexactrefused2026-10-22
anthropicclaude-sonnet-5exactrefusedrefusedexactexactexactexactexactrefused2026-10-22
anthropicclaude-sonnet-5-5refusedrefusedrefusedexactexactexactexactexactrefused2026-10-22
deepseekdeepseek-flashexactexactrefused (coerced)exactrefused (coerced)exactrefused (coerced)exactrefused2026-10-22
deepseekdeepseek-v4-proexactexactrefused (coerced)exactrefused (coerced)exactrefused (coerced)exactrefused2026-10-22
kimikimi-k2.6exactexactrefusedexactrefusedexactrefusedexactrefused2026-10-22
kimikimi-k3exactexactrefusedexactrefusedexactrefusedexactrefused2026-10-22
qwenqwen-flashexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen-maxexactrefusedrefusedrefusedrefusedrefusedrefusedrefusedrefused2026-10-22
qwenqwen-plusexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen-plus-latestexactrefusedrefusedrefusedrefusedrefusedrefusedrefusedrefused2026-10-22
qwenqwen3.5-flashexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.5-plusexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.6-flashexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.6-plusexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.7-flashexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.7-maxexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.7-plusexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.8-flashexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
qwenqwen3.8-maxexactexactrefusedrefusedrefusedrefusedrefusedrefusedbudget 1-327682026-10-22
grokgrok-4.20-non-reasoningrefusedrefusedrefusedrefusedrefusedrefusedrefusedrefusedrefusedunmeasured
grokgrok-4.20-reasoningrefusedexactrefusedrefusedrefusedrefusedrefusedrefusedrefused2026-10-22
grokgrok-4.3refusedexactexactexactexactexactexactrefusedrefused2026-10-22
grokgrok-4.5refusedexactexactexactexactexactrefused (coerced)refusedrefused2026-10-22
grokgrok-4.6refusedexactexactexactexactexactexactrefusedrefused2026-10-22
grokgrok-4.7refusedexactexactexactexactexactexactrefusedrefused2026-10-22
geminigemini-3-flash-previewexactexactexactexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-3.1-flash-liteexactrefusedexactexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-3.1-pro-previewrefusedexactrefusedexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-3.5-flashexactexactexactexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-3.5-flash-literefusedrefusedexactexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-3.6-flashexactexactexactexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-3.7-flashrefusedexactrefusedexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-3.8-flashrefusedexactrefusedexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-4-argonexactexactrefusedexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-flash-latestrefusedexactrefusedexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-flash-lite-latestrefusedrefusedexactexactexactexactrefusedrefusedrefused2026-10-22
geminigemini-pro-latestrefusedexactrefusedexactexactexactrefusedrefusedrefused2026-10-22

How to read the table, vendor by vendor:

  • OpenAI. Levels go in the top-level reasoning_effort; off is the vendor's "none", accepted only where the probe's none row was accepted; auto sends nothing (the vendor's default depth) and is listed only where the default call reported reasoning tokens. gpt-5, gpt-5-mini and gpt-5-nano take minimal but not xhigh; gpt-5.1 takes low to high. gpt-4o-mini and chat-latest were never probed and refuse every explicit effort.
  • Anthropic. Levels go in output_config.effort. On claude-opus-4-8, claude-opus-4-7, claude-opus-4-6 and claude-sonnet-4-6, whose thinking is off by default and where the probe measured no thinking tokens from output_config alone, the adapter sends thinking: {type: adaptive} beside the level so the level has something to adjust. off is thinking: disabled and auto is thinking: adaptive; each is listed only where the probe accepted it (the always-on models answered 400 to disabled). The 4.6 models do not list xhigh (400). No native model accepts Budget: the vendor documents a 1,024 minimum and "less than max_tokens" but no fixed maximum, and Paladin seeds a bound only from a documented maximum. The legacy budget_tokens form is never sent to a model that rejects it.
  • DeepSeek. Levels go in reasoning_effort; off is thinking: disabled and auto is thinking: enabled. DeepSeek documents that minimal runs as low and medium and xhigh as high, so those three are refused (coerced).
  • Kimi. Levels go in thinking.effort (thinking: {type: enabled, effort}); off is thinking: {type: disabled} and auto is thinking: {type: enabled}. The vendor rejected minimal, medium and xhigh (400), so they refuse. Kimi's top-level reasoning_effort is never sent: the probe sent it an invalid value and Kimi answered 200, so the field is silently ignored.
  • Qwen. The wire is enable_thinking plus thinking_budget. There are no named levels: every level refuses on every Qwen model, whatever the fallback, and a level is never converted to a budget. off, auto and a budget span of 1 to 32,768 are listed per model; qwen-max and qwen-plus-latest take off only. The 32,768 ceiling is the lowest of the figures the vendor documents and its rejections name; a budget between that and the larger observed bounds refuses.
  • Grok. Levels go in the top-level reasoning_effort. Grok models cannot turn reasoning off, so off refuses everywhere. xAI treats xhigh as high on grok-4.5, so it is refused (coerced) there; grok-4.20-reasoning rejected every level and takes auto only. grok-4.20-non-reasoning was never probed.
  • Gemini. Levels go in generationConfig.thinkingConfig.thinkingLevel, spelled in lower case (low, not LOW; the probe accepted both). off is thinkingBudget: 0 and auto sends nothing. minimal is listed per model (six of twelve probed models accepted it). No native Budget is seeded: the vendor documents no maximum for the models probed.
  • Z.ai. No wire, so no model row can be exact and every explicit effort is refused before any HTTP call. docs.z.ai documents two reasoning controls (accessed 2026-11-17): a thinking: {type: enabled|disabled} object and a top-level reasoning_effort (for glm-5.3, low, high or max). They are candidates, not a wire: a wire ships only after a dated live probe, and none has been run against Z.ai. The adapter sends neither field, so the vendor's own default applies (the docs state thinking is enabled by default, and that glm-5.3 supports enabled only). Z.ai defaults to a 300 s timeout for every model for that reason. Z.ai has no llm.zai block, so the YAML reasoning_wire and models.<id>.effort keys are not available for it; the --effort mode of the live smoke harness (--models z.ai=<id>) is the tool that produces the evidence a future wire would need.
  • Ollama and OpenAI-compatible. No wire, so no model row can be exact: see Self-hosted endpoints.

A model id with no row (a model released after the probe, or one never probed such as kimi-k2.7-code or qwen-turbo) is unmeasured too: it refuses an explicit effort until you declare it with the override.

Effort, output budget and timeout

Reasoning tokens are output tokens: they count against max_tokens, they are billed, and a reasoning model spends them before it writes the first word of the answer. Three settings therefore have to be chosen together:

  • Effort sets how many reasoning tokens the model is invited to spend.
  • Output budget (max_tokens, llm.<provider>.max_tokens) must be large enough for the reasoning and the answer. If the model uses the whole cap thinking, the call finishes length with no text and Paladin returns LlmError::EmptyCompletion. That error is a runtime backstop, not a validation: Paladin cannot know in advance how many tokens a question needs, so it cannot refuse a cap that is too small. A Budget(n) effort is the one case it can check, and it refuses a budget at or above max_tokens.
  • Timeout (timeout_seconds) must outlast the slowest thing the effort can do. A seeded reasoning model defaults to 300 s; an unseeded model keeps its provider's shorter default (60 s for Kimi).

What the measurements show

The motivating measurement was taken on kimi-k3 on 2026-10-13: the same short mathematics question ("how many n in 1..1000 make n²+n+41 prime"), max_tokens: 16000, non-streaming, the operator's key:

thinking sentfinishwall timereasoning tokensanswer
{type: enabled, effort: low}stop56 s1,906yes
{type: enabled, effort: high}stop359 s13,164yes
{type: enabled, effort: max}length473 s15,997empty
no thinking field (the vendor default)length492 s15,997empty
{type: disabled}stop2 snone reportedyes
{type: enabled, effort: low}, max_tokens: 64length5 s61empty

What this shows:

  • An unconfigured kimi-k3 request is a max-effort request. On a one-line question max spent the whole 16,000-token cap and returned no answer after about eight minutes.
  • Effort is a real cost and latency lever. low to high was about seven times the reasoning tokens and about six times the wall time.
  • high took 359 s, longer than the 300 s default, so high on a hard question needs a timeout above that.
  • A cap that is too small fails quietly: low with max_tokens: 64 spent all 64 tokens thinking.
  • Thinking can be turned off on kimi-k3 (2 s), although the model's listing says it only thinks. Trust a probe over a listing.

The 2026-10-22 effort probe measured the same model through thinking.effort on a one-line question (17 multiplied by 23) at a 2,048-token cap; every call finished stop:

RequestResultReasoning tokens
no effortaccepted33
lowaccepted40
highaccepted48
maxaccepted116
minimal, medium, xhighrejected, HTTP 400n/a
offacceptednone reported
autoaccepted71
invalid valuerejected, HTTP 400n/a

These are single calls, not averages. They show which values the vendor takes and that a higher level reports more reasoning, not what any workload will cost.

A working Kimi configuration

kimi-k3 answered a mathematics question at low with a 16,000-token cap in 56 s, well inside a 300 s timeout. The block below restates exactly those measured values as configuration. None of it is a compiled default: with reasoning_effort unset Paladin sends nothing and kimi-k3 runs at its own default, max.

llm:
  default_provider: "kimi"

  kimi:
    api_key: "${MOONSHOT_API_KEY}"
    default_model: "kimi-k3"
    reasoning_effort: low     # measured: stop in 56 s, 1,906 reasoning tokens (2026-10-13)
    max_tokens: 16000         # the cap that measurement used
    timeout_seconds: 300      # restates the reasoning-model default so it is visible

To use high, raise timeout_seconds above the 359 s measured; to use max, expect to spend the whole cap on a hard question. The seeded kimi-k3 row lists low, high, max, off and auto; a reasoning_effort it does not list (medium, say) fails when the agent is built, naming llm.kimi.reasoning_effort, instead of at the first call.

Notes and limits

A provider-wide default

llm.<provider>.reasoning_effort applies to every model that provider serves, and each request is judged against its own model. llm.openai.reasoning_effort: high therefore reaches gpt-4o-mini too, which was never measured, and refuses every request for it (the reason ends with (set by `llm.openai.reasoning_effort`)). Set a provider-wide default only where every model you serve supports it; otherwise set the effort on the agent or the request. A per-model default is not offered. Such a default is refused at build and at agent load as well as on every request, so a default a model cannot honour is found when the agent is built.

The node cache

The Aegis node cache key includes an agent's reasoning_effort and reasoning_fallback when they are set, so an A/B run at low and then high is not served from the cache. An unset effort adds nothing, so existing keys are unchanged. A provider-level default is not part of the key; see Cache key version and rotation before changing llm.<provider>.reasoning_effort.

Reasoning text is not requested

Asking for an effort does not ask the vendor to show its reasoning. Paladin fills LlmResponse.reasoning only when the vendor sends reasoning text unprompted: OpenAI's Chat Completions never does, Anthropic's thinking text defaults to omitted on current models, and Gemini returns thought parts only with includeThoughts, which the adapter does not send.

Sampling parameters can change meaning with effort

The probe sent high together with temperature: 0.5 and the vendor refused (400) on all 17 OpenAI models, on 9 of the 11 Anthropic models, on both Kimi models and on grok-4.20-reasoning; it accepted it on both DeepSeek models, all 12 Gemini models and the other four Grok models. Paladin does not add a rule for this: a model's sampling profile, not its effort, decides what sampling parameters are sent. If you set an effort on one of those models, leave temperature out.

Not covered

  • The OpenAI Responses API is not used; the mapping is Chat Completions reasoning_effort only.
  • The paladin command-line tool's own agent YAML (src/application/cli/config/paladin_config.rs) has no effort key, and agents provisioned through the facade's AgentSpec carry none.
  • Levels and bounds are not discovered from a vendor's model listing; they come from the dated probe or from your override.

See also: Switching Providers for the sampling and limits profile each model carries, Provider Expansion, and Paladin Configuration.