GrepBoard/매뉴얼
605 편 ·

Claude API thinking.type.disabled 400 해결

·시험 환경 Claude API 공식 문서 기준 · 2026-11·시험 범위 ↓·6 단계

thinking.type.disabled is not supported for this model 400 은 thinking 을 끌 수 없는 모델에 disabled 를 보낸 것입니다. 필드를 빼면 됩니다.

text
"thinking.type.disabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior.

thinking: {"type": "disabled"} 를 보냈는데 그 모델은 thinking 이 항상 켜져 있어서 끌 수 없다는 뜻입니다. 상태 코드는 400, 오류 유형은 invalid_request_error 입니다. thinking 필드를 빼면 모델이 adaptive thinking 으로 돌고, 생각의 깊이는 output_config.effort 로 조절합니다. 다만 모델에 따라 문구와 해결이 갈리니 1단계에서 먼저 가릅니다.

[1] 오류 문구와 모델을 맞춰 봅니다. 공식 오류 문서가 적은 경우입니다.

모델"disabled" 를 보내면문구
Fable 5.1 · Mythos 5.1 · Fable 5 · Mythos 5 · Opus 5.5항상 400위 문구(Use "thinking.type.adaptive" and …)
Mythos Preview항상 400아래 4단계 문구(Thinking defaults to adaptive mode …)
Sonnet 5.5모든 effort 에서 400아래 5단계 문구(To turn thinking off on this model, …)
Opus 5 · Haiku 5.5effort high 이하에서만 통과xhigh·max 와 같이 보내면 400
Sonnet 5 · Opus 4.8 · Opus 4.7통과이 오류 아님

위 문구가 "thinking.type.disabled" is not supported 로 시작하는 경우는 표의 앞 두 줄입니다. 문구가 output_config.effort 'xhigh' is not supported when thinking is disabled … 이면 이 글이 아니라 Claude API effort xhigh 400 오류 해결입니다.

[2] 요청에서 thinking 필드를 뺍니다. 공식 문서는 thinking 을 생략하면 adaptive thinking 으로 돌아간다고 적습니다.

request.json
{  "model": "<model-id>",  "max_tokens": 4096,  "thinking": {"type": "disabled"},  "messages": [{"role": "user", "content": "..."}]}
request.json
{  "model": "<model-id>",  "max_tokens": 4096,  "messages": [{"role": "user", "content": "..."}]}

<model-id> 자리에는 쓰던 모델 id 를 그대로 둡니다.

[3] 생각을 줄이고 싶은 이유가 속도나 비용이라면 output_config.effort 를 낮춥니다. 이 모델들에서 thinking 을 끄는 방법은 문서에 없으므로 effort 가 공식 조절 수단입니다. effort 의 값 범위와 기본값은 모델마다 다르니 effort 문서의 모델별 표에서 확인합니다.

request.json
{  "model": "<model-id>",  "max_tokens": 4096,  "output_config": {"effort": "low"},  "messages": [{"role": "user", "content": "..."}]}

위 요청에서 추가한 줄은 output_config 입니다. low 를 지원하는지는 모델마다 다를 수 있습니다. 거절되면 오류 문구에 나온 값 안에서 고릅니다. 생각 내용이 응답에 섞이는 것이 싫어서 끄려던 것이라면 끄지 말고 thinking 설정에 display: "omitted" 를 둡니다.

[4] Mythos Preview 에서 이 문구가 나왔다면 extended thinking 을 쓰라는 안내입니다. 이 모델만 enabled 와 budget_tokens 를 받습니다.

text
"thinking.type.disabled" is not supported for this model. Thinking defaults to adaptive mode when not specified; use "thinking.type.enabled" with "budget_tokens" for extended thinking.

thinking 을 끄는 것이 목적이 아니라면 필드를 빼서 기본인 adaptive 로 돌리고, 고정 예산이 필요하면 {"type": "enabled", "budget_tokens": N} 을 보냅니다. 다른 모델에 이 enabled 를 보내면 thinking.type.enabled 400이 납니다.

[5] Sonnet 5.5 에서는 disabled 대신 between_tools 를 보냅니다. 앞단 생각을 하지 않고, 도구 호출 사이의 짧은 안내 글만 thinking 블록으로 돌아옵니다. 문구는 이렇습니다.

text
To turn thinking off on this model, send "thinking": {"type": "between_tools"} instead of {"type": "disabled"}. The model does not think before responding. The short updates it writes between tool calls come back as thinking blocks.
request.json
{  "model": "claude-sonnet-5-5",  "max_tokens": 4096,  "thinking": {"type": "between_tools"},  "messages": [{"role": "user", "content": "..."}]}

위 요청에서 추가한 줄은 thinking 입니다. between_tools 는 effort high 이하에서만, 그리고 대화 중간에 메시지별 effort 로 수준을 바꾸지 않을 때만 받아 줍니다. xhigh·max 와 같이 보내거나 수준이 달라지면 1단계에서 말한 다른 400 이 납니다. 턴마다 effort 를 바꿔야 하면 adaptive thinking 을 씁니다. Haiku 5.5 의 disabled 도 같은 두 조건입니다. 반대로 Sonnet 5.5 가 아닌 모델에 between_tools 를 보내면 "thinking.type.between_tools" is not supported for this model. 이 나므로, 모델을 바꿀 때는 이 값도 함께 뺍니다.

[6] 모델을 정할 수 있다면 thinking 을 꼭 꺼야 하는지부터 봅니다. 문서의 모델별 표 기준으로 disabled 를 받는 쪽은 Sonnet 5 · Opus 4.8 · Opus 4.7 이고, Opus 5 와 Haiku 5.5 는 effort high 이하에서만 받습니다. 어떤 모델에서 어떤 값이 거절되는지는 Troubleshooting thinking의 표가 한곳에 모아 둡니다.

#claude#api#thinking#troubleshooting