Skip to content

invalid thinking: only type=enabled is allowed for this model Codex

Quick fix

Kimi's deepseek-v4-flash rejects the current thinking parameter; the original post provides no verified solution.

Error output
CC Switch local proxy failed while handling Codex endpoint /responses. Provider: Kimi; model: deepseek-v4-flash; upstream_status: HTTP 400; cause: invalid thinking: only type=enabled is allowed for this model

In this report, Codex called Kimi's deepseek-v4-flash through the CC Switch local proxy, and the upstream returned HTTP 400. The error states that this model accepts only a thinking parameter with type=enabled, indicating that the request's thinking parameter type was not accepted by the model.

This issue is labeled question, and its only follow-up asks, “How was this resolved?” The post does not record a maintainer-confirmed fix, a user-verified workaround, a configuration path, or affected versions; being closed does not itself mean it was fixed.

  1. The original post provides no verified solution; continue following the source issue for this model's compatibility requirements for the thinking parameter.

ToolCodex
VersionUnknown
PlatformsUnknown

This page is distilled from 1 real issues

How was this resolved?
The original post provides no verified solution. The known behavior is that Kimi's deepseek-v4-flash accepts only a thinking parameter with type=enabled.

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.