HTTP status
400 invalid_request_error
Typical cause
The request setsreasoning_effort: "off" but the selected model requires thinking/reasoning and does not allow disabling it.
Resolution
Removereasoning_effort: "off" from the request, or choose a model that supports disabling thinking.