Guide: Which Ai Model and at what Effort Should I pick?
TL;DRBuilding with Claude Code or Codex, confused as to what model and which effort - read the instructions from Ai Itself
Claude Code vs Codex: The Practical Guide to Picking the Right AI Engineer
Last checked: 25 August 2026
You do not need a benchmark spreadsheet to choose between Claude Code and Codex.
You need to answer three questions:
- How hard is the task?
- How expensive is it if the agent gets it wrong?
- Does this need one strong agent, or several agents working in parallel?
Everything else is tuning.
The model decides capability. Effort decides thoroughness.
A bigger model knows and reasons more. Higher effort makes that model inspect more, think longer, use more tools, and verify more aggressively.
If you only read one table
| The job | Claude Code | Codex |
|---|---|---|
| Rename, format, mechanical edit | Haiku 4.5 or Sonnet 5 · low | Luna · low |
| Clear feature, known pattern | Sonnet 5 · high | Terra · medium |
| Normal serious engineering | Opus 5 · high | Sol · medium |
| Difficult bug / unclear root cause | Opus 5 · high/max | Sol · high |
| Architecture / risky migration | Fable 5 · high/xhigh | Sol · xhigh/max |
| “The normal model already failed twice” | Fable 5 · max | Sol · max |
| Broad audit with parallel workstreams | Fable 5 · xhigh | Sol · Ultra |
| Thousands of cheap repetitive tasks | Haiku 4.5 | Luna · low |
The default answer
If you just want to get work done:
Claude Code: start with Opus 5 · high
Codex: start with Sol · medium
Do not start everything at the maximum setting. Escalate when the task earns it.
The model ladders, translated into human
These are roles, not benchmark-equivalent models.
| Claude | Codex | Think of it as |
|---|---|---|
| Haiku 4.5 | Luna | Fast, cheap worker for obvious jobs |
| Sonnet 5 | Terra | Everyday workhorse |
| Opus 5 | Sol | Senior engineer for important work |
| Fable 5 | — | Specialist for unusually hard single-agent problems |
| — | Ultra | Multi-agent mode: a team, not a smarter individual model |
That last row is the most important structural difference.
Claude gives you another model above Opus: Fable.
Codex gives you another way to attack the problem: Ultra, where multiple agents can work across parallel threads and combine the result.
So:
Fable = call the specialist.
Ultra = assemble the team.
They solve different problems.
Claude's lineup
| Model | Best description | API price / 1M tokens* | Context |
|---|---|---|---|
| Fable 5 | Frontier specialist | $10 in / $50 out | 1M |
| Opus 5 | Default for serious work | $5 / $25 | 1M |
| Sonnet 5 | Fast, capable workhorse | $2 / $10 | 1M |
| Haiku 4.5 | Cheapest, fastest worker | $1 / $5 | 200k |
The useful distinction is simple.
Haiku does chores.
Sonnet implements clear work.
Opus solves real engineering problems.
Fable is what you reach for when the problem itself is unusually difficult.
Fable is not “Opus but nicer.” It is the expensive option you use when extra capability can save hours or prevent a bad architectural decision.
Codex's lineup
| Model | Best description | API price / 1M tokens* | Context |
|---|---|---|---|
| Sol | Flagship for complex professional work | $4 in / $20 out | 1.05M |
| Terra | Balance of capability and cost | $2 / $12 | 1.05M |
| Luna | High-volume, cost-sensitive work | $0.20 / $1.20 | 1.05M |
Codex's ladder is even easier to remember:
Luna does chores.
Terra builds things.
Sol solves problems.
And when one Sol is not the right shape for the job, Ultra can coordinate multiple agents across parallel workstreams.
One other practical difference: even Luna has the full 1.05M-token context window. Claude's Haiku 4.5 is limited to 200k.
Effort: the second dial
This is where people waste money.
Changing the model and changing the effort are not the same thing.
If an agent gets something wrong because it didn't understand the problem, move up a model.
If it gets something wrong because it didn't inspect enough, skipped tests, stopped early, or failed to verify, move up the effort.
| What happened? | Change |
|---|---|
| It misunderstood a subtle problem | Bigger model |
| It missed a file or dependency | More effort |
| It did not run or verify tests | More effort |
| It followed a bad assumption in your prompt | Fix the prompt |
| One agent is drowning in a huge decomposable job | Split the task / use multi-agent |
That table is more useful than memorising every effort setting.
Claude effort
Claude supports:
low → medium → high → xhigh → max
For Fable 5, Opus 5 and Sonnet 5, high is the API default. Haiku 4.5 does not support the new effort control.
Anthropic's own guidance is essentially: leave effort alone unless you have a reason to change it.
Codex effort
GPT-5.6 Sol, Terra and Luna support:
none → low → medium → high → xhigh → max
Medium is the documented default for the GPT-5.6 models.
For most work, that is enough. High and above should mean “this task deserves more investigation,” not “I am nervous.”
So… Claude Code or Codex?
For ordinary software engineering, both are now good enough that workflow matters more than tribal loyalty.
Choose based on the shape of the work.
| If you care most about… | Lean toward |
|---|---|
| A clear ladder all the way to a top single-agent specialist | Claude Code |
| Cheap high-volume work with a huge context window | Codex |
| A genuinely brutal single problem | Claude Fable 5 or Codex Sol · max |
| Parallel investigation across independent areas | Codex Ultra |
| Routine implementation at good speed | Claude Sonnet 5 or Codex Terra |
| Keeping one strong default for serious work | Claude Opus 5 or Codex Sol |
There is no need to turn this into a religion.
A very sensible setup is to daily-drive one and keep the other available as your second opinion.
If a bug survives two good attempts, switching agent families can be more useful than asking the same model to think even harder for a third time.
What should I actually use for coding?
Here is the reference version.
1. Tiny, obvious work
Rename `billingPeriod` to `billingCycle` in this package.
Preserve behaviour and run the relevant tests.
Use:
Claude: Haiku 4.5 / Sonnet low
Codex: Luna low
2. Normal feature work
Add the ability for a user to archive a budget.
Inspect how archive behaviour is handled elsewhere and follow the existing pattern.
Add tests. Preserve the current delete behaviour.
Use:
Claude: Sonnet 5 high or Opus 5 high
Codex: Terra medium or Sol medium
3. The bug where you do not know the answer
Transactions are occasionally duplicated after an import retry.
Investigate before editing.
Trace the retry mechanism, transaction boundaries and idempotency handling.
Do not assume my diagnosis is correct.
Fix the root cause and add a regression test.
Use:
Claude: Opus 5 high
Codex: Sol high
4. The expensive architecture decision
Design a zero-downtime migration from integer IDs to UUID public IDs.
Do not implement yet.
Map database, API, cache, background-job and analytics dependencies.
Produce a staged migration, compatibility period, rollback strategy and verification plan.
Challenge the plan for failure modes before recommending it.
Use:
Claude: Fable 5 high/xhigh
Codex: Sol xhigh/max
5. The giant audit
Audit this application for production readiness.
Investigate reliability, security, database correctness, performance,
background jobs, observability and test coverage.
Return one deduplicated P0/P1/P2 plan with evidence.
Use:
Claude: Fable 5 xhigh
Codex: Sol + Ultra
This is where parallel agents actually make sense.
The prompt matters more than your last 10% of model selection
The best model with a vague task can still give you a beautifully reasoned wrong answer.
For coding agents, give four things:
GOAL
What outcome do I want?
CONTEXT
What existing behaviour or architecture matters?
BOUNDARIES
What must not change?
DONE
What should the agent verify before stopping?
For example:
Fix the duplicate-import bug.
Inspect the existing import and retry flow before changing anything.
Do not assume my diagnosis is correct.
Preserve the public API and do not add dependencies.
Add regression coverage, run the relevant tests,
and inspect the final diff before considering the task complete.
That prompt will usually buy you more than blindly changing high → max.
Four rules worth remembering
- Start with the cheapest model that can comfortably carry the problem.
- Move up a model for capability; move up effort for thoroughness.
- Tell the agent what “done” means and make verification part of the job.
- Use maximum effort or multiple agents because the task warrants it — not because the buttons exist.
And the shortest possible version:
Claude: Haiku does chores, Sonnet works, Opus solves, Fable specialises.
Codex: Luna does chores, Terra builds, Sol solves, Ultra assembles a team.
Pick one. Give it the repo. Give it a clear outcome. Make it prove the work.
That is most of the game.
* Prices shown are current API list prices as of 25 August 2026. Claude Code and Codex subscription/credit consumption are separate and can differ from raw API pricing.
Sources
- Anthropic — Models overview: https://platform.claude.com/docs/en/models/overview
- Anthropic — Effort: https://platform.claude.com/docs/en/build-with-claude/effort
- Anthropic — Choosing a Claude model and effort level in Claude Code: https://claude.com/blog/claude-model-and-effort-level-in-claude-code
- OpenAI — Models: https://developers.openai.com/api/docs/models
- OpenAI — GPT-5.6 model guidance: https://developers.openai.com/api/docs/guides/latest-model
- OpenAI — GPT-5.6 launch: https://openai.com/index/gpt-5-6/