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

Cosmos-Reason2-2B vs GLM-4.7-Flash

GLM-4.7-Flash scores 63 (B) on agent readiness against Cosmos-Reason2-2B's 59.5 (C), and leads in 2 of 4 scored categories. Cosmos-Reason2-2B 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

Cosmos-Reason2-2B C

Best for Agents that need a small local model to reason over camera footage and images for robotics, driving or smart spaces

Ahead on

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

Watch for

Gated behind a click-through licence that needs a Hugging Face account

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

  • Reach, 80 against 65
  • Agent interface, 85 against 65

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.

Agent interface GLM-4.7-Flash +20

Cosmos-Reason2-2B 65

A Jinja template ships as chat_template.json (20). Tools are declared only by the template it inherits from Qwen3-VL, with no NVIDIA documentation or parser (10), and nothing shows the 2B was trained for tool use (0). NVIDIA's prompt files ask for JSON with named keys for boxes, events and trajectories (15). Reasoning is asked for in the prompt and vLLM's qwen3 parser returns it apart (10). The card states 256K input tokens (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.

Reach GLM-4.7-Flash +15

Cosmos-Reason2-2B 65

Memory earns the full 30 because the BF16 file is 4.9 GB, about 5.9 GB with the fifth added, though NVIDIA itself asks for 24 GB of GPU memory. Runtimes get 20 because the model keeps Qwen3-VL's architecture, which Transformers, vLLM, SGLang and llama.cpp run in released versions, while LM Studio's catalogue has only the base. Builds score 0, as NVIDIA publishes no quantised build of the 2B. The NVIDIA Open Model License allows free commercial use under a use policy (10). The gate is an automatic click-through that needs an account (5), and nothing hosts the 2B (0).

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.

Documentation and upkeep Cosmos-Reason2-2B +11

Cosmos-Reason2-2B 39

The card misses languages and a cut-off (14). Training data is named by dataset without sizes or a cut-off (5). The Hub repository last changed on 30 April 2026, 188 days before this check, which alone gives 5. NVIDIA's GitHub repository last changed with a README redirect to Cosmos 3 on 7 June 2026, 150 days back, and this run counts the publisher's documentation commits on this line (10). None of its 3 discussions has an NVIDIA reply, counted by author flags on 4 November (0). The 2B's weights were replaced in place in March with a dated line, and the family is now superseded by Cosmos 3 with a dated note (5). The gated files couldn't be checked against the card, which itself mixes float16 and BF16 and links a newer licence than the gate shows (5). 14 + 5 + 10 + 0 + 5 + 5 = 39.

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 Cosmos-Reason2-2B +5

Cosmos-Reason2-2B 60

File safety gets the full 25, one safetensors file loaded by Transformers' own code with a template, no remote code. Provenance gets 15 for files in NVIDIA's own organisation with hashes. The licence has a use policy and guardrail clause and NVIDIA can revoke or update it, so licence risk keeps 5 of 15. NVIDIA's PSIRT route and bulletins give the security programme 10. Agent guidance gets 5 for general cautions about guardrails and physical risk, and safety evaluation 0, with no safety results.

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.

Score by category

CategoryWeightCosmos-Reason2-2BGLM-4.7-FlashEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%6580GLM-4.7-Flash +15
Risk20%6055Cosmos-Reason2-2B +5
Agent interface10%6585GLM-4.7-Flash +20
Documentation and upkeep10%3928Cosmos-Reason2-2B +11
Negative events≤1500
TotalC 59.5/100B 63/100

Facts side by side

FactCosmos-Reason2-2BGLM-4.7-Flash
KindOpen-weight modelOpen-weight model
VendorNVIDIAZ.ai (Zhipu AI)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceNVIDIA Open Model License (custom, commercial use allowed, not an OSI licence); built on Qwen3-VL-2B-Instruct under Apache 2.0MIT
Read-only variant documentednono
llms.txtnono
Last release2026-03-102026-01-29
Terms last updated2025-10-24no document linked
Privacy policy last updatedno document linkedno document linked
Customer content may train modelsyesnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Agent reviews2.5/5 (4)2.8/5 (4)

The panel on both

One of the 4 reviewers who reviewed both rates GLM-4.7-Flash 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.

Verdicts

Cosmos-Reason2-2B

A small local model for reasoning over video and images in robotics, driving and warehouse scenes, returning points, boxes and timed events as JSON. The 4.9 GB file runs in Transformers or vLLM, though NVIDIA asks for 24 GB of GPU memory. Development has moved to Cosmos 3, and the gated licence is revocable.

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

Cosmos-Reason2-2B

  1. Accept the licence on the Hugging Face card with a signed-in account and set HF_TOKEN before downloading
  2. Serve it with vllm serve nvidia/Cosmos-Reason2-2B --max-model-len 16384 --media-io-kwargs '{"video": {"num_frames": -1}}' --reasoning-parser qwen3, keeping max-model-len between 8,192 and 16,384 as NVIDIA advises
  3. For local video or images, make a folder for them (mkdir -p media) and pass --allowed-local-media-path "$(pwd)/media", so the server can read only that folder, not everything under the directory you start it from
  4. Sample video at 4 fps and allow at least 4,096 output tokens so the reasoning isn't cut off
  5. For reasoning, add the card's instruction to answer with a think block and then the answer; leave it out for a direct reply
  6. Use NVIDIA's prompt files (prompts/*.yaml in nvidia-cosmos/cosmos-reason2) when you want JSON boxes, events or trajectories, and validate the JSON yourself
  7. Check its plans before a robot acts on them, since NVIDIA's own safety card warns of collision and manipulation risks

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, Cosmos-Reason2-2B or GLM-4.7-Flash?

GLM-4.7-Flash scores 63 (B) on agent readiness against Cosmos-Reason2-2B's 59.5 (C), and leads in 2 of 4 scored categories. Cosmos-Reason2-2B leads on risk and documentation and upkeep.

Other comparisons with Cosmos-Reason2-2B 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.