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

Devstral Small 2 vs GLM-5.3

GLM-5.3 scores 64.6 (B) on agent readiness against Devstral Small 2's 61 (C), and leads in 2 of 4 scored categories. Devstral Small 2 leads on reach and risk. Both do open-weight models you run yourself.

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

Which one, for what

Devstral Small 2 C

Best for Developers who want a dependable local coding agent on one consumer GPU or a 32 GB Mac

Ahead on

  • Reach, 90 against 55
  • Risk, 60 against 50

Watch for

No limitations, safety results, languages or data on the card

GLM-5.3 B

Best for Teams with an 8-GPU server who want an open coding and long-horizon agent model with a 1M-token context, or agents that call it through Z.ai or a hosted provider

Ahead on

  • Agent interface, 70 against 65
  • Documentation and upkeep, 58 against 46

Watch for

Z.ai's smallest build is 755.6 GB in FP8, with no local Ollama or LM Studio build

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.

Reach Devstral Small 2 +35

Devstral Small 2 90

Memory 25, the smallest build at 4 bits from a runtime's own library is Ollama's devstral-small-2 at Q4_K_M, 15 GB, and 15 GB × 1.2 = 18 GB, within 24 GB. Mistral's own FP8 files are 25.79 GB. Runtimes 25, Released vLLM 0.33.0, SGLang 0.5.23 and Transformers 5.22.2 have the mistral3 model, llama.cpp b12242 has the architecture with a GGUF from its own organisation, and Ollama's library has devstral-small-2. Builds 10, one quantised precision from Mistral, the FP8 weights it releases. Terms 15, Apache 2.0 in the card's metadata and text, an OSI licence with nothing added. Download 10, the Hub API reports gated false on 10 November 2026, so the files download with no account and nothing to accept. Hosted 5, Mistral's own API serves Devstral Small 2: the card says the model is available through its API and points there when a local runtime underperforms. 25 + 25 + 10 + 15 + 10 + 5 = 90.

GLM-5.3 55

Memory earns nothing, since Z.ai's smallest build is the 755.6 GB FP8 one, about 907 GB with the fifth added, and Ollama only lists a cloud entry. Four runtimes run it in a released version, llama.cpp, vLLM, SGLang and Transformers, for 20, while Ollama and LM Studio have no local build. Z.ai publishes one quantised build, FP8, for 10, since the BF16 repository is the full precision. The GLM-5.3 License is a custom licence that is free for commercial use below a revenue threshold, for 10. The files download with no account or gate, for 10, and Z.ai's own API plus eight live providers on Hugging Face serve it, for 5.

Documentation and upkeep GLM-5.3 +12

Devstral Small 2 46

Model card 11, Intended use, the architecture, the parameters and the context are on the card. Training data 0, Nothing on the card about the training data. Last change 10, the last commit, on 15 July 2026, updated the files to match mistral-common, 118 days before this check and within 180. Responsiveness 10, Of the 23 most recent discussions that aren't pull requests (9 December 2025 to 6 November 2026), 11 have a reply from a mistralai member, which is some. Version policy 5, Devstral Small 1.1 stays in its own repository, which this card links as the predecessor, with no dated note on the older card that we read. File health 10, Config, template, tokenizer and card agree, and the June and July commits fixed stray tokens and brought the files in line with mistral-common. 11 + 0 + 10 + 10 + 5 + 10 = 46.

GLM-5.3 58

The card covers intended use, languages and context and misses limitations, architecture, parameters and cut-off, for 8. Training data is 5, a description of the GLM-5 corpus in the cited report with no cut-off. The last change, a chat template speed-up on 14 October in the FP8 repository and on 15 October in the BF16 one, is within 30 days on 2 November, for 20. Responsiveness is 5, as zai-org answered 2 of the 16 discussions that aren't pull requests, the last on 8 September, which is a few, and no discussion has been opened since 10 October. Version policy is the full 10, with each GLM-5 release in its own repository and a dated blog saying what changed from GLM-5.2. File health is the full 10, with files and card agreeing and no broken-file report waiting by title.

Risk Devstral Small 2 +10

Devstral Small 2 60

File safety 25, safetensors only, no .bin, .pt or .pth files and no Python in the repository. Provenance 15, files in Mistral's verified mistralai organisation, which Mistral's site links to per our Mistral Large 4 listing (10). Safety evaluation 0, no safety results on the card. Agent guidance 0, the card has no limitations or safety section, and nothing on prompt injection, instruction priority or what the model refuses. Licence risk 15, Apache 2.0 has no use policy, threshold or change clause. Security programme 5, mistral.ai's security.txt gives a security contact and a submission policy, as read for the Mistral Large 4 listing (5). 25 + 15 + 0 + 0 + 15 + 5 = 60.

GLM-5.3 50

