Jessica Wachtel’s reported coding tests favored Claude Sonnet 5.5 on screenshot reconstruction and GLM-5.4 on a six-stage optimization task. Her GLM-5.4 run on SQLGlot stopped before completion, leaving no finished head-to-head result for that task. Wachtel published the comparison on November 30, 2026; her findings describe one run per model on each task. (The New Stack)
A coding-model result is most useful when you pair the task score with the time it took and whether the run finished.
How the models performed across three coding tasks
Wachtel reported different leaders on the two completed tasks. The scores belong to distinct exercises: reconstructing a page from screenshots, optimizing a data pipeline, and fixing bugs in SQLGlot.
| Task | GLM-5.4 | Claude Sonnet 5.5 | What the task involved |
| Screenshot reconstruction | 147/153 points; 105 turns; 2,383 seconds | 153/153 points; 19 turns; 127 seconds | Rebuild a freight-report page from three screenshots, including chart values. GLM-5.4 lost points on accented place names. |
| Six-stage optimization | 483.0 task-specific points; 137 turns; 2,226 seconds | 457.3 task-specific points; 13 turns; 103 seconds | Optimize a data pipeline without changing its output. Wachtel reported that both models preserved outputs at all six stages. |
| SQLGlot bug fixes | 16/132 at cutoff; 202 turns; 857 seconds; 2 of 41 bugs fully fixed | 83/132 after two sessions; 370 turns; 1,929 seconds; 15 of 41 bugs fully fixed | Fix bugs in the SQLGlot codebase using hidden checks. The GLM-5.4 run stopped before completion. |
On the screenshot task, Sonnet earned the higher score and finished in less reported time. On optimization, GLM-5.4 scored higher, while Sonnet again completed the run in less time. Those results point to different outcomes by task, not one model leading on every measure.
The SQLGlot figures have different completion status: GLM-5.4’s score was recorded when its run stopped, while Sonnet’s followed two sessions. Wachtel also reported that Sonnet’s final summary claimed 40 of 41 bugs were fixed, but her grading script found 15 fully fixed. A model’s account of its own progress is not a substitute for checking the code against tests.
Why the SQLGlot run stopped
Wachtel reported that GLM-5.4 exhausted its plan allowance during the SQLGlot task. The test used a Z.ai Coding Plan connection compatible with Claude, while Sonnet 5.5 ran through Anthropic’s API. Neither model ran inside the Claude Code app.
Z.ai’s Coding Plan documentation lists separate five-hour and weekly credit allowances. The five-hour allowance refreshes five hours after use, and the weekly allowance resets every seven days. GLM-5.4 is listed as supported across the plans. (Z.ai’s Coding Plan documentation)
| Coding Plan | Five-hour allowance | Weekly allowance |
| Lite | 2,000 credits | 10,000 credits |
| Pro | 12,000 credits | 60,000 credits |
| Max | 28,000 credits | 140,000 credits |
A longer agent-style task can therefore encounter a plan limit before it reaches a final result. The credit figures explain the plan structure, but they do not identify which named tier matched the subscription Wachtel used.
What the reported cost figures show
Wachtel’s comparison combines a Z.ai monthly subscription with Anthropic API charges. Those use different billing arrangements: one is a subscription with plan allowances, while the other is based on API token use. The reported amounts therefore do not identify a cheaper model for equivalent work.
Anthropic lists Claude Sonnet 5.5 API base rates of $2 per million input tokens and $10 per million output tokens. (Anthropic’s model documentation) Applying those rates to the token totals Wachtel reported, with all input tokens charged at the standard rate and no cache, batch, or other adjustments, gives these illustrative amounts:
| Task | Calculated from Anthropic’s listed base rates | Charge reported by Wachtel |
| Screenshot reconstruction | $1.22 | $0.41 |
| Six-stage optimization | $0.52 | $0.24 |
| SQLGlot | $79.06 | $32.40 |
These calculations use the published base rates and Wachtel’s reported token counts; they are not invoice amounts. The figures also show why the test’s subscription-versus-API totals cannot support a like-for-like cost verdict.