BuildRiot
Sign in

Article · AI

GLM-5.4 defaults to Max reasoning: How to compare coding effort settings

ZCode defaults to Max reasoning effort for GLM-5.4. This guide proposes a method for comparing Low, High and Max on correctness, completion time and quota use across fixes, architecture work and code review.

A miniature workbench compares three repair efforts using laptops, tools, magnifying glasses, a stopwatch, and stacks of coins.
Illustration: BuildRiot (AI-generated)

Key takeaway

The useful measure is verified work completed within a time and quota budget. Clear acceptance criteria help developers decide whether extra reasoning earns its cost.

Start by checking the default

ZCode selects Max reasoning effort by default for GLM-5.4. ZCode also offers Low and High for different workloads. The practical question is whether additional thinking produces more accepted patches within a given budget. Sources: ZCode

ZCode recommends Low for simple questions and small, clearly specified edits, and High for everyday development. It recommends Max for architecture, difficult bugs and long-running tasks. The effort control sits in the model menu at the composer's bottom right. Treat these recommendations as starting points, and record the selected setting before each comparison. Sources: ZCode

Match the starting setting to the task

For a small fix, begin with a precise failure and a Low baseline. An empty-input bug needs a reproducible case, a regression test and checks of surrounding behavior. Escalate when the attempt misses a requirement or fails verification. Accept the patch based on those checks, rather than the plausibility of its explanation.

For architecture work, start with High and compare Max on the same requirements. For an idempotent retry implementation spanning several modules, check compatibility, data integrity, migration sequencing and rollback behavior. Code review needs a different scorecard because deeper reasoning and broad defect coverage are separate goals.

The table below proposes starting settings and escalation triggers. These evaluation choices draw on ZCode's workload guidance. ZCode recommends Max for architecture work. Keep a Low baseline for review so extra effort must demonstrate additional value. Judge Max on integration outcomes and verified findings. Sources: ZCode

Table

Suggested effort trials by coding task

Task classStarting pointWhen to test more effortWhat would demonstrate improvement
Small, clearly specified fixesLowLow misses an edge case or fails a regression testMore accepted patches within the same time/quota budget
Architectural changesHigh; compare MaxCross-module invariants, migration sequencing or concurrency require deeper analysisBetter integration results and fewer design violations
Code reviewHigh; retain a Low baselineDeep data flow, authorization or state-machine reasoning mattersMore verified defects without excessive false positives or missed obvious bugs
These editorial starting points draw on ZCode's workload guidance and are not measured winners.Source: ZCode

Build a comparison that isolates effort

Define success before running any setting, then hold the working environment constant. Use the same repository commit, prompt, context, tools, permissions and dependencies in fresh sessions. Repeat each condition and randomize the order to reduce the influence of changing service conditions. Keep cache treatment consistent and record provider errors separately.

Record more than the visible effort label. Capture transmitted parameters alongside the requested setting, model ID, endpoint, ZCode version and timestamp.

  1. Select representative fixes, architecture changes and review tasks with explicit acceptance criteria.
  2. Run Low, High and Max independently from identical starting states.
  3. Repeat conditions in randomized order and preserve request and execution logs.
  4. Hide effort settings from reviewers where practical.
  5. Compare escalation policies separately, counting every attempt.

Measure accepted work and the full wait

For edits, distinguish first-attempt acceptance from eventual acceptance after repairs. Reject a patch that passes a narrow test but violates a stated constraint. For reviews, prepare known defects and clean controls, then independently assess additional discoveries. Measure precision as verified defects divided by reported defects. Measure recall as known defects found divided by known defects present.

Review scoring should include severity agreement, duplicate findings and human triage time. Treat an obvious boundary error and a subtle authorization defect as distinct coverage requirements. Give credit for verified defects, and account for the work required to dismiss false positives. A longer explanation should not automatically earn a better score.

Time the whole path to verified completion, including tests, retries and repair work. Also record the first streamed event, first useful action and initial completion so delays can be diagnosed. Report medians, slow-tail behavior, timeouts and cancellations. Retain unfinished runs in the results. Separate tool execution from model waiting where logs permit.

Make extra effort pay for itself

Measure quota consumption separately from elapsed time. The FAQ says lower effort usually consumes fewer tokens. Sources: ZCode

Capture quota before and after each isolated run, avoiding concurrent account activity. Record uncached and cached input, output and reasoning usage where exposed. Also record tool calls, retries, compaction and reset boundaries. Check whether reasoning is already included in output totals before adding it. If the interface only shows a rounded quota bar, state the measurement resolution. Use the following metrics to connect consumption to accepted work.

credits per accepted task =
    total credits across all attempts / accepted tasks

accepted tasks per hour =
    accepted tasks / total elapsed hours

incremental quota per additional success =
    (higher-effort credits − baseline credits)
    / (higher-effort successes − baseline successes)

The incremental metric applies only when higher effort produces additional successes. Its costs must include failed attempts. After comparing fixed settings, test a policy such as Low followed by High after a failed regression test. Count both attempts, including verification and human review. Keep Max for task classes where additional accepted results justify the measured wait and quota expense.

Attribution

Sources

  1. 1Z.aiGLM-5.4: Toward Generalized Coding with Our First Loop TransformerSource published (UTC)
  2. 2ZCodeFAQ (Q&A)
  3. 3ZCodeZCode Agent
  4. 4ZCodeConnect Models
  5. 5Sulat AI & Tech NewsZ.ai launches GLM-5.4, its first Loop Transformer modelSource published (UTC)
  6. 6SolangleGLM-5.4 vs GLM-5.3: Loop Transformer, Credits and Latency Tested (2026)
  7. 7RedditMade a GLM-5.4 benchSource published (UTC)

Read the original source for full details and context.

Report a problem

Links, dates or what you expected. Do not include passwords or private data.

More on AI

All AI stories
GLM-5.4 defaults to Max reasoning: How to compare coding effort settings · BuildRiot