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

Devstral Small 2 vs Qwen3-Coder-30B-A3B-Instruct

Devstral Small 2 scores 61 (C) on agent readiness against Qwen3-Coder-30B-A3B-Instruct's 55.7 (C), and leads in 2 of 4 scored categories. Qwen3-Coder-30B-A3B-Instruct leads on agent interface. 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

  • Risk, 60 against 55
  • Documentation and upkeep, 46 against 31

Watch for

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

Qwen3-Coder-30B-A3B-Instruct C

Best for Coding agents and local coding tools that want an open model on one 24 GB GPU or a 32 GB Mac, with a plain licence.

Ahead on

  • Agent interface, 75 against 65

Watch for

No safety results, prompt-injection guidance or security contact, though it's meant to run commands

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.

Documentation and upkeep Devstral Small 2 +15

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-Coder-30B-A3B-Instruct 31

Model card 11 of 20, intended use, architecture, parameters and context are there, but limitations, languages and a knowledge cut-off aren't. Training data 5, the blog describes the mix in general terms without a cut-off. Last change 5, config.json was corrected on 3 December 2025, 336 days before the 4 November 2026 check. Responsiveness 0, counted by script on 4 November, none of 26 discussions has a reply from Alibaba's Qwen staff, and the one Hub-flagged member who replied is the independent quantiser bartowski. Version policy 5, a first release. File health 5, the files now agree with the card, but reports about the parser and an attention error wait without a reply. 11 + 5 + 5 + 0 + 5 + 5 = 31.

Agent interface Qwen3-Coder-30B-A3B-Instruct +10

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-Coder-30B-A3B-Instruct 75

Chat template 20, chat_template.jinja in the repository. Tool-calling format 25, the card shows how tools are declared, the README names the parser for SGLang and vLLM, and the repository ships it. Trained tool calling 20, the template renders several calls a turn and the training used agent reinforcement learning. Structured output 0, not documented. Reasoning control 0, the model has no thinking. Context 10, 262,144 tokens native, with the YaRN extension not counted. Template, parser and config unchanged on 4 November. 20 + 25 + 20 + 0 + 0 + 10 = 75.

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-Coder-30B-A3B-Instruct 55

File safety 25, safetensors weights, and the shipped parser script runs neither to load the model nor to build prompts. Provenance 15, the files are in the Qwen organisation that Qwen's GitHub links to, with a checksum on every file. Safety evaluation 0, none published. Agent guidance 0, nothing on prompt injection, refusals or safeguards, though it's sold for agents that run commands. Licence risk 15, plain Apache 2.0 that hasn't changed. Security programme 0, no security.txt, disclosure policy or security contact for Qwen was found, and Alibaba's group security centre couldn't be checked, so it's scored as absent. Files unchanged on 4 November, and QwenLM/Qwen3-Coder still has no SECURITY.md. 25 + 15 + 0 + 0 + 15 + 0 = 55.

Score by category

CategoryWeight this runDevstral Small 2Qwen3-Coder-30B-A3B-InstructEdge
Capability35%pendingpendingpendingnot scored in this run
Reach25%259090even
Risk20%206055Devstral Small 2 +5
Agent interface10%106575Qwen3-Coder-30B-A3B-Instruct +10
Documentation and upkeep10%104631Devstral Small 2 +15
Negative events≤1500
TotalC 61/100C 55.7/100

Facts side by side

FactDevstral Small 2Qwen3-Coder-30B-A3B-Instruct
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-152025-12-03
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.

Qwen3-Coder-30B-A3B-Instruct

A coding model with 3.3B of 30.5B parameters active per token, for agentic coding tools, repository reading and fill-in-the-middle without a thinking step. It needs about 21 to 23 GB at 4 bits under Apache 2.0, and several providers host it. It runs commands for agents with no safety results or prompt-injection guidance, and Alibaba hasn't answered its discussions.

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-Coder-30B-A3B-Instruct

  1. Quickest start is ollama run qwen3-coder:30b, 19 GB
  2. On our reference machine use BF16 with vllm serve Qwen/Qwen3-Coder-30B-A3B-Instruct --max-model-len 262144 --enable-auto-tool-choice --tool-call-parser qwen3_coder, 61 GB of weights fits the GPU share
  3. Use the qwen3_coder parser in vLLM or SGLang, not hermes, since calls come back as function and parameter blocks rather than JSON
  4. Pass tool-call arguments in the history as objects, the template iterates them as a mapping
  5. Sampling per the card is temperature 0.7, top_p 0.8, top_k 20 and repetition_penalty 1.05, with up to 65,536 output tokens
  6. For code completion use the fill-in-the-middle tokens <|fim_prefix|>, <|fim_suffix|> and <|fim_middle|> from Qwen's README
  7. Sandbox the commands and files it touches, since nothing from Alibaba covers prompt injection

Questions

Which is better for AI agents, Devstral Small 2 or Qwen3-Coder-30B-A3B-Instruct?

Devstral Small 2 scores 61 (C) on agent readiness against Qwen3-Coder-30B-A3B-Instruct's 55.7 (C), and leads in 2 of 4 scored categories. Qwen3-Coder-30B-A3B-Instruct leads on agent interface.

Other comparisons with Devstral Small 2 or Qwen3-Coder-30B-A3B-Instruct

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.