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

GLM-4.5-Air vs Granite 4.2 8B

Granite 4.2 8B and GLM-4.5-Air score within a point of each other on agent readiness, 61 (C) and 60.3 (C). GLM-4.5-Air leads on risk. Both do open-weight models you run yourself.

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

Which one, for what

GLM-4.5-Air C

Best for Agents with two to four datacentre GPUs, or a provider account, who want a permissively licensed English and Chinese tool-calling model with wide runtime support.

Ahead on

  • Risk, 65 against 55

Watch for

Z.ai's smallest build is FP8 at about 135 GB in use, with no 4-bit build of its own

Granite 4.2 8B C

Best for Agents that want a documented, signed, Apache 2.0 reasoning model with tool calling on a 16 GB machine

Ahead on

  • Reach, 95 against 70
  • Documentation and upkeep, 92 against 38

Watch for

No safety results published for it

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 Granite 4.2 8B +54

GLM-4.5-Air 38

Model card 8 of 20, intended use, parameters and languages only. Training data 5, the technical report describes the sources and filtering with no cut-off. Last change 5, the weights' files date from August 2025 (Hub head a24ceef6, 11 August 2025, re-read on 4 November) and Z.ai's GitHub repository last changed on 1 February 2026, 276 days before this check, so within a year. Responsiveness 10, Z.ai answered 4 of the 14 questions, all in the first three days, recounted by script on 4 November. Version policy 5, a first release. File health 5, the config and tokenizer disagree on the context and a tokenisation report has no reply.

Granite 4.2 8B 92

Model card 17, Intended use (best for), limitations (ethical considerations and limitations), architecture, parameters (8B), context length (128K native) and 12 tested languages are on the card. Training data 20, IBM's disclosure file for the 8B lists the datasets used in pre-training and post-training as machine-readable metadata, and the card describes the three training stages. Last change 20, the last commit, on 20 October 2026, replaced model.safetensors.index.json (titled "granite-4.2 index file fix"), 21 days before this check. Responsiveness 20, Of the 5 discussions that aren't pull requests (13 September to 5 November 2026), 4 have a reply from an ibm-granite member. Version policy 5, Granite 4.1 8B stays in its own repository and 4.2 came out in new ones. File health 10, Config, template and card agree on the architecture, the 131,072-token context and the thinking switch. 17 + 20 + 20 + 20 + 5 + 10 = 92.

Reach Granite 4.2 8B +25

GLM-4.5-Air 70

Memory 5 of 30, Z.ai's smallest build is FP8 at 112.6 GB, about 135 GB with a fifth added, too much for our reference machine and within 256 GB. Runtimes 25 (the cap), released llama.cpp, vLLM, SGLang and Transformers run it, and Ollama 0.40.14 (2 November 2026) builds llama.cpp b11963, which has the glm4moe architecture, as kolibri-1 and occamy-1-0 are credited for Ollama's pin. Ollama and LM Studio have no library entry. Builds 10, one quantised build (FP8). Terms 15, MIT with nothing added. Download 10, no gate. Hosted 5, Z.ai and Novita serve it on Hugging Face.

Granite 4.2 8B 95

Memory 30, IBM's own 4-bit MLX build granite-4.2-8b-q4-mlx is 4.95 GB, and 4.95 GB × 1.2 = 5.9 GB, within 8 GB. Its Q4_0 GGUF is 5.06 GB and Ollama's library build granite4.2:8b (5.3 GB) fits 8 GB too. Runtimes 25, Released versions run the granite architecture in llama.cpp (granite, b12242), vLLM (GraniteForCausalLM in the v0.33.0 registry), SGLang (granite.py at v0.5.23), Transformers (v5.22.2) and Ollama (its own granite4.2 library entry, 8b tag). Builds 15, IBM publishes FP8, MXFP4 and NVFP4 safetensors builds, a GGUF repository with Q4_0 to Q8_0 and BF16 files, and 4-bit, 8-bit and BF16 MLX builds, so quantised builds at two precisions or more. Terms 15, Apache 2.0, an OSI-approved licence, with no use policy or other terms added on the card. Download 10, the Hub API reports gated false for the BF16, FP8, MXFP4, NVFP4, GGUF and MLX repositories, so the files download with no account and nothing to accept. Hosted 0, Hugging Face maps one inference provider (DeepInfra, live), short of the two the line needs. 30 + 25 + 15 + 15 + 10 + 0 = 95.

