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

GLM-4.7-Flash vs LFM2.5-2.6B

GLM-4.7-Flash scores 63 (B) on agent readiness against LFM2.5-2.6B's 50.3 (D), and leads in 3 of 5 scored categories. LFM2.5-2.6B leads on reach 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

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 13
  • Risk, 55 against 50
  • Agent interface, 85 against 75

Watch for

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

LFM2.5-2.6B D

Best for Agents that want a small local helper for tool calls, extraction and RAG on a laptop, phone or CPU, at organisations under the licence's revenue threshold

Ahead on

  • Reach, 90 against 80
  • Documentation and upkeep, 57 against 28

Watch for

Liquid lists it as deprecated, replaced by LFM3-1.7B; deprecated models stay downloadable but get no further updates

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.

Capability GLM-4.7-Flash +46

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.

LFM2.5-2.6B 13

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, Reasoning and knowledge 23, Coding 21, Long context 6, Tool calling and agent tasks 5. Publisher-submitted results count at half weight, and numbers that appear only on the publisher's card don't count.

Documentation and upkeep LFM2.5-2.6B +29

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.

LFM2.5-2.6B 57

The model card earns 17, with everything but a knowledge cut-off. Training data earns 5 for a general description without a cut-off. The last change earns 20, a card commit on 3 November 2026 naming LFM3-1.7B as the new version. Responsiveness earns 5, with Liquid replies in 2 of 16 discussions. Version policy earns 5, as Liquid now lists the model as deprecated with a replacement but no date. File health earns 5, since the files agree but a report about the card waits without a reply.

Reach LFM2.5-2.6B +10

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.

LFM2.5-2.6B 90

Memory earns the full 30, since Liquid's own 4-bit GGUF is 1.59 GB and fits 8 GB with room to spare. Runtimes earn 25, with the lfm2 architecture in released llama.cpp, vLLM, SGLang and Transformers, and in Ollama through the llama.cpp version it pins. Builds earn 15 for Liquid's own GGUF, MLX and ONNX builds at many precisions. Terms earn 10, a custom licence that is free for commercial use under $10M of annual revenue. Download earns 10, with no gate. Hosted earns nothing, as Hugging Face maps no inference provider and Liquid's docs list no hosted API for it.

Agent interface GLM-4.7-Flash +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.

LFM2.5-2.6B 75

The chat template earns 20 for chat_template.jinja in the repository. The tool-calling format earns 25, as Liquid's card and tool-use page say how tools go in and how calls come back, and its vLLM and SGLang pages name the lfm2 parser. Trained tool calling earns 20, with several calls in one Python list and agentic RL inside agent harnesses. Structured output earns nothing, as JSON output isn't documented for the model. Reasoning control earns nothing, since the model always thinks. Context earns 10 for 131,072 tokens trained.

Risk GLM-4.7-Flash +5

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.

LFM2.5-2.6B 50

File safety earns 25, safetensors and GGUF only, and nothing from the repository runs to load it or build prompts. Provenance earns 15, files in the LiquidAI organisation Liquid links to, with a checksum for every file. Safety evaluation and agent guidance earn nothing, since Liquid publishes neither. Licence risk earns 10, losing 5 for the revenue threshold, with no use policy and no change since release. The security programme earns nothing, since no security.txt, disclosure policy or security contact was found.

Score by category

CategoryWeightGLM-4.7-FlashLFM2.5-2.6BEdge
Capability35%5913GLM-4.7-Flash +46
Reach25%8090LFM2.5-2.6B +10
Risk20%5550GLM-4.7-Flash +5
Agent interface10%8575GLM-4.7-Flash +10
Documentation and upkeep10%2857LFM2.5-2.6B +29
Negative events≤1500
TotalB 63/100D 50.3/100

Facts side by side

FactGLM-4.7-FlashLFM2.5-2.6B
KindOpen-weight modelOpen-weight model
VendorZ.ai (Zhipu AI)Liquid AI
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceMITLFM Open License v1.0 (free commercial use below $10M annual revenue)
Read-only variant documentednono
llms.txtnoyes
Last release2026-01-292026-11-03
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviews2.8/5 (4)2.5/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.

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.

LFM2.5-2.6B

A small, fast model for tool calls, extraction and long-context steps on a laptop or phone, which Liquid now lists as deprecated in favour of LFM3-1.7B. Liquid's own 4-bit build is 1.6 GB and five common runtimes run it. It always thinks, and organisations over $10M of revenue need another licence. There are no safety results or security contact.

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

LFM2.5-2.6B

  1. Quickest start is ollama run LiquidAI/lfm2.5-2.6b, 1.7 GB, or llama-cli -hf LiquidAI/LFM2.5-2.6B-GGUF
  2. With vLLM or SGLang pass --tool-call-parser lfm2; for vLLM add --reasoning-parser qwen3 so the thinking comes back separately
  3. Sample at temperature 0.1, top_k 50 and repetition_penalty 1.1, as the card and generation_config.json set
  4. Put tools in the system prompt as List of tools: [...] JSON, or pass tools to apply_chat_template; calls come back as a Python list of function calls, and the system prompt can ask for JSON calls instead
  5. Leave max_tokens unset or generous, since a low cap cuts the reasoning off mid-thought
  6. Earlier thinking is dropped from the prompt unless preserve_thinking is true
  7. Liquid's 328M LFM2.5-2.6B-DSpark drafter speeds decoding about 2.6 times in SGLang and on Apple silicon, per Liquid
  8. Validate JSON output yourself or use the runtime's guided decoding, since structured output isn't documented

Questions

Which is better for AI agents, GLM-4.7-Flash or LFM2.5-2.6B?

GLM-4.7-Flash scores 63 (B) on agent readiness against LFM2.5-2.6B's 50.3 (D), and leads in 3 of 5 scored categories. LFM2.5-2.6B leads on reach and documentation and upkeep.

Other comparisons with GLM-4.7-Flash or LFM2.5-2.6B

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.