AI Evaluation ·
Does Higher Reasoning Effort Produce Better Code? 600 Controlled Runs
Evaluating five OpenAI and Anthropic models while varying only the reasoning effort parameter: neither latency scaling is linear nor does maximum effort always win
Among practitioners using coding agents such as Claude Code or Codex, a common rule of thumb advises against leaving reasoning effort at maximum by default, citing higher latency, faster quota depletion, and over-analysis on straightforward tasks.
This observation aligns with documented product decisions. Claude Code creator Boris Cherny noted on Hacker News that the default effort level was set to medium to balance capability, speed, and cost. Similarly, Anthropic’s official documentation warns that raising effort to max on structured or simple tasks can trigger overthinking. Independent measurements by Artificial Analysis, cited by Pascal Reischl, also showed Opus 5.5 consuming 4.5× more resources at max than at medium (11× compared to low).
At CrisoLabs, we designed a controlled experiment to measure what actually happens when coding tasks and hidden test suites are held constant while varying only the reasoning effort setting from low to max across five models. In total, we executed 600 controlled runs, supplemented by targeted diagnostic trials.
Experimental Setup
We assembled a fixed benchmark of 8 real Python tasks (34 files verified by cryptographic hash prior to execution to guarantee invariance): - 5 targeted edits (~10 lines each): generator-preserving batching, closed-interval merging, strict comma-decimal amount parsing, deterministic exponential backoff, and URL query parameter updates. - 3 full design modules (68 to 85 reference lines): an atomic inventory ledger, a dependency-graph and capacity-constrained task scheduler, and a TTL-based LRU cache.
In each run, the agent received a clean workspace containing the task specification and a strict 10-minute wall-clock limit (600 seconds), without access to the hidden evaluation tests. We tested all 5 effort levels (low, medium, high, xhigh, max) with 3 repetitions per task across 5 models:
- gpt-6.1-sol and gpt-6-luna (via Codex CLI)
- claude-haiku-5-5, claude-opus-5-5, and claude-fable-5-2 (via Claude Code)
Methodological note:
claude-fable-5-2exhausted its subscription quota after the first 27 evaluable runs; the remaining 93 runs were completed via an official API key under a pre-registered amendment, without modifying prior results.
Results Across 600 Runs

The data show no uniform scaling rule across model families or even within the same family:
| Model | Solved / 120 | Observed behavior | low → max time |
|---|---|---|---|
gpt-6.1-sol |
120 / 120 | Solved 24/24 at every effort level |
2.48× (41 s → 102 s) |
gpt-6-luna |
109 / 120 | Failed nearly half at low (13/24); reached 24/24 from medium onward |
2.49× (39 s → 97 s) |
claude-haiku-5-5 |
119 / 120 | Single miss at medium (23/24); max added no gain |
8.95× (19 s → 166 s) |
claude-opus-5-5 |
117 / 120 | 24/24 through xhigh; 3 timeouts at 600 s in max (21/24) |
18.05× (21 s → 376 s) |
claude-fable-5-2 |
100 / 120 | 24/24 through xhigh; collapsed to 4/24 at max (20 timeouts) |
21.99× (27 s → 600 s) |
Three Key Findings
1. At max, Fable 5.2 became 22× slower and hit the wall-clock limit
The informal “3× slower” rule proved inaccurate in both directions: in Codex (sol and luna), max took 2.5× longer than low; in Claude Code, latency jumped to 8.95× on Haiku, 18.05× on Opus, and 21.99× on Fable 5.2.

Inspecting the 20 max runs where Fable 5.2 timed out at 10 minutes revealed a striking pattern:
- In 15 of the 20, the code already written to disk passed 100% of the hidden tests. The model had found the working solution but continued running additional checks or loops until the timer killed the process (the same occurred in all 3 Opus max timeouts).
- In the remaining 5 runs, the model spent the entire 10 minutes with zero lines changed, never editing the target file.

2. Dropping to low carries a recovery penalty on some models
On gpt-6-luna, pass rate rose from 13/24 at low to 24/24 at medium. To determine whether this stemmed from algorithmic reasoning limits or agentic execution, we ran 6 targeted diagnostic trials on the failing cases. In 4 of the 6 failures, when a terminal read command exited with code 127, the low-effort agent halted with zero lines edited and asked for assistance; in the 2 solved cases, it encountered the same 127 error but switched to an alternative (rg or Bash built-ins). From medium onward, this failure mode vanished completely.
3. Workspace integrity and the __pycache__ false positive
Our automated harness flagged “out-of-scope file” alerts on Haiku (32 occurrences) and Opus (40 occurrences). Inspection confirmed that 100% were .pyc files inside __pycache__ generated when the agents invoked python3 during their own testing. Across all 600 runs and 5 models, there were zero unauthorized edits to source files.
Practical Takeaways and Limitations
- What the evidence supports: Setting reasoning effort to
max“just in case” on bounded, well-specified tasks is counterproductive. In our dataset,mediumachieved a 100% pass rate on four of five models (and 119/120 on Haiku), whereasmaxincreased latency by9×to22×and induced timeouts on Opus (3/24) and Fable 5.2 (20/24). - What this study does not establish: The benchmark consists of small Python tasks (8 to 85 lines), not large production codebases; the test suite measures functional correctness rather than code style or architectural elegance; and token accounting differs between Codex and Claude, precluding a direct 1:1 monetary cost comparison across platforms.
The task benchmark, run-by-run logs, and full technical reports in Spanish and English are available in the experiment repository.