Risk GLM-4.5-Air +10

GLM-4.5-Air 65

File safety 25, safetensors only and nothing from the repository runs. Provenance 15, the files are in the organisation Z.ai's GitHub links to, with a SHA-256 on every LFS file. Safety evaluation 10, Z.ai's own SafetyBench results in the technical report. Agent guidance 0, nothing on prompt injection, refusals or safeguards. Licence risk 15, plain MIT. Security programme 0, no security.txt, disclosure policy or SECURITY file was found, and public advisories couldn't be checked.

Granite 4.2 8B 55

File safety 15, safetensors only, no .bin, .pt or .pth files (25). Provenance 15, the files sit in the ibm-granite organisation, which IBM's Granite docs and the GitHub README link to (10). Safety evaluation 0, no safety results on the card. Agent guidance 5, General cautions. Licence risk 15, Apache 2.0 has no use policy, field-of-use limit, threshold or change clause, and the card's licence link resolves. Security programme 5, www.ibm.com/.well-known/security.txt names IBM PSIRT, read for the 3B listing on 4 November 2026 (5). 15 + 15 + 0 + 5 + 15 + 5 = 55.

Score by category

CategoryWeight this runGLM-4.5-AirGranite 4.2 8BEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%257095Granite 4.2 8B +25
Risk20%206555GLM-4.5-Air +10
Agent interface10%108585even
Documentation and upkeep10%103892Granite 4.2 8B +54
Negative events≤1500
TotalC 60.3/100C 61/100

Facts side by side

FactGLM-4.5-AirGranite 4.2 8B
KindOpen-weight modelOpen-weight model
VendorZ.ai (Zhipu AI)IBM
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITApache-2.0
Read-only variant documentednono
llms.txtnono
Last release2025-08-112026-10-20
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews2.8/5 (4)none

How the scores have moved

Verdicts

GLM-4.5-Air

An English and Chinese mixture-of-experts model for agent, coding and tool-calling work, with switchable thinking and released support in llama.cpp, vLLM, SGLang and Transformers. It needs about 135 GB for Z.ai's FP8 build, two to four H100s by Z.ai's figures, and Z.ai and Novita host it. Its files date from August 2025, with no Z.ai reply since July 2025.

Granite 4.2 8B

IBM's mid-size reasoning cousin, with the same strengths as the 3B. It runs in every runtime we count from IBM's own builds on a 16 GB machine, is signed, plain Apache 2.0, and comes with a disclosure of its training data. No safety results are published and structured output isn't documented.

Before you call either

GLM-4.5-Air

  1. Z.ai's FP8 recipe is python3 -m sglang.launch_server --model-path zai-org/GLM-4.5-Air-FP8 --tp-size 4 --tool-call-parser glm45 --reasoning-parser glm45, and 2 H100s are enough below the full 128K context
  2. Use the glm45 tool and reasoning parsers for this model, the glm47 parser in Z.ai's current README is for GLM-4.7
  3. Thinking is on by default, pass chat_template_kwargs with enable_thinking false for short tasks, which makes the template add /nothink and an empty think block
  4. Declare tools in OpenAI style, and the template renders arguments as arg_key and arg_value pairs that the parser turns back into JSON
  5. Keep prompts under 128,000 tokens, the tokenizer config's limit, though config.json allows 131,072
  6. Validate JSON output yourself or use the runtime's guided decoding, since structured output isn't documented for the weights

Granite 4.2 8B

  1. Start it with ollama run granite4.2:8b, or llama-server -hf ibm-granite/granite-4.2-8b-GGUF:Q4_K_M --jinja
  2. With vLLM 0.32.0 or later leave out --reasoning-parser-plugin, since the parser is built in, and use --tool-call-parser qwen3_coder
  3. Thinking is on by default. Pass enable_thinking false to turn it off or low_effort true for short reasoning
  4. The context is 131,072 tokens. The card's 512K extension isn't documented
  5. Validate JSON output yourself, since structured output isn't documented
  6. IBM recommends Granite Guardian beside it to flag risky inputs and outputs

Questions

Which is better for AI agents, GLM-4.5-Air or Granite 4.2 8B?

Granite 4.2 8B and GLM-4.5-Air score within a point of each other on agent readiness, 61 (C) and 60.3 (C). GLM-4.5-Air leads on risk.

Other comparisons with GLM-4.5-Air or Granite 4.2 8B

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.