r/codex • • Jul 24 '26

Workaround Possible GPT-5.6 Sol usage workaround: explicit tool batching cut weighted usage by 27–45% in my repeated tests

[deleted] — view deleted post

374 Upvotes

52 comments sorted by

View all comments

4

u/Big-Independent-3093 Jul 25 '26 edited Jul 28 '26

I used your AGENTS example and added a few modifications of my own:

Agentic Loop Suppression: Independent reads, checks and tool calls are grouped into a single batch for each phase. Separate model cycles are avoided when they would only describe progress, poll for unchanged results, or re-analyze the same outcome.

Limited Context Lifetime: Each new phase starts from the latest validated checkpoint. Old conversation history, completed phases and already hydrated owner context are not carried forward automatically.

Now added this as well. I’ll test it and see how it performs:

Compaction Quality Trigger: Compaction is not treated as a failure by itself. The key question is whether it is followed by a patch, test, decision, or other required evidence. Once the stop condition is satisfied, the task ends. The next independent milestone in a long-running session starts as a fresh task.

Results so far. I should add that I started with GPT-5.5, so I still need to run more tasks using only GPT-5.6 SOL before drawing any firm conclusions.

On paper, GPT-5.6 SOL may appear to do more “work,” but that does not necessarily mean it is more efficient. It may use more tools, create more intermediate steps and explore several possible approaches before deciding which one best fits the task. That can result in more reasoning and higher usage, even when the final result is similar to what GPT-5.5 produces with fewer steps.

So more reasoning is not automatically the same as better efficiency. The real question is whether the additional exploration produces a meaningfully better result or simply reaches a similar outcome at a higher cost.

EDIT: More tests, results and conclusions can be found in the replies below. My final conclusion, based on longer-term testing, is that an optimized GPT-5.6 SOL setup works best for me. Ultimately, though, you should choose the model and workflow that best fit your own needs.

2

u/Big-Independent-3093 Jul 26 '26

I ran several more tests over the past few days. The overall pattern was fairly consistent: the optimization rules worked well for GPT-5.6 SOL, but the same rules did not appear to suit GPT-5.5 High as well.

With GPT-5.5 High, the optimized runs often took longer, produced more code, made more mistakes, and required more repair cycles. The unoptimized GPT-5.5 run performed better than the optimized 5.5 runs, so GPT-5.5 may either need a much lighter, model-specific ruleset or simply a clear task and enough freedom to choose its own execution strategy.

GPT-5.5 did sometimes use fewer raw tokens than GPT-5.6 SOL, but it also produced a weaker overall result in my tests: more code, less polished UI/UX, more failures and more rework. That initial token saving may disappear if the result then needs additional fixes or another model to audit it.

So my current conclusion is:

  • Without optimization, GPT-5.5 High can be more token-efficient than GPT-5.6 SOL.
  • The previous optimization rules appear to help GPT-5.6 SOL substantially.
  • Optimized GPT-5.6 SOL Medium outperformed GPT-5.5 High in overall outcome efficiency: better UI/UX, fewer mistakes, less rework, and faster completion.
  • The same optimization rules should not automatically be applied to every model.

This is still based on my own repeated project runs rather than a universal benchmark, but the direction was consistent enough that I would currently use optimized GPT-5.6 SOL Medium for full application work and test a lighter, separate approach for GPT-5.5.

1

u/Big-Independent-3093 Jul 25 '26

I tested four completely fresh projects: two with the optimized AGENTS md rules and two without them.

The task was identical in every run: build a local browser-based Codex usage dashboard from scratch. It had to load JSONL session logs, calculate token metrics, provide filtering and session comparisons, display a visual activity timeline, handle malformed records, include sample data, and run entirely in the browser without uploading anything.

Even the weaker optimized run used 47.7% less total token activity than the non-optimized comparison:

  • 42.4% fewer token-meter events
  • 43.3% fewer tool calls
  • 39.4% less uncached input
  • 48.3% less cached input
  • 1 patch → test → fix cycle instead of 6
  • 2 successful patches instead of 7

The biggest difference was not simply that each individual model call was smaller. The optimized run avoided repeated implementation and repair loops. The non-optimized run repeatedly followed this pattern:

patch → validate → discover another issue → patch again → revalidate

Each additional cycle created another model turn, carried forward a larger context, and required more tool calls. Its context eventually grew to about 114k tokens, compared with about 87k in the optimized run.

