SalpXXAPI News
Integrations 5 min read

Reasoning effort is not portable across models: avoiding compatibility 400s at a gateway

GPT models do not accept the same reasoning settings. A gateway needs model-level capability data, deterministic request normalization, and error isolation that separates one model's bad parameter from a channel outage.

The conclusion first

reasoning.effort is not a switch that can be hard-coded for every GPT model. OpenAI states that supported effort levels differ by model, and GPT-6.2 Astra and GPT-6.2 Sol reject none. The Responses API uses the nested field reasoning.effort, while Chat Completions uses the top-level field reasoning_effort.1

A request that worked on one model can therefore return HTTP 400 immediately after a model change. This is usually not an invalid key, insufficient balance, or a dead upstream channel. It is an invalid model-and-parameter combination. For a new integration, medium is a reasonable starting point from the official guidance, but production behavior still needs confirmation against the exact model documentation and a real probe.1

The gateway's job is not to force every request to one universal value. It needs a model capability matrix: accepted values, correct field shape, and a clear policy to reject, downgrade, or omit an incompatible setting.

Why teams misdiagnose this error

Clients often store reasoning as a global preference

Many clients expose one “reasoning effort” setting. Once a user chooses none, the client may attach it to every model request. If the same UI can switch models, a value accepted by one model can be carried into another model that rejects it.

For example, this Responses request is invalid when the selected model does not accept none:

{
  "model": "gpt-6.2-astra",
  "reasoning": {
    "effort": "none"
  },
  "input": "Extract three conclusions from this text"
}

The official GPT-6.2 Astra model page separately confirms that the API rejects a request whose reasoning effort is none.2 This is deterministic validation, not transient network noise. Retrying the same body will not repair it.

Compatibility layers can hide field-shape differences

Responses and Chat Completions offer related behavior, but the JSON shapes differ:

  • Responses: "reasoning": {"effort": "medium"}
  • Chat Completions: "reasoning_effort": "medium"

If a gateway only passes JSON through, a client may send the field for one API to the other. The result can be an unknown-field error, an invalid value, or an ignored setting. Silent ignoring is particularly dangerous: the request returns 200, but the user believes the requested effort was applied.

Before an upstream call, the gateway should log the normalized parameters without logging sensitive prompt content. Troubleshooting needs the public model, actual model, API type, original reasoning setting, normalized result, and upstream error code.

A correct compatibility policy

1. Track capability by model, not by channel

A single channel can serve several models, and a parameter failure may affect only one model. The capability record should include:

  • Model ID and aliases.
  • Supported API type.
  • Whether reasoning control is supported.
  • Effort values that have been verified.
  • Whether the default is omission, an explicit value, or upstream selection.
  • Whether a safe downgrade is allowed.

Do not disable an entire channel because one model returns 400. Isolate by channel, model, and parameter; other models on the same route may remain healthy.

2. Normalize deterministically before sending

Normalization needs predictable rules:

  1. Convert a client-level setting into the correct shape for the target API.
  1. Check whether the target model accepts the value.
  1. Send it unchanged when supported.
  1. When unsupported, reject it, replace it with a verified value, or omit it according to an explicit product policy.
  1. Record what happened in response metadata or logs.

The safest default is an actionable rejection, such as: “gpt-6.2-astra does not support none; use low or medium, or remove the field.” Automatic downgrade should happen only when the client has opted into compatibility behavior. Otherwise, silently changing the value changes latency, cost, and output quality.

3. Do not blindly retry a validation 400

When the upstream returns a parameter-validation 400, parse the error body first. If it points to reasoning.effort or reasoning_effort, repeating the same payload is pointless. The correct response is to:

  • Stop automatic retries.
  • Preserve the upstream error and request ID.
  • Classify it as model-parameter incompatibility, not a connection failure.
  • Return a supported-value suggestion or ask the client to remove the field.
  • Send a new call only after the payload has been corrected.

This avoids repeated delay, noisy logs, and incorrect channel health penalties. It also prevents unrelated models on the same channel from being disabled.

4. Do not turn none into high effort without permission

Changing none directly to high may make a request pass, but it can materially increase latency and reasoning-token use. For classification, routing, and extraction, low is often closer to the original low-latency intent. For planning and difficult code diagnosis, medium is a better evaluation starting point. OpenAI describes medium as a balanced choice for many workloads, but it is not a universal answer for every model and task.1

Compatibility should preserve user intent, not obtain HTTP 200 at any cost.

How a client should store the setting

Bind request settings to a model instead of saving one global value:

{
  "gpt-6.2-astra": {
    "api": "responses",
    "reasoning_effort": "medium"
  },
  "another-model": {
    "api": "responses",
    "reasoning_effort": null
  }
}

Here, null means that the client omits the parameter. It does not send the string "none". When a user switches models, the client loads the selected model's configuration before constructing the request. If capability is unknown, omission is usually safer than guessing, subject to the provider's current documentation.

A user interface should also update its choices when the model changes. Do not let a user choose a combination that the upstream will certainly reject and then label the resulting 400 as “service temporarily unavailable.”

Gateway release checklist

Request layer

  • Responses and Chat Completions fields are translated correctly.
  • The string none, an empty value, and an absent field remain distinct.
  • Only values verified for the target model are sent.
  • Validation 400s do not enter exponential retry.

Routing layer

  • Failure is isolated to the specific model and parameter combination.
  • One model's 400 does not disable the whole channel.
  • A fallback model is capability-checked before it receives the request.
  • The payload is rebuilt after a model switch instead of reusing old JSON.

Observability

  • Log both the public model and actual upstream model.
  • Log API type and normalized effort.
  • Preserve the upstream request ID, status, and a redacted error summary.
  • Distinguish parameter rejection, rate limiting, upstream 5xx, and network failure.

Evaluation

  • Run representative tasks with verified candidates such as low and medium.
  • Compare task success, latency, reasoning and output tokens, and cost per successful task.
  • Set a default only when the measurements support it.

A reusable diagnostic order

When a model switch suddenly produces 400:

  1. Confirm the actual upstream model ID.
  1. Confirm whether the call uses Responses or Chat Completions.
  1. Inspect the redacted final request fields.
  1. Check the model's official effort documentation.
  1. Run one minimal request with the reasoning field omitted.
  1. Test again with a verified value.
  1. Correct only that model's capability record; do not broaden the outage.

This sequence turns “the new model broke the channel” into a reproducible parameter-compatibility issue. For a gateway, precise isolation matters more than aggressive retries. For a user, a transparent explanation is safer than a silent rewrite.

Sources & attribution

This article references the public materials listed below. Analysis and wording are SalpX's own; quoted material remains the property of its original authors and publishers.

  1. 推理模型 — OpenAI Developers · accessed 2026-11-23Note:OpenAI's official reasoning-model guide describing parameter placement, model-specific differences, and the rejection of none by GPT-6.2 Astra and Sol.
  2. GPT-6.2 Astra — OpenAI Developers · accessed 2026-11-23Note:The official GPT-6.2 Astra model page explicitly states that the API rejects requests with reasoning effort set to none.

One key for Claude, GPT and 50+ models

The SalpX gateway is OpenAI-SDK compatible. Point base_url at https://www.salpx.com/v1 and you are done.