環境変数
MAX_THINKING_TOKENS
拡張思考のトークン予算を上書きします。
使い方・用途
- 0に設定することで、複雑な推論タスクに使用される思考(Thinking)プロセスを完全に無効化できます。
- 特定のモデルにおいて、固定の思考予算(fixed thinking budget)を使用したい場合に、予算の上限を調整するために使用します。
英語原文(公式ドキュメントより)
Override the extended thinking token budget. The ceiling is the model's max output tokens minus one. Set to 0 to disable thinking entirely. On models with adaptive reasoning, the budget is ignored unless adaptive reasoning is disabled via CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING