HerdbellBlog

Guide

How to set the model and effort (Low, Medium, High) for Claude Code and Codex

By the Herdbell team · Published · Updated

Short answerSet Codex reasoning effort (low, medium, high) and the Claude Code model from config files, CLI flags, or mid-chat, and when higher effort is worth it.

Claude Code and Codex both let you pick a model and how hard it thinks. The setting lives in a different place for each, and a chat you already started keeps its model unless you resume it with a new one. This is what we found when building Herdbell, checked against current versions in November 2026. Names and options change quickly, so confirm against each tool's own help. For a wider comparison of the two, see Codex vs Claude Code.

Claude Code

  • Default model: the model key in ~/.claude/settings.json, or the --model flag on one run.
  • Effort: type /effort <level> in a session (or /effort for a slider), pass --effort <level> for one session, or set effortLevel in settings. Levels are low, medium, high, xhigh and max, depending on the model.
  • Which setting wins: the CLAUDE_CODE_EFFORT_LEVEL environment variable, then the level you pick in the session, then --effort, then effortLevel in settings, then the model default. That is why a settings value can seem to do nothing.
  • Resume a chat with another model: claude -p --resume <session-id> --model <model> --effort <level> "your message". The same conversation continues on the new model.

Codex

  • Default model and effort: the top-level model and model_reasoning_effort keys in ~/.codex/config.toml.
  • Effort levels: values such as low, medium, high and xhigh. Which ones you can use depends on the model.
  • Mid-chat: type /model --reasoning=high (or open /model) to change the model and reasoning effort in an active session.
  • One run: -m <model> and -c model_reasoning_effort="high".
  • Resume a chat with another model: codex exec resume -m <model> -c model_reasoning_effort="high" <session-id> "your message".
  • Which models you can pick: Codex keeps the list, and the effort levels each model accepts, in a cache file under ~/.codex.

A Codex chat that is open in the Codex app is held by that app, so a second program cannot write to it. Close it there first, or start a new chat.

Which effort level should you use?

EffortGood forCost
LowQuick edits, renames, simple questionsFastest and cheapest
MediumEveryday codingBalanced
HighHard bugs, refactors, design questionsSlower and uses more of your limit
Extra high and MaxThe hardest problems, when High is not enoughSlowest, and uses the most of your limit

Higher effort uses more of your usage limit, so keep it for the work that needs it. See how to monitor Claude Code and Codex usage.

Doing this from Herdbell

Herdbell version 2 puts these choices in one place. When you start a chat, pick Claude or Codex, the model and the effort. When you reply to a finished chat, you can switch its model. Herdbell runs the same commands shown above and shows the model on every chat. Cursor and Antigravity pick their model inside their own apps, so Herdbell only displays it. See what is new in Herdbell version 2.

Common questions

How do I change the model in Claude Code?

Set the model key in ~/.claude/settings.json for a default, use the --model flag for one run, or resume a chat with --resume and a new --model.

How do I set reasoning effort in Codex?

Set model_reasoning_effort in ~/.codex/config.toml, pass -c model_reasoning_effort="high" for one run, or type /model --reasoning=high in an active session.

Can I switch the model in the middle of a chat?

Yes. In Claude Code use /model or /effort, and in Codex use /model. You can also resume a chat with a different model.

Why does the settings-file effort level not change anything in Claude Code?

Other settings win over it: the CLAUDE_CODE_EFFORT_LEVEL environment variable, the level picked in the session and the --effort flag all take priority over effortLevel in settings.