Skip to content
BENIBIX Learn

CLAUDE_CODE_EFFORT_LEVEL

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_EFFORT

It sets the effort level, from low to max.

Think of it like

It is like you tell a helper to work fast or take great care.

Example

Lucy wants her nightly job to think hard. She sets this to high in the job, and her daytime chats keep their own level.

Why it matters

More effort means better answers on hard work, but it costs more and takes longer.

Definition

CLAUDE_CODE_EFFORT_LEVEL sets how much effort the model puts into each answer. The values are low, medium, high, xhigh and max, and which ones work depends on the model. It wins over the --effort flag, the /effort command and the settings. A max cap set by an admin still holds. Set it to auto to let the API pick.

Example code

bash
export CLAUDE_CODE_EFFORT_LEVEL=high
claude
Run every session at high effort.
This variable sits at the top.

Common mistake

Setting it and then asking why /effort does nothing. This one wins over the command.

Key takeaways

  1. 1
    Five levels. low to max.
  2. 2
    Wins over flag and command. And settings.
  3. 3
    Cap still holds. maxEffortLevel.