I also compared the two optimized runs with each other, because the first optimized run performed much better than the second one. The stronger optimized run still used 37.8% less total activity, despite both having the same rules.

The difference was mainly first-pass convergence:

  • one coherent implementation patch instead of two;
  • no patch → test → fix cycle;
  • 29% fewer tool calls;
  • 29% fewer token events;
  • fewer repeated validations and DOM snapshots;
  • smaller median and maximum context;
  • it stopped once sufficient validation evidence existed.

So the strongest run did not win because it blindly skipped validation. It chose a smaller sufficient design, implemented it coherently, validated it in a focused way, and stopped at the correct point.

My main takeaway is:

The largest token savings came from avoiding unnecessary decision, repair, and revalidation cycles—not merely from reducing the size of each individual model call.

The most useful additional AGENTS md rules appear to be:

Smallest sufficient implementation: Prefer the simplest design that satisfies the stated requirements. Do not expand architecture or scope without a concrete requirement.

First-pass convergence: Before the initial patch, identify the required data flow, UI states, error paths, acceptance checks, and validation plan. Prefer one coherent implementation pass over speculative partial patches.

Bounded validation: Plan one focused validation batch. Avoid repeated snapshots, equivalent selector checks, duplicate browser setup, and full revalidation unless a later patch changed the relevant behavior.

Root-cause repair: When validation fails, identify the common cause and group related fixes into one patch instead of repairing symptoms one at a time.

Stop after sufficient evidence: Once the required validation passes, stop unless there is a reproducible defect, missing requirement, or explicit evidence gap.

For debugging high usage, the most useful metrics were:

  • number of patch → test → fix cycles;
  • total token-meter events;
  • tool-call count;
  • repeated commands and snapshots;
  • tokens before the first successful patch;
  • tokens after the last sufficient validation;
  • median and maximum context size;
  • absolute cached input, not just cache percentage.

A high cached-input percentage is not automatically efficient. A large context processed repeatedly across many agentic loops can still consume a huge amount of usage.

This is still a small sample, so I would not claim one universal savings percentage. However, the repeated direction of the results suggests that the optimization rules have a real measurable effect, and that reducing rework is probably the most important part.

1

u/Big-Independent-3093 Jul 25 '26 edited Jul 27 '26

A rough follow-up on practical weekly capacity

I also compared the weekly-limit consumption of the two models before applying these optimization rules.

In my usage, GPT-5.5 High was around 2% of the Pro Lite weekly limit per active hour, while GPT-5.6 SOL Medium was closer to 5–6% per active hour. That suggests GPT-5.6 SOL was using roughly 2–2.5× more weekly capacity for my workload.

The project-level A/B tests above

suggest that the optimization rules can reduce total activity by roughly 18–48%, depending on how well the run converges. I would not apply those percentages directly as guaranteed hourly savings, but they provide a reasonable range for a rough estimate.

Based on the current sample, my provisional estimates for Pro Lite are:

  • GPT-5.5 High before optimization: around 2%/h, or roughly 50 active hours
  • GPT-5.5 High after optimization: roughly 1.3–1.7%/h, or around 60–75 active hours
  • GPT-5.6 SOL Medium before optimization: around 5–6%/h, or roughly 17–20 active hours
  • GPT-5.6 SOL Medium after optimization: roughly 3–3.5%/h based on the latest measurements, or around 29–33 active hours.

Plus has approximately 5× less Codex capacity than Pro Lite, so the rough Plus equivalents would be about one fifth of those estimates:

  • optimized GPT-5.5 High: approximately 12–15 active hours
  • optimized GPT-5.6 SOL Medium: approximately 6–6.6 active hours

These are not official limits or stable benchmarks. They are estimates derived from a small number of local log audits and observed weekly-limit changes. Task complexity, model behavior, context growth, failed attempts, validation depth, and repair cycles can move the result significantly.

The pattern so far is more useful than the exact numbers: optimization improves both models, but GPT-5.5 High still appears substantially more efficient for sustained implementation work. GPT-5.6 SOL Medium may be a better fit for bounded audits, difficult debugging, or decisions where its additional exploration produces enough value to justify the higher usage.

EDIT: More tests, results and conclusions can be found in the replies below. My final conclusion, based on longer-term testing, is that an optimized GPT-5.6 SOL setup works best for me. Ultimately, though, you should choose the model and workflow that best fit your own needs.