⌨️CLAUDE_CODE_ALWAYS_ENABLE_EFFORT
Also known as CLAUDE_CODE_ALWAYS_ENABLE_EFFORT=1
Set to 1, it sends effort even for a model name it does not know.
Think of it like
It is like you pass a note to a helper. You do not need their name.
Example
Jack's gateway calls Opus team-opus. Claude Code did not know that name, so it sent no effort. With this set, his effort level reaches the model.
Why it matters
Behind a gateway, your effort setting can be dropped without a word. This keeps it.
Definition
Example code
bash
export ANTHROPIC_MODEL=team-opus
export CLAUDE_CODE_ALWAYS_ENABLE_EFFORT=1
claudeCommon mistake
Key takeaways
- 1Sends effort always. Even unknown names.
- 2For gateways. Custom names.
- 3Old models skipped. So nothing fails.