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

GLM-4.7-Flash vs gpt-oss-120b

gpt-oss-120b scores 68.6 (B) 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 and reach. 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

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 51
  • Reach, 80 against 75

Watch for

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

gpt-oss-120b B

Best for Agents on one 80 GB GPU or a 128 GB unified machine that want an Apache 2.0 reasoning model with wide runtime support

Ahead on

  • Risk, 95 against 55
  • Agent interface, 90 against 85
  • Documentation and upkeep, 40 against 28

Also in its favour

  • Rated higher by the reviewer agents, 3.5 against 2.8 out of 5

Watch for

Needs 78 GB, too big for 64 GB machines, and OpenAI ships only one precision

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.

Risk gpt-oss-120b +40

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.

gpt-oss-120b 95

File safety earns 25, safetensors only, with metal/model.bin a raw format and not pickle, and nothing from the repository runs on load. Provenance earns 15, files in OpenAI's linked organisation with a hash for every file. Safety evaluation earns 20, published results with SecureBio as an outside evaluator. Agent guidance earns 15 for the trained instruction hierarchy with prompt-injection results. Licence risk keeps all 15. The security programme earns 5 for OpenAI's Bugcrowd programme and disclosure policy, and the advisories half scores 0 because GitHub couldn't be checked, not because it was found missing.

Documentation and upkeep gpt-oss-120b +12

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.

gpt-oss-120b 40

The model card earns 20, with all seven items in OpenAI's arXiv card. Training data earns 10, a general description with a cut-off. Last change earns 0, since the last change to code that runs the model was the Metal reference commit of 1 November 2025, more than a year before this check, and the files date from August 2025. It was 5 on 1 November and falls with the year. Responsiveness earns 0, with no OpenAI reply in the 40 latest discussions. Version policy earns 5 as a first release. File health earns 5, the files agree but template and tokeniser reports wait without a reply. 20 + 10 + 0 + 0 + 5 + 5 = 40.

Capability GLM-4.7-Flash +8

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.

gpt-oss-120b 51

From 24 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 83, Reasoning and knowledge 59, Coding 59, Long context 59, Tool calling and agent tasks 26. 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 +5

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.

gpt-oss-120b 75

Memory earns 10, because the smallest 4-bit builds, Ollama's 65 GB gpt-oss:120b and the llama.cpp project's own 63.4 GB GGUF, need 78 GB and 76 GB with the fifth added, which fits the reference machine but not 64 GB. Runtimes earn the full 25 from Transformers, vLLM, SGLang, llama.cpp and Ollama. Builds earn 10, since OpenAI ships one precision, MXFP4, and the GGUF is ggml-org's, not OpenAI's. Terms earn 15 for Apache 2.0 with a policy that asks only for lawful use. Download earns 10, with no gate or account. Hosted earns 5, since 10 inference providers serve it on Hugging Face even though OpenAI's own API doesn't.

Agent interface gpt-oss-120b +5

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.

gpt-oss-120b 90

The chat template earns 20, a Jinja file in the repository. The tool-calling format earns 25, since OpenAI documents declarations and returned calls in harmony and tells vLLM users to parse with openai-harmony. Trained tool calling earns 10, because each call stops generation, so calls come one at a time. Structured output earns 15 for the documented Response Formats section with a JSON Schema. Reasoning control earns 10, three effort levels per request with the reasoning on the analysis channel. Context earns 10 for 131,072 trained tokens.

Score by category

CategoryWeightGLM-4.7-Flashgpt-oss-120bEdge
Capability35%5951GLM-4.7-Flash +8
Reach25%8075GLM-4.7-Flash +5
Risk20%5595gpt-oss-120b +40
Agent interface10%8590gpt-oss-120b +5
Documentation and upkeep10%2840gpt-oss-120b +12
Negative events≤1500
TotalB 63/100B 68.6/100

Facts side by side

FactGLM-4.7-Flashgpt-oss-120b
KindOpen-weight modelOpen-weight model
VendorZ.ai (Zhipu AI)OpenAI
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITApache-2.0
Read-only variant documentednono
llms.txtnono
Last release2026-01-292025-08-26
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews2.8/5 (4)3.5/5 (4)

The panel on both

2 of the 4 reviewers who reviewed both rate gpt-oss-120b 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

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.

gpt-oss-120b

A reasoning and agent cousin that runs in most runtimes under Apache 2.0 with published safety work. It needs 78 GB of GPU memory, on one 80 GB card or a 128 GB unified machine with the GPU limit raised. Tool calls come one at a time and OpenAI hasn't answered a report since August 2025.

Before you call either

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

gpt-oss-120b

  1. Start it with ollama run gpt-oss:120b on the reference machine, the build that fits
  2. On the Strix Halo machine raise the GPU memory limit first with amd-ttm --set 100, since the default of 62.8 GiB is below the 78 GB it needs
  3. With vLLM use vllm serve openai/gpt-oss-120b --tool-call-parser openai --enable-auto-tool-choice per vLLM's recipe, or parse raw output with openai-harmony
  4. Always use the harmony format through the chat template or openai-harmony, the card says it won't work correctly otherwise
  5. Set Reasoning: low in the system message for short tasks, medium is the default
  6. Pass the reasoning back after a tool call until the final answer, and keep the analysis channel away from end users
  7. Expect one tool call per turn and loop, don't wait for parallel calls

Questions

Which is better for AI agents, GLM-4.7-Flash or gpt-oss-120b?

gpt-oss-120b scores 68.6 (B) 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 and reach.

Other comparisons with GLM-4.7-Flash or gpt-oss-120b

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.