File safety is full, with safetensors only, no Python in the repository and no remote code needed in Transformers 5.12.0 or later. Provenance is full, files in the zai-org organisation Z.ai links to with a SHA-256 for every shard. Safety evaluation is 0, because the blog mentions safety evaluation and hardening but publishes no results, and agent guidance is 0, with nothing on refusals, prompt injection or cautions. Licence risk is 10, losing 5 for the security review that model-as-a-service operators above US$10 billion of revenue must pass. The security programme is 0, with no security.txt, no SECURITY.md and no advisories.

Agent interface GLM-5.3 +5

Devstral Small 2 65

Chat template 20, chat_template.jinja in the repository (11,362 characters), with the tokenizer's tekken file for mistral-common. Tool-calling format 25, the card documents tools in the OpenAI function format with an example, names the mistral tool-call parser with auto tool choice for vLLM, shows the same for SGLang, and ships test prompts with the expected tool-call output. Trained tool calling 10, the card says the model excels at using tools, and its tests cover one tool call and calls made one at a time in sequence. Structured output 0, Nothing on the card about JSON or schema-constrained answers for this model. Reasoning control 0, no reasoning mode is documented, and a June 2026 commit removed stray thinking tokens from the files. Context 10, 256K tokens per the card, served at 262,144 in its vLLM command. 20 + 25 + 10 + 0 + 0 + 10 = 65.

GLM-5.3 70

A Jinja chat template sits in the repository, for 20. The tool-calling format is 10, since it is defined only by the template and the glm47 parser is named by vLLM and SGLang rather than by Z.ai. The template takes several calls in one turn, for 20. Structured output is 0, with nothing on the card and JSON documented only for the hosted API. Reasoning control is 10, a per-request budget through reasoning_effort with the reasoning in a think block, though thinking can't be turned off. Context is 10, 1,048,576 tokens native with no rope scaling.

Score by category

CategoryWeight this runDevstral Small 2GLM-5.3Edge
Capability35%pendingpendingpendingnot scored in this run
Reach25%259055Devstral Small 2 +35
Risk20%206050Devstral Small 2 +10
Agent interface10%106570GLM-5.3 +5
Documentation and upkeep10%104658GLM-5.3 +12
Negative events≤1500
TotalC 61/100B 64.6/100

Facts side by side

FactDevstral Small 2GLM-5.3
KindOpen-weight modelOpen-weight model
VendorMistral AIZ.ai (Zhipu AI)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0GLM-5.3 License (MIT-style, with a security review for the largest model-as-a-service operators)
Read-only variant documentednono
llms.txtnono
Last release2026-07-152026-10-15
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviewsnone2.8/5 (4)

Verdicts

Devstral Small 2

The easy one to run: a 24B coding agent under Apache 2.0 that five runtimes carry, 15 GB at 4 bits in Ollama, with a 256K context, image input and well-documented tool calling. It's eleven months old, calls tools one at a time, has no reasoning mode, and its card says nothing on limits, safety or data.

GLM-5.3

A large coding and long-horizon agent model with a 1M-token context, several tool calls per turn and three reasoning budgets. Z.ai's smallest build is 756 GB in FP8, so it needs an 8-GPU server, Z.ai's API or a provider. The main risks are no published safety work, no way to report a flaw, and thinking that can't be turned off.

Before you call either

Devstral Small 2

  1. ollama run devstral-small-2 is the quickest start, at 15 GB
  2. On vLLM pass --tool-call-parser mistral --enable-auto-tool-choice
  3. Send the system prompt from CHAT_SYSTEM_PROMPT.txt in the repository. The card says results depend on it
  4. Use a low temperature. The repository's default is 0.15
  5. Plan for one tool call per turn
  6. The same model is on our Mistral API listing if you'd rather not host it

GLM-5.3

  1. Start it with vllm serve zai-org/GLM-5.3 --kv-cache-dtype fp8 --tensor-parallel-size 8 --speculative-config.method mtp --speculative-config.num_speculative_tokens 5 --tool-call-parser glm47 --reasoning-parser glm47 --enable-auto-tool-choice --served-model-name glm-5.3 (vLLM 0.28.0 or later, 8xH200 or 8xH20 per vLLM's recipe)
  2. Use the glm47 tool-call and reasoning parsers in vLLM or SGLang; SGLang's cookbook says glm45 leaves the calls as plain text
  3. Pass chat_template_kwargs: {"reasoning_effort": "low"} for short tasks; anything other than low or high falls back to max
  4. Pass clear_thinking: true in chat use, since the template keeps earlier reasoning by default
  5. Don't send enable_thinking: false; the template ignores it and always opens a think block
  6. Validate JSON output yourself, since structured output is documented only for Z.ai's hosted API
  7. No Z.ai build fits a 128 GB machine; the full 1M context needs 8xB200 per vLLM's recipe

Questions

Which is better for AI agents, Devstral Small 2 or GLM-5.3?

GLM-5.3 scores 64.6 (B) on agent readiness against Devstral Small 2's 61 (C), and leads in 2 of 4 scored categories. Devstral Small 2 leads on reach and risk.

Other comparisons with Devstral Small 2 or GLM-5.3

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.