The debate between open-weight lineage and closed cloud APIs often ignores the operational realities of token budgeting and schema adherence. A new benchmark conducted on November 26, 2026, pitted Z.aiβs GLM-5.4 (750B Loop Transformer) against Googleβs Gemini 4 Argon across four specific engineering tasks. The results highlight a critical architectural divergence: GLM-5.4 consumes its max_tokens budget with internal reasoning, leading to frequent truncations, while Gemini 4 Argon strictly adheres to output limits but introduces subtle configuration hallucinations.
The Reasoning Tax on Open Weights
Under a fixed max_tokens=2400 cap, GLM-5.4 hit finish_reason="length" in three of four tasks, whereas Gemini 4 Argon completed three of four tasks with finish_reason="stop". The raw JSON logs reveal that GLM-5.4 counts internal reasoning_tokens (ranging from 73 to 568 per call) directly against the completion budget. For instance, during the air-gapped intranet architecture task, GLM-5.4 spent 568 tokens on reasoning, leaving only 1,832 tokens for the actual markdown output, which cut off mid-sentence. In contrast, Gemini 4 Argon billed zero reasoning tokens in this breakdown, allocating the full 2,400 tokens to visible text.
Operational Hazards in Generated Scripts
Both models produced scripts that would destroy local environments if executed blindly. When tasked with cleaning C-drive AI caches, both GLM-5.4 and Gemini 4 Argon added local open-source model weight directoriesβsuch as ollama\models and huggingface\hubβto their deletion targets. These directories often exceed 10GB, meaning a destructive run would wipe out the userβs local LLM setup. Furthermore, Gemini 4 Argon introduced a fatal PowerShell syntax error on line 28 of its cleanup script, writing foreach ($ path in $KnownAIPatterns) with an illegal whitespace between the variable sigil and the name.
Hallucinated Config Paths and GPU Math
In the GitHub MCP timeout debugging task, Gemini 4 Argon instructed developers to edit ~/.codex/config.json to set "mcpServers", confusing OpenAI Codex with Claude Desktop. Codex actually uses .codex/config.toml with [mcp_servers. syntax. Additionally, both models failed basic hardware sizing for GLM-5.4βs 750B parameters due to pre-November 2026 training cutoffs. GLM-5.4 budgeted a single 48GB GPU, and Argon assumed 9Bβ14B quantized weights on consumer cards, neither of which can physically host the 750B Loop Transformer architecture.
Key Takeaways
- Token Budgeting: GLM-5.4 requires
max_tokensraised to 4,096β8,192 for runbooks to account for internal reasoning overhead. - Schema Discipline: Gemini 4 Argon is 2.1x more token-efficient for strict table formatting, using 487 tokens versus GLM-5.4βs 1,044 for the same task.
- Safety Checks: Both models default to dry-run modes, but both incorrectly target local model weight directories for deletion.
- Config Accuracy: Gemini 4 Argon hallucinated JSON config structures for a TOML-based system, requiring manual verification of all generated paths.
The Bottom Line
GLM-5.4 offers faster initial fault isolation but demands careful token allocation to avoid silent truncation, while Gemini 4 Argon provides cleaner formatting but requires rigorous linting to catch hallucinated config syntax and destructive file paths.