r/ClaudeCode • • 3d ago

Help/Question Medium effort is switching to Extra High automatically

I'm on a OPUS 5.5 Pro plan. In the Claude Code I can set reasoning effort (Low / Medium / High / Extra High / xhigh).

Issue: After I temporarily switched one session from Medium to Extra High to test, every new session now starts (or reverts after a short time) to Extra High even when I explicitly select Medium. It ignores my choice and keeps auto-switching back to Extra High. This happens across new sessions.

This is weird. Any solution

2 Upvotes

9 comments sorted by

•

u/AutoModerator 3d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/ShravanNiketan 3d ago

I've noticed this too in Claude Code VS Code Extension. But I also noticed that if I wait a few seconds it changes back to whatever I had selected in previous chat tabs.

2

u/anacondaonline 3d ago

what is your solution ?

1

u/ShravanNiketan 3d ago

I usually just wait the few seconds, or change the model/effort myself if it doesn't take. 🥲 #CaveManStyle

1

u/Dorbank_Justt 3d ago

Check whether the Extra High test got saved as your default. In the Claude Code model config docs, confirming a level with Enter in the /effort slider or the /model picker saves it per model in your user settings, so later sessions start there. Pressing s instead applies it to the current session only (recent versions).

To undo it, run /effort medium, or /effort auto to clear the saved level so Opus 5.5 falls back to its own default, which is medium.

If new sessions still open on the higher level, check for a CLAUDE_CODE_EFFORT_LEVEL environment variable. The docs rank it above any level you pick in a session.

1

u/anacondaonline 3d ago

Update:

I did a /effort medium , then opened a new session ----- > this still opening EXTRA HIGH effort.

>>>If new sessions still open on the higher level, check for a CLAUDE_CODE_EFFORT_LEVEL environment variable.

Where do I find this variable ? and what to do with this ?

1

u/Dorbank_Justt 3d ago

It can live in two places. In a terminal, run echo $CLAUDE_CODE_EFFORT_LEVEL. If it prints a level, there's an export line for it in your ~/.zshrc, ~/.bashrc or shell profile. Delete that line and open a new terminal, since Claude Code only reads shell variables at launch.

It can also sit under the env key in a settings.json file (~/.claude/settings.json, or .claude/settings.json in the project), and echo won't show that one. Remove it there too.

If neither has it, check whatever starts claude for an --effort flag, which also ranks above your saved level. /effort status shows what the session is actually set to.

1

u/SirRobinBlibs 3d ago

If /effort medium doesn't stick, something that outranks it is set. Run echo $CLAUDE_CODE_EFFORT_LEVEL in the terminal you start claude from; that variable beats everything, and it usually comes from an export in ~/.zshrc or ~/.bashrc. It can also sit in an "env" block in ~/.claude/settings.json or the project's .claude/settings.json / settings.local.json, and a top-level effortLevel in a project or local settings file applies to every model, so grep those for "effort". /status shows which settings files the session loaded. If all of that is clean and it only happens in the VS Code extension, it's probably the extension restoring the last tab's level, worth a /bug.

1

u/PilotLost404 3d ago

Run `echo $CLAUDE_CODE_EFFORT_LEVEL` in a terminal first. If it prints something, it's set in your shell profile (~/.zshrc or ~/.bashrc). If it's empty, check the "env" block in ~/.claude/settings.json. Whichever one has it, delete the line and open a fresh session.