Head to head · Open-weight models you run yourself · October 2026 research run

DiffusionGemma 26B A4B IT vs GLM-4.7-Flash

GLM-4.7-Flash scores 63 (B) on agent readiness against DiffusionGemma 26B A4B IT's 51.3 (D), and leads in 3 of 5 scored categories. DiffusionGemma 26B A4B IT leads on risk and documentation and upkeep. Both do open-weight models you run yourself.

Best open-weight models you download and run yourself for AI agents · All 7536 open weights comparisons

Which one, for what

DiffusionGemma 26B A4B IT D

Best for Agents with about 64 GB of GPU memory that want fast single-user generation from text and images and can accept lower quality than Gemma 4

Ahead on

  • Risk, 70 against 55
  • Documentation and upkeep, 60 against 28

Watch for

No quantised build from Google, so the smallest official build needs the 64 GB band

GLM-4.7-Flash B

Best for Agents and developers who want a small, permissively licensed tool-calling model on one 24 to 32 GB GPU or Mac, in almost any runtime

Ahead on

  • Capability, 59 against 30
  • Reach, 80 against 55
  • Agent interface, 85 against 70

Watch for

No change to the files since 29 January 2026 and no zai-org reply on discussions since 31 January

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Documentation and upkeep DiffusionGemma 26B A4B IT +32

DiffusionGemma 26B A4B IT 60

The card covers all seven points (20), and the training data is a general description with a January 2025 cut-off (10). The files last changed on 15 July 2026, 112 days before this check (10). Google organisation members answered 10 of the 20 discussions (10). It's a first release (5). File health gets 5 because the diffusers scheduler config disagrees with the card's sampling settings, though the files on the documented path agree.

GLM-4.7-Flash 28

The card covers architecture, parameters and languages and misses four of the seven items, for 8. Training data is 0, as the card describes none. The last change was on 1 February 2026 at the latest, 305 days before this check, within a year but past 180 days, for 5. Responsiveness is 5, since zai-org answered 5 of the 40 most recent discussions that aren't pull requests, all by 31 January, which is a few. Version policy is 5 for a first release with no files replaced, and file health is 5, as config.json and tokenizer_config.json disagree on context and a config report waits without a reply.

Capability GLM-4.7-Flash +29

DiffusionGemma 26B A4B IT 30

From 6 independent benchmark results in 4 areas, each scored as its share of the way from the benchmark's floor to the best result any model has on the same leaderboard. By area, Instruction following 72, Reasoning and knowledge 31, Long context 22, Tool calling and agent tasks 14. Publisher-submitted results count at half weight, and numbers that appear only on the publisher's card don't count. The Artificial Analysis rows are per the 21 October check, not re-read on 4 November, because that site's terms bar automated requests.

GLM-4.7-Flash 59

From 9 independent benchmark results in 4 areas, each scored as its share of the way from the benchmark's floor to the best result any model has on the same leaderboard. By area, Instruction following 73, Tool calling and agent tasks 67, Long context 47, Reasoning and knowledge 39. Publisher-submitted results count at half weight, and numbers that appear only on the publisher's card don't count.

Reach GLM-4.7-Flash +25

DiffusionGemma 26B A4B IT 55

Memory earns 15 because the only Google build is 51.7 GB of BF16, about 62 GB with the fifth added, which needs the 64 GB band. Runtimes get 15 for Transformers from 5.11.0, SGLang from v0.5.22 and vLLM, whose releases from v0.24.0 (tag commit 28 June 2026) to v0.33.0 register DiffusionGemmaForBlockDiffusion; llama.cpp (b12114, and Ollama through its pin b11963) and LM Studio don't run it. Builds score 0 because Google publishes no quantised build, though others have published FP8, NVFP4, GGUF and 4-bit copies. Apache 2.0 with nothing added gives terms the full 15 and the ungated repository gives download the full 10. Hosted too scores 0, since no inference provider is mapped and the Gemini API doesn't serve it.

GLM-4.7-Flash 80

Memory earns 25, since Ollama's smallest build is the 19 GB q4_K_M one, 22.8 GB with the fifth added, which fits 24 GB. Runtimes reach the cap of 25, with model code in released vLLM, SGLang and Transformers, a converter in a released llama.cpp build and a local entry in Ollama's library. Builds earn nothing, because Z.ai publishes only BF16 and every quantised build is someone else's. The MIT licence with nothing added gives the full 15 for terms, the files download with no account or gate for 10, and Z.ai's own API serving it free gives hosted too its 5, though Hugging Face now lists no live inference provider and OpenRouter lists only Cloudflare.

Risk DiffusionGemma 26B A4B IT +15

DiffusionGemma 26B A4B IT 70

File safety gets the full 25, safetensors only and loaded by Transformers' own code and a Jinja template. Provenance gets 15 for files in Google's organisation with a hash for every file. Licence risk keeps 15 under plain Apache 2.0. Agent guidance gets 10 for the card's list of harm categories and its advice to add content-safety safeguards. Safety evaluation scores 0 because the card states improvements without figures. The security programme gets 5 for Google's security.txt, with no public advisories for Gemma.

GLM-4.7-Flash 55

