GLM 5.4

Runs MCP tools

Z.ai’s new flagship: the first GLM flagship with native vision, and its first Loop Transformer. Released to GLM Coding Plan subscribers on 23 November 2026, and available through hosted APIs by 2 December.

Vendor
Z.ai
Released
2 December 2026
Context
1.05M tokens
Input
Text, image, video

Paste a server URL, pick a model, and watch it call your tools in a real conversation. No install.

No server of your own? Leave it blank and use one of the public mock servers.

In your browser

MCP Agent Studio

Server has a public URL? Chat with GLM 5.4 on it, watch every tool call, and compare models side by side.

Open MCP Agent Studio →

On your computer

MCP Playground Desktop

Server runs on localhost or over stdio? The browser can’t reach it. The desktop app can, with GLM 5.4 in Agent Studio. Download free

MCP Evals

Can GLM 5.4 actually complete tasks with your server?

One chat shows the tool calls work. An eval writes real tasks from your tool schemas, has GLM 5.4 drive each one, and reports where it got the wrong answer even though every call succeeded. Pick GLM 5.4 as the driver.

What GLM 5.4 is

GLM 5.4 runs part of its network more than once per token: coverage of Z.ai’s write-up describes 28 middle layers of the GLM 5 base model looped for two passes, at around 750B parameters. Z.ai pitches it for stronger reasoning and more general coding. Unlike GLM 5.3, which is text only, it takes image and video input as well as text, with a 1M-token window and up to 128K tokens of output. Reasoning is always on, with low, high or max effort and max as the default. At listing time we found no official benchmark table and no public weights, so the claims below are thin and labelled for what they are.

What Z.ai says

  • Head-to-head against GLM 5.3, by Z.ai’s own comparison: 51.1% wins, 25.7% ties, 23.1% losses. Z.ai has not published the tasks behind it.
  • Looping on a 30B test model, not GLM 5.4 itself: GPQA-Diamond from about 47.6 to 56.3 and AIME25 from 19.2 to 30.4, with average output 10–14% shorter. Secondary sources disagree on some decimals.

These are the vendor’s own claims, not measurements of ours. Run the model against your own server to find out whether they hold for your tools.

How it reaches MCP

  • MCP Playground’s Agent Studio: paste your server URL above and run GLM 5.4 against it in the browser, with no Z.ai key
  • Claude Code on the GLM Coding Plan, which is where Z.ai released GLM 5.4 first. Claude Code is an MCP client.
  • Z.ai’s API as glm-5.4, from any MCP client that turns MCP tools into function calls

What to watch for

  • Z.ai acknowledges the model can fall into very long “marathon thinking” at max effort. If a tool chain stalls, drop the effort to high before you judge the model.
  • Max effort is the default and thinking can’t be switched off, as on GLM 5.3. Expect each tool call to wait on a reasoning pass.
  • It is the first flagship GLM that can see. If your MCP server returns screenshots or charts, check that it actually reads them rather than describing what it expects to see.
  • There are no flagship benchmarks yet, and hosting providers serving it differ about threefold in price and in speed. Pin the model, run your own evals against GLM 5.3, and re-run when Z.ai publishes numbers.

Run GLM 5.3 and GLM 5.4 on the same four-step task against the complex-schema mock: create_user_profile, process_order, analyze_data, then configure_workflow. Z.ai’s only flagship claim is a win rate against 5.3, so this is the direct check, and compare how long each run spends thinking. All the mock servers →

Available here

ModelModel ID
GLM 5.4z-ai/glm-5.4

Go deeper

Frequently asked questions

What is a Loop Transformer?
A model that runs some of its layers more than once for each token, so it gets more computation without more parameters. In GLM 5.4, coverage of Z.ai’s write-up describes 28 middle layers looped for two passes.
Can GLM 5.4 read images?
Yes. It takes text, image and video input. It is Z.ai’s first flagship with native vision; earlier vision models such as GLM 5V Turbo were separate tiers.
Is GLM 5.4 open weights?
Not yet, as far as we can find. GLM 5.3’s weights followed its API launch by two weeks, but Z.ai has not published GLM 5.4’s.
Does GLM 5.4 support MCP?
Yes, through any MCP client that turns tools into function calls. It accepts tools, tool_choice and structured outputs, and you can run it against your own server here without a Z.ai key.

Sources