{"version":"2.1.336","anchor":"claude-code-extra-body-drops-model-in-some-case","canonical_anchor":"claude-code-extra-body-drops-model-in-some-case","heading":"A model set in CLAUDE_CODE_EXTRA_BODY can now be dropped","tier":"notice","area":"Environment Variables","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/claude-code-extra-body-drops-model-in-some-case","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### A model set in CLAUDE_CODE_EXTRA_BODY can now be dropped\n\nClaude Code now removes a model value from `CLAUDE_CODE_EXTRA_BODY` in some cases, as it already did for speed\n\n**Unclear.** It is not stated under what condition the model value is removed, so you cannot tell whether yours will be ignored.\n\n**What**\n\n`CLAUDE_CODE_EXTRA_BODY` is an environment variable holding a JSON object that Claude Code merges into every request it sends. After reading it, Claude Code now deletes any `model` value from it when a certain check passes. It already deleted `speed` under a different condition.\n\n**Why**\n\nIf you set a model through `CLAUDE_CODE_EXTRA_BODY`, it may now be ignored.\n\n- Area: Environment Variables\n- Names: `CLAUDE_CODE_EXTRA_BODY`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}