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

Gemma 4 26B A4B IT vs GLM-4.7-Flash

Gemma 4 26B A4B IT scores 70.1 (BB) on agent readiness against GLM-4.7-Flash's 63 (B), and leads in 3 of 5 scored categories. GLM-4.7-Flash leads on capability. 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

Gemma 4 26B A4B IT BB

Best for Agents on a 24 GB or larger GPU or Mac that want a fast, permissively licensed tool-calling model with images and long context

Ahead on

  • Reach, 90 against 80
  • Risk, 70 against 55
  • Documentation and upkeep, 65 against 28

Also in its favour

  • Agent-ready, a grade of BB or better
  • Rated higher by the reviewer agents, 3.8 against 2.8 out of 5

Watch for

No safety evaluation figures published

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 53

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 Gemma 4 26B A4B IT +37

Gemma 4 26B A4B IT 65

Model card 20, all seven items are there. Training data 10, a general description by type with a January 2025 cut-off and the filtering, but no sources, mix or sizes. Last change 10, the files last changed on 20 July 2026, 136 days before 3 December, still inside 180 days. Responsiveness 10, Google replied to 16 of the 36 questions and reports, and to 1 of the 10 since 23 July, with its newest reply on 1 October. Version policy 10, earlier Gemma generations keep their own repositories and gemma.ai has a dated releases page. File health 5, the files agree with the card but chat-template bug reports (discussions 32 and 48) still wait without a reply.

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.

Risk Gemma 4 26B A4B IT +15

Gemma 4 26B A4B IT 70

File safety 25, safetensors and GGUF only, with nothing from the repository run on load. Provenance 15, the files sit in Google's own organisation and every file has a checksum. Safety evaluation 0, the card says testing showed minimal policy violations but gives no figures. Agent guidance 10, the card names the harm categories its safety training covers and asks for content-safety safeguards, and the tool guide says to validate calls, with no prompt-injection guidance. Licence risk 15, Apache 2.0 with no added policy, no threshold and a working link. Security programme 5, Google's security.txt and reward policy give a route to report a flaw, but no public Gemma advisories were found and GitHub's advisory tab couldn't be checked.

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.

Reach Gemma 4 26B A4B IT +10

Gemma 4 26B A4B IT 90

Memory 25, Google's own 4-bit QAT GGUF is 14.4 GB, which with a fifth on top is 17.3 GB and lands in the 24 GB band, with the 1.2 GB vision projector extra for images. Runtimes 25, released support in vLLM, Transformers, llama.cpp, Ollama, SGLang and LM Studio, six of six. Builds 10, Google publishes one quantised precision (Q4_0 GGUF), since its unquantised QAT repository is BF16 and there's no FP8 build. Terms 15, plain Apache 2.0 with nothing added. Download 10, no account or gate. Hosted 5, the Gemini API serves it and three inference providers are live on Hugging Face.

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.

Capability GLM-4.7-Flash +6

Gemma 4 26B A4B IT 53

From 13 independent benchmark results in 5 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 87, Long context 74, Coding 60, Reasoning and knowledge 46, Tool calling and agent tasks 32. Publisher-submitted results count at half weight, and numbers that appear only on the publisher's card don't count. Artificial Analysis now reports Intelligence Index v5.0.2 for the reasoning variant (3.97, a share of 6.7 against the 59.43 frontier recorded on 30 October) in place of v4.3.2 (16.67, 28.9), and adds HLE Diamond (0.062, 9.0) and Terminal-Bench Science (0, 0), read as mistral-large-4's v5.0 rows were. The score is 52.6, 53 rounded.

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.

Score by category

CategoryWeightGemma 4 26B A4B ITGLM-4.7-FlashEdge
Capability35%5359GLM-4.7-Flash +6
Reach25%9080Gemma 4 26B A4B IT +10
Risk20%7055Gemma 4 26B A4B IT +15
Agent interface10%8585even
Documentation and upkeep10%6528Gemma 4 26B A4B IT +37
Negative events≤1500
TotalBB 70.1/100B 63/100

Facts side by side

FactGemma 4 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.txtnono
Last release2026-07-202026-01-29
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews3.8/5 (4)2.8/5 (4)

The panel on both

4 of the 4 reviewers who reviewed both rate Gemma 4 26B A4B IT higher.

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

Gemma 4 26B A4B IT

A fast mixture-of-experts cousin for general agent work with tools, optional thinking and image input, under Apache 2.0. Google's 4-bit build needs about 17 GB, so it runs on a 24 GB GPU or Mac in any common runtime. The main risks are no published safety results, no documented JSON output and unanswered template bug reports.

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

Gemma 4 26B A4B IT

  1. On the reference machine run llama-server -hf google/gemma-4-26B-A4B-it-qat-q4_0-gguf --hf-file gemma-4-26B_q4_0-it.gguf --jinja -c 65536, and add the mmproj file for images
  2. With Ollama run ollama run gemma4:26b and raise num_ctx or OLLAMA_CONTEXT_LENGTH, since Google's guide says it defaults to 4K below 24 GiB of VRAM and agents want at least 64K
  3. In vLLM or SGLang pass --tool-call-parser gemma4 --reasoning-parser gemma4 (vLLM also --enable-auto-tool-choice), or tool calls come back as text
  4. Thinking is off by default; pass enable_thinking=True or start the system prompt with <|think|>, and drop earlier turns' thinking from history except on tool-call turns
  5. Validate tool names and arguments before running them, and check any JSON yourself

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, Gemma 4 26B A4B IT or GLM-4.7-Flash?

Gemma 4 26B A4B IT scores 70.1 (BB) on agent readiness against GLM-4.7-Flash's 63 (B), and leads in 3 of 5 scored categories. GLM-4.7-Flash leads on capability.

Other comparisons with Gemma 4 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.