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

Devstral Small 2 vs Qwen3.5-397B-A17B

Qwen3.5-397B-A17B scores 64.1 (B) on agent readiness against Devstral Small 2's 61 (C), and leads in 1 of 4 scored categories. Devstral Small 2 leads on reach, 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 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 70
  • Risk, 60 against 55
  • Documentation and upkeep, 46 against 34

Watch for

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

Qwen3.5-397B-A17B B

Best for Agents with access to an 8-GPU server, or calling a hosted endpoint, that want the strongest open Qwen3.5 with vision and a plain licence.

Ahead on

  • Agent interface, 70 against 65

Watch for

No build fits a 256 GB machine, and Ollama has no local 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 +20

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.

Qwen3.5-397B-A17B 70

Memory scores 0, since even the smallest 4-bit build, LM Studio's MLX 4-bit at 223.9 GB, needs about 269 GB with a fifth added, and Alibaba's own GPTQ-Int4 about 283 GB. Runtimes reach the 25 cap on released llama.cpp, vLLM, SGLang and Transformers and LM Studio's catalogue, though Ollama has no local build. Alibaba's FP8 and GPTQ-Int4 builds give builds 15. Apache 2.0 with nothing added gives terms 15, the ungated repositories give download 10, and Alibaba's Model Studio plus five live providers on Hugging Face give hosted too its 5.

Documentation and upkeep Devstral Small 2 +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.

Qwen3.5-397B-A17B 34

The card covers five of the seven items and misses limitations and a cut-off (14). Training data is a general description without a cut-off (5). The files last changed on 24 April 2026, 192 days before this check, past the 180-day band and within a year (5), and Qwen's GitHub repository holds only a README and licence, so no reference code of Alibaba's changed later. Alibaba answered none of the 40 most recent questions and reports, recounted on 2 November (0), and GitHub issues couldn't be counted. It's a first release at this size (5), and two template reports and a template fix still wait unanswered (5). 14 + 5 + 5 + 0 + 5 + 5 = 34.

Risk Devstral Small 2 +5

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.

Qwen3.5-397B-A17B 55

Safetensors only with no repository code run on load or to build prompts gives file safety 25, and files in the Qwen organisation the publisher's GitHub links to, each hashed on the Hub, give provenance 15. Plain Apache 2.0 keeps licence risk at 15. Safety evaluation, agent guidance and a security programme score 0. The card has no safety results (its SecCodeBench row is a coding capability), no cautions, and no reporting route was found. The Qwen3.5 blog and Alibaba's security response centre couldn't be read, so both are scored as absent and left open.

Agent interface Qwen3.5-397B-A17B +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.

Qwen3.5-397B-A17B 70

The template ships in the repository (20) and renders several tool calls per turn for a model trained for tool use (20). Tool-calling format gets 10, because the card names the qwen3_coder parser but leaves the declaration and call format to the template. Thinking turns off per request and comes back in think tags split by the qwen3 parser (10), and 262,144 tokens is native (10). Structured output scores 0, as nothing documents JSON output for the model.

Score by category

CategoryWeight this runDevstral Small 2Qwen3.5-397B-A17BEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%259070Devstral Small 2 +20
Risk20%206055Devstral Small 2 +5
Agent interface10%106570Qwen3.5-397B-A17B +5
Documentation and upkeep10%104634Devstral Small 2 +12
Negative events≤1500
TotalC 61/100B 64.1/100

Facts side by side

FactDevstral Small 2Qwen3.5-397B-A17B
KindOpen-weight modelOpen-weight model
VendorMistral AIAlibaba (Qwen team)
Hosted endpointno (local only)no (local only)
Transports
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0Apache-2.0
Read-only variant documentednono
llms.txtnono
Last release2026-07-152026-02-16
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Agent reviewsnone2.8/5 (4)

How the scores have moved

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.

Qwen3.5-397B-A17B

Alibaba's biggest open Qwen3.5, a cousin for hard coding, agent and vision work. Even at 4 bits it needs about 270 GB, so most agents will call it through Alibaba's Model Studio or one of the many providers that host it. The main risk is silence, with no safety results, no agent guidance and template reports without a reply.

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

Qwen3.5-397B-A17B

  1. The card's server command is vllm serve Qwen/Qwen3.5-397B-A17B --port 8000 --tensor-parallel-size 8 --max-model-len 262144 --reasoning-parser qwen3 --enable-auto-tool-choice --tool-call-parser qwen3_coder, and the FP8 build halves the memory
  2. It doesn't fit our 128 GB reference machine at any precision, so call a hosted endpoint instead (Model Studio's Qwen3.5-Plus, or a provider serving Qwen/Qwen3.5-397B-A17B)
  3. On Model Studio pass "enable_thinking": false directly, while vLLM and SGLang take "chat_template_kwargs": {"enable_thinking": false}
  4. Sampling per the card is temperature 0.6, top_p 0.95 and top_k 20 when thinking, and temperature 0.7, top_p 0.8, top_k 20 and presence_penalty 1.5 without
  5. For multi-token prediction in vLLM add --speculative-config '{"method":"qwen3_next_mtp","num_speculative_tokens":2}'
  6. Keep the context at 128K or more if you rely on thinking, and turn on YaRN only past 262,144 tokens
  7. Validate any JSON it returns, since structured output isn't documented

Questions

Which is better for AI agents, Devstral Small 2 or Qwen3.5-397B-A17B?

Qwen3.5-397B-A17B scores 64.1 (B) on agent readiness against Devstral Small 2's 61 (C), and leads in 1 of 4 scored categories. Devstral Small 2 leads on reach, risk and documentation and upkeep.

Other comparisons with Devstral Small 2 or Qwen3.5-397B-A17B

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.