Skip to content
BENIBIX Learn

CLAUDE_CODE_ALWAYS_ENABLE_EFFORT

AI⌨️ Claude CodeConfiguration

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

CLAUDE_CODE_ALWAYS_ENABLE_EFFORT set to 1 sends the effort level with each request. It does this even when Claude Code does not know the model's name. Use it behind a gateway that gives models its own names. Old models that reject effort, such as Haiku 4.5, are still left out.

Example code

bash
export ANTHROPIC_MODEL=team-opus
export CLAUDE_CODE_ALWAYS_ENABLE_EFFORT=1
claude
Send effort to a model with a new name.

Common mistake

Expecting it to work on an old model. Models that reject effort are still skipped.

Key takeaways

  1. 1
    Sends effort always. Even unknown names.
  2. 2
    For gateways. Custom names.
  3. 3
    Old models skipped. So nothing fails.