II.
EnvVar overview
Reference · liveenv-var:claude-code-disable-legacy-model-remap
CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP overview
Set to 1 to prevent automatic remapping of Opus 4.0/4.1 to current Opus on the Anthropic API.
Attributes
displayName
CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP
description
Set to 1 to prevent automatic remapping of Opus 4.0/4.1 to current Opus on the Anthropic API.
name
CLAUDE_CODE_DISABLE_LEGACY_MODEL_REMAP
category
model-selection
valueType
bool
Outgoing edges
affects1
- agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
Incoming edges
None.