DEV Community

Cover image for GLM-5.4 Evaluation Plan: Acceptance Tests for Vision and Coding
boluo
boluo

Posted on

GLM-5.4 Evaluation Plan: Acceptance Tests for Vision and Coding

Before trying GLM-5.4 on a development task, write down what would make the result usable. For a screenshot-to-page job, that might mean every label is preserved, the page works at a narrow width, and the controls respond. A model can produce an impressive screenshot while missing any of those conditions.

Disclosure: AI assisted with this Crazyrouter content project.

Turn GLM-5.4 demos into acceptance tests

The best first task is one with a small input and a clear definition of done. A screenshot-to-page conversion works well because it tests visual reading, code generation, and browser behavior in the same workflow. Keep the original screenshot and a plain-text transcription. Then check every visible string, the layout at a desktop width and at 390px, navigation and buttons, overflow, and browser-console errors. A pretty screenshot is evidence for layout, not for text fidelity or interaction.

For a CSV-to-video task, calculate a few totals and proportions outside the model before looking at transitions or narration. Compare the displayed values and captions against that reference. Record whether the video was generated entirely by the model's code or required a separate rendering tool. A video that plays smoothly but misstates the dataset is still a failed data explanation.

For a 3D mechanism, inspect the source project as well as the render. Specify dimensions, joint limits, and a motion path beforehand. Open the animation, look for collisions, and compare the movement against those constraints. The official GLM-5.4 robotic-arm example passes through FreeCAD and Blender; it demonstrates a tool workflow, while an engineering handoff needs additional checks of geometry and motion.

Still from Z.ai's GLM-5.4 robotic-arm demonstration

This still shows the public demonstration's appearance. It does not establish joint limits, collision behavior, or manufacturability.

Across all three tasks, keep the input version, model ID, access route, client, tool versions, prompt, raw output, retries, manual edits, and time until acceptance. Repeat the same task. One attractive artifact does not measure repeatability, and a first-run error may be a tool failure rather than a model failure.

Five GLM-5.4 public tasks, five different acceptance questions

The NetEase author's five-task article is useful because each task exposes a different type of risk. Only three tasks have finished visuals in the source article. The contact sheet below contains those three; the rainy gas station and naval video are described in text, without comparable finished frames to inspect.

Three visible finished artifacts in the NetEase GLM-5.4 test

The visible artifacts are the bicycle scene, the mathematics site, and a card generated from a chat screenshot. Appearance alone cannot establish motion, numerical correctness, or OCR accuracy.

Public task What the reported result shows What it does not yet settle
Pelican on a bicycle A detailed single-page 3D scene was produced. Chain motion, clipping, and behavior across interactions need a running build.
Rainy gas station The author describes two variations and mobile degradation in one version. The source does not provide finished images for side-by-side visual verification.
Riemann hypothesis website An interactive site took more than two hours in Claude Code and reached about 5,687 lines. Formulae and numerical results need independent reference values.
Chat screenshot to information card The visible card shows an intended 1:3 layout and information hierarchy. No full source-to-card transcript is provided for an OCR error rate.
Naval explainer video The author checked 13 cited figures and called the result closer to an animated slide deck than a 3D animation. The article does not provide finished video frames for us to inspect or independently recheck all 13 figures.

These are observations by the NetEase author, not five runs of a common benchmark. Adding up “passed” tasks would hide the differences between a static composition, a mathematical explanation, a moving scene, and a video with factual claims.

InfoQ reported another set of tasks: roughly 30 minutes for a CSV-based data video, about 1.5 hours for a 2D platform game, and about five hours for a 3D mechanical animation. Its author checked numbers in the data video and played the game's first level; the gear motion in the mechanical piece used an approximation. These durations belong to those particular workflows. They cannot be added to the NetEase article to produce an average GLM-5.4 completion time.

GLM-5.4's loop is an architecture change, not a latency benchmark

Z.ai describes a 28-layer block that runs twice with shared weights. The second pass continues from the first pass's internal state, increasing effective computation depth without creating a second set of those 28 layers' parameters. It still requires another pass of computation. The published design uses two passes; dynamically choosing more or fewer passes for individual tokens is discussed as future work.

Conceptual diagram of the two shared-layer passes in GLM-5.4

The arrows represent the flow of internal state. This diagram does not show the entire model or the time spent in each pass.

To manage long-context costs, Z.ai describes token-level gating for state updates, reuse of sparse KV data from the first pass, a local sliding-window KV cache for the second pass, and reuse of sparse-attention indices. These choices explain the engineering direction. They do not tell us whether a developer will receive an accepted website faster than with another model.

Z.ai's published 30B same-parameter architecture comparison shows AIME25 increasing from 19.17 to 30.42 and GPQA-Diamond from 47.58 to 56.26 with Loop. The company says the comparison required roughly 10% more training compute. This is an architecture experiment on 30B models, not a measured GLM-5.4 versus GLM-5.3 result for a production repository. Its separate 200-scenario coding comparison is also an internal evaluation; the chart alone does not provide the tasks, judging process, or rerun data needed to reproduce the result.

What GLM-5.4 can actually accept and return

As of November 24, 2026, Crazyrouter's GLM-5.4 model page lists glm-5.4 and an OpenAI-compatible Chat Completions route. Z.ai has opened the model to Coding Plan users, while its own general model API is described as pending a safety review. These are different access routes, with different account permissions and billing arrangements.

The Z.ai GLM-5.4 model documentation lists text, images, video, and files as input types, with text as the model output. It also lists a one-million-token context window and a 128K-token maximum output. The music video, interactive bird, and robotic-arm demonstrations were assembled through code and external software. The music workflow also used a separate music-generation model. Calling those files “direct video output from GLM-5.4” would blur the role of the model and its tools.

Input support at the model level is not enough to assume that every client or gateway exposes the same upload format. Before a long test, confirm the chosen route's input handling and current charges on the Crazyrouter pricing page. A Coding Plan allowance and a metered API bill are different cost arrangements.

GLM-5.4 assessment at this stage

Area Evidence available now What to verify next
Loop Transformer A two-pass design and Z.ai's 30B architecture experiment End-to-end time on the same accepted task
Coding and agents Vendor comparisons and several public sites or games Rerun rate, browser behavior, maintainable source
Vision Published image input support and a screenshot-to-card example Character-level extraction and layout at multiple widths
Cross-tool work Music video, 3D scene, robotic arm, and media tests Which tool made each component and whether the final file meets constraints
Long tasks Published context limits and reported multi-hour work Failures, retries, context handling, human repair time
Availability A documented third-party API route and Coding Plan access Actual account permissions, payload format, and current cost

GLM-5.4 looks worth a controlled trial for visual-to-code and multi-tool prototypes. The public record still leaves open how often a complete task passes without repair, how much time each retry adds, and whether the final artifact remains correct under interaction.

GLM-5.4 FAQ

Does Loop Transformer make every GLM-5.4 request faster?

No such result follows from the shared-weight design. Measure the full workflow, including generated tokens, tool execution, retries, and human review.

Does GLM-5.4 directly output videos or 3D models?

The published model output is text. The demonstrated videos and 3D artifacts come from code execution and external tools coordinated around the model.

Can a screenshot prove that a generated site is correct?

It can show visual layout at one moment. It cannot prove that controls work, calculations are right, text was copied completely, or the mobile layout is usable.

Conclusion

GLM-5.4's looped architecture and visual inputs give developers a concrete reason to test it on artifact-building work. The useful metric is the number of outputs that meet a written acceptance standard, together with the total time and repair required to get there. The launch demos show a promising route; repeated, fully inspected tasks will tell us how dependable it is.

Sources

  • Z.ai, “GLM-5.4” model documentation and technical release, consulted November 24, 2026.
  • NetEase subscription, “实测GLM-5.4,国模一哥杀回来了,” November 23, 2026.
  • InfoQ, “智谱GLM-5.4 Loop架构首秀,” November 23, 2026.

Top comments (0)