File safety is full, with safetensors only and the card loading it through Transformers' own code without remote code. Provenance is full, files in the zai-org organisation Z.ai links from GitHub with a SHA-256 for every shard. Safety evaluation and agent guidance are 0, as nothing is published on either. Licence risk is the full 15, since MIT adds no policy, threshold or changeable terms, though the repository carries no LICENSE file. The security programme is 0, with no security.txt, no SECURITY file and no advisories found.

Agent interface GLM-4.7-Flash +15

DiffusionGemma 26B A4B IT 70

The chat template is in the repository (20) and handles several tool calls in one turn, and the card names function calling as trained (20). The tool-calling format gets 10, since only the template and the shipped response schema say how tools work here and Google's tool-calling guide is for Gemma 4. Structured output scores 0, undocumented and rejected by SGLang. Thinking can be turned on or off per request with the reasoning in its own channel (10), and the context is 256K (10).

GLM-4.7-Flash 85

A Jinja chat template sits in the repository, for 20. The tool-calling format is the full 25, because Z.ai itself names the glm47 parser for vLLM and SGLang, says tools are declared in OpenAI style and shows calls coming back as tool_calls. The template takes several calls in one turn, for 20. Structured output is 0, with nothing on the card and only the hosted API documented for JSON. Reasoning control is 10, thinking turned off per request with enable_thinking and the reasoning returned by the glm45 parser. Context is 10, 202,752 positions native with no rope scaling.

Score by category

CategoryWeightDiffusionGemma 26B A4B ITGLM-4.7-FlashEdge
Capability35%3059GLM-4.7-Flash +29
Reach25%5580GLM-4.7-Flash +25
Risk20%7055DiffusionGemma 26B A4B IT +15
Agent interface10%7085GLM-4.7-Flash +15
Documentation and upkeep10%6028DiffusionGemma 26B A4B IT +32
Negative events≤1500
TotalD 51.3/100B 63/100

Facts side by side

FactDiffusionGemma 26B A4B ITGLM-4.7-Flash
KindOpen-weight modelOpen-weight model
VendorGoogle DeepMindZ.ai (Zhipu AI)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT
Read-only variant documentednono
llms.txtyesno
Last release2026-07-152026-01-29
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews2.5/5 (4)2.8/5 (4)

The panel on both

The 4 reviewers who reviewed both split evenly.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

DiffusionGemma 26B A4B IT

A text diffusion model for fast low-concurrency local generation from text, images and video, with optional thinking and Gemma 4's tool format, under Apache 2.0. Google's BF16 files need about 62 GB, and it runs in Transformers, SGLang and vLLM. Google's own figures put it below Gemma 4 26B A4B, and Google labels it experimental.

GLM-4.7-Flash

A small MIT-licensed mixture-of-experts model with 3B active parameters, for local agent and coding work with several tool calls per turn and optional thinking. It runs in Ollama in 23 GB and in nearly every common runtime. The main risk is neglect, with no changes or replies since early February and no safety results.

Before you call either

DiffusionGemma 26B A4B IT

  1. Serve it with sglang serve --model-path google/diffusiongemma-26B-A4B-it --dllm-algorithm Gemma4Renoise --trust-remote-code on SGLang v0.5.22 or later, then call /v1/chat/completions
  2. In Transformers, install transformers>=5.11.0 and load DiffusionGemmaForBlockDiffusion with dtype="auto"; generation_config.json already holds the recommended sampler
  3. Turn thinking on with enable_thinking=True in apply_chat_template or <|think|> at the start of the system prompt, read the reasoning between <|channel>thought and <channel|>, and drop it from history before the next turn
  4. Don't rely on temperature, top_p, logit_bias or JSON Schema in SGLang, which ignores or rejects them for this model; validate JSON yourself
  5. Streaming arrives one 256-token canvas at a time, not token by token
  6. Put images before text in the prompt, and pick an image token budget of 70 to 1,120 by how much detail the task needs

GLM-4.7-Flash

  1. On our reference machine start it with vllm serve zai-org/GLM-4.7-Flash --max-model-len 65536 --tool-call-parser glm47 --reasoning-parser glm45 --enable-auto-tool-choice --served-model-name glm-4.7-flash
  2. Or run ollama run glm-4.7-flash for the 19 GB q4_K_M build
  3. Without the glm47 and glm45 parsers, tool calls and reasoning come back as plain text
  4. Use a released vLLM (0.32.0 or later) or SGLang (0.5.22 or later). The card's nightly and pull-request builds date from January 2026
  5. Pass chat_template_kwargs: {"enable_thinking": false} for short tasks, since thinking is on by default
  6. Set clear_thinking: false to keep earlier reasoning in multi-turn agent work, as Z.ai does for τ²-Bench and Terminal Bench
  7. Set the context length yourself, since config.json allows 202,752 tokens and tokenizer_config.json says 128,000

Questions

Which is better for AI agents, DiffusionGemma 26B A4B IT or GLM-4.7-Flash?

GLM-4.7-Flash scores 63 (B) on agent readiness against DiffusionGemma 26B A4B IT's 51.3 (D), and leads in 3 of 5 scored categories. DiffusionGemma 26B A4B IT leads on risk and documentation and upkeep.

Other comparisons with DiffusionGemma 26B A4B IT or GLM-4.7-Flash

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.