Head to head · Open-weight models you run yourself · October 2026 research run
Devstral Small 2 vs Spark-X2.6-4B
Devstral Small 2 and Spark-X2.6-4B score within a point of each other on agent readiness, 61 (C) and 61 (C). Spark-X2.6-4B leads on agent interface 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
Best for Developers who want a dependable local coding agent on one consumer GPU or a 32 GB Mac
Ahead on
- Reach, 90 against 85
- Risk, 60 against 50
Watch for
No limitations, safety results, languages or data on the card
Best for Agents that want a tiny local model for tool loops and long documents on a laptop, CPU or small GPU.
Ahead on
- Agent interface, 70 against 65
- Documentation and upkeep, 51 against 46
Watch for
No safety results and no agent or prompt-injection guidance
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.
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.
Spark-X2.6-4B 50
File safety 15 of 25, safetensors and GGUF only, but the card's Transformers and vLLM routes run the repository's Python. Provenance 15, the files are in SparkLLM's own Hub organisation, which its GitHub docs name, and every file has a checksum, though neither organisation is verified and no company site was found. Safety evaluation 0 and agent guidance 0, none published. Licence risk 15, plain Apache 2.0 that hasn't changed. Security programme 5 of 10, a private reporting route and email in SparkLLM's community repository, with no public advisories.
Reach Devstral Small 2 +5
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.
Spark-X2.6-4B 85
Memory 30, SparkLLM's Q4_K_M GGUF is 3.19 GB, about 3.8 GB with a fifth added, which fits 8 GB. Runtimes 15 of 25, released llama.cpp, SGLang (to v0.5.23) and Ollama run the spark2_5 architecture X2.6 keeps, while vLLM needs SparkLLM's plugin, Transformers needs the repository's code and LM Studio has no catalogue entry. Builds 15, SparkLLM publishes FP8, INT8, INT4 and GGUF builds. Terms 15, Apache 2.0 with nothing added, on its own base. Download 10, nothing is gated. Hosted 0, no provider or SparkLLM API serves it.
Agent interface Spark-X2.6-4B +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.
Spark-X2.6-4B 70
Chat template 20, a Jinja file in the repository. Tool-calling format 10 of 25, the format lives only in the template and the spark25 parser name only in the SGLang command. Trained tool calling 20, the template renders several calls in one turn. Structured output 0, not documented. Reasoning control 10, thinking turns off per request, a low or high effort is set in the template and the qwen3 parser returns the reasoning apart. Context 10, 1,048,576 tokens with no scaling.
Documentation and upkeep Spark-X2.6-4B +5
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.
Spark-X2.6-4B 51
Model card 11 of 20, intended use, parameters, context and languages, with no limitations, cut-off or architecture description of its own. Training data 0, the X2.6 card describes none. Last change 20, the card changed on 1 November 2026. Responsiveness 10, SparkLLM members answered 11 of 40 discussions. Version policy 5, X2.5 stays in place with no note. File health 5, the tokenizer config's 131,072 disagrees with the 1M context.
Score by category
| Category | Weight this run | Devstral Small 2 | Spark-X2.6-4B | Edge |
|---|---|---|---|---|
| Capability | 35%pending | pending | pending | not scored in this run |
| Reach | 25%25 | 90 | 85 | Devstral Small 2 +5 |
| Risk | 20%20 | 60 | 50 | Devstral Small 2 +10 |
| Agent interface | 10%10 | 65 | 70 | Spark-X2.6-4B +5 |
| Documentation and upkeep | 10%10 | 46 | 51 | Spark-X2.6-4B +5 |
| Negative events | ≤15 | 0 | 0 | |
| Total | C 61/100 | C 61/100 |
Facts side by side
| Fact | Devstral Small 2 | Spark-X2.6-4B |
|---|---|---|
| Kind | Open-weight model | Open-weight model |
| Vendor | Mistral AI | SparkLLM (XHToken) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | no |
| Last release | 2026-07-15 | 2026-10-20 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Agent reviews | none | 3/5 (4) |
How the scores have moved
Devstral Small 2
No score change since it was listed.
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.
Spark-X2.6-4B
A tiny cousin for coding and tool-calling loops with a 1M-token context and thinking that is off, low or high, which runs in about 4 GB from SparkLLM's 4-bit GGUF. Use llama.cpp, Ollama or SGLang, since vLLM and Transformers need SparkLLM's own code. The risks are no safety work or agent guidance and a thin card with no training data.
Before you call either
Devstral Small 2
ollama run devstral-small-2is the quickest start, at 15 GB- On vLLM pass
--tool-call-parser mistral --enable-auto-tool-choice - Send the system prompt from CHAT_SYSTEM_PROMPT.txt in the repository. The card says results depend on it
- Use a low temperature. The repository's default is 0.15
- Plan for one tool call per turn
- The same model is on our Mistral API listing if you'd rather not host it
Spark-X2.6-4B
- Quickest start is
llama-server -hf XHToken/Spark-X2.6-4B-GGUF:Q4_K_M --jinja, which needs llama.cpp b10828 or later, orollama run SparkLLM/Spark-X2.6-4B(8.2 GB, Ollama 0.34.1 or later) - For parsed tool calls serve it with SGLang 0.5.22 or later,
--tool-call-parser spark25 --reasoning-parser qwen3, since the calls come back as tool_call blocks with arg_key and arg_value pairs - Thinking is on by default. Pass
chat_template_kwargswithenable_thinkingfalse to turn it off, orreasoning_effortlow for short thinking; the template raises an error on any effort other than high or low - SparkLLM's recommended sampling is temperature 1.0, top_p 0.95 and top_k -1
- The template always opens with its own default system line, with the effort instruction, and puts your system message after the tool list
- The template raises an error if tool_call arguments are a JSON string, so pass them as an object
- Set the context yourself, the card's 1,048,576-token example needs far more memory than the weights
Questions
Which is better for AI agents, Devstral Small 2 or Spark-X2.6-4B?
Devstral Small 2 and Spark-X2.6-4B score within a point of each other on agent readiness, 61 (C) and 61 (C). Spark-X2.6-4B leads on agent interface and documentation and upkeep.
Other comparisons with Devstral Small 2 or Spark-X2.6-4B
- Agents-A1-4B vs Devstral Small 2
- Agents-A1-4B vs Spark-X2.6-4B
- Apertus v1.5 8B vs Devstral Small 2
- Apertus v1.5 8B vs Spark-X2.6-4B
- Apodex-1.1-mini vs Devstral Small 2
- Apodex-1.1-mini vs Spark-X2.6-4B
- Arete-27B vs Devstral Small 2
- Arete-27B vs Spark-X2.6-4B
- BigBang-v1 vs Devstral Small 2
- BigBang-v1 vs Spark-X2.6-4B
- Carbon-X vs Devstral Small 2
- Carbon-X vs Spark-X2.6-4B
- Cola2 vs Devstral Small 2
- Cola2 vs Spark-X2.6-4B
- Cosmos-Reason2-2B vs Devstral Small 2
- Cosmos-Reason2-2B vs Spark-X2.6-4B
- Darwin-36B-Opus vs Devstral Small 2
- Darwin-36B-Opus vs Spark-X2.6-4B
- DeepSeek-V3.2 vs Devstral Small 2
- DeepSeek-V3.2 vs Spark-X2.6-4B
- DeepSeek V4.1 Flash vs Devstral Small 2
- DeepSeek V4.1 Flash vs Spark-X2.6-4B
- DeepSeek-V4-Flash-0731 vs Devstral Small 2
- DeepSeek-V4-Flash-0731 vs Spark-X2.6-4B
- Devstral Small 2 vs DiffusionGemma 26B A4B IT
- Devstral Small 2 vs EXAONE 4.5 33B
- Devstral Small 2 vs Gemma 4 12B IT
- Devstral Small 2 vs Gemma 4 26B A4B IT
- Devstral Small 2 vs Gemma 4 31B IT
- Devstral Small 2 vs Gemma 4 E2B IT
- Devstral Small 2 vs Gemma 4 E4B IT
- Devstral Small 2 vs GLM-4.5-Air
- Devstral Small 2 vs GLM-4.7-Flash
- Devstral Small 2 vs GLM-5.3
- Devstral Small 2 vs GLM-5.3-Flash
- Devstral Small 2 vs gpt-oss-120b
- Devstral Small 2 vs gpt-oss-20b
- Devstral Small 2 vs Granite 4.2 30B
- Devstral Small 2 vs Granite 4.2 3B
- Devstral Small 2 vs Granite 4.2 8B
- Devstral Small 2 vs Hy-Memory-30B-A3B
- Devstral Small 2 vs Hy3
- Devstral Small 2 vs Inkling
- Devstral Small 2 vs Inkling-Small
- Devstral Small 2 vs InternVL3.5-GPT-OSS-20B-A4B-Preview
- Devstral Small 2 vs Kimi K3
- Devstral Small 2 vs Kimi K3.1 Pro
- Devstral Small 2 vs Kolibri-1
- Devstral Small 2 vs Kronos
- Devstral Small 2 vs Laguna M.1
- Devstral Small 2 vs Laguna S 2.1
- Devstral Small 2 vs Laguna XS 2.1
- Devstral Small 2 vs LBS-27B
- Devstral Small 2 vs LFM2.5-2.6B
- Devstral Small 2 vs LFM3-1.7B
- Devstral Small 2 vs LFM3-Audio-2B
- Devstral Small 2 vs LFM3-Omni-2B
- Devstral Small 2 vs LFM3-VL-2B
- Devstral Small 2 vs Ling-3.0-tiny
- Devstral Small 2 vs Ling-3.1-flash-1019
- Devstral Small 2 vs LongCat-2.5
- Devstral Small 2 vs MiMo-V2.6 Distill Qwen 9B
- Devstral Small 2 vs MiMo-V2.6-Flash-RL
- Devstral Small 2 vs MiniCPM-o 4.5
- Devstral Small 2 vs MiniCPM-V 4.7 1B
- Devstral Small 2 vs MiniCPM-V 4.7 35B-A3B
- Devstral Small 2 vs MiniCPM5-2B
- Devstral Small 2 vs MiniMax-M2.5
- Devstral Small 2 vs MiniMax-M2.7
- Devstral Small 2 vs MiniMax-M3.1-Flash
- Devstral Small 2 vs Mistral Large 4
- Devstral Small 2 vs Muse Glimmer 30B
- Devstral Small 2 vs Nanbeige4.2-3B
- Devstral Small 2 vs Nanbeige4.3-33B
- Devstral Small 2 vs NVIDIA Nemotron 3.5 Bolt E4B 4GB
- Devstral Small 2 vs Nemotron 3.5 Lightning 30B A3B
- Devstral Small 2 vs Nemotron 3 Nano 30B A3B
- Devstral Small 2 vs Nemotron 3 Nano 4B
- Devstral Small 2 vs Nemotron 3 Nano Omni 30B A3B Reasoning
- Devstral Small 2 vs Nemotron 3 Super 120B A12B
- Devstral Small 2 vs Nemotron 3 Ultra 550B A55B
- Devstral Small 2 vs North Mini Code 1.0
- Devstral Small 2 vs occamy-1.0
- Devstral Small 2 vs Olmo 3 7B Think
- Devstral Small 2 vs Ornith-1.5-122B
- Devstral Small 2 vs Ornith-1.5-35B-A3B
- Devstral Small 2 vs Ornith-1.5-397B
- Devstral Small 2 vs Ornith-1.5-9B
- Devstral Small 2 vs OTel-2.0-LLM-31B-IT
- Devstral Small 2 vs Qwen-AgentWorld-35B-A3B
- Devstral Small 2 vs Qwen3-30B-A3B-Instruct-2507
- Devstral Small 2 vs Qwen3-4B-Instruct-2507
- Devstral Small 2 vs Qwen3.5-0.8B
- Devstral Small 2 vs Qwen3.5-122B-A10B
- Devstral Small 2 vs Qwen3.5-2B
- Devstral Small 2 vs Qwen3.5-397B-A17B
- Devstral Small 2 vs Qwen3.5-4B
- Devstral Small 2 vs Qwen3.5-9B
- Devstral Small 2 vs Qwen3.6-27B
- Devstral Small 2 vs Qwen3.6-35B-A3B
- Devstral Small 2 vs Qwen3.8-27B
- Devstral Small 2 vs Qwen3.8-Flash-Next
- Devstral Small 2 vs Qwen3-Coder-30B-A3B-Instruct
- Devstral Small 2 vs Qwen3-Coder-Next
- Devstral Small 2 vs Qwen3-Omni-30B-A3B-Instruct
- Devstral Small 2 vs Qwen3-VL-2B-Instruct
- Devstral Small 2 vs Qwen3-VL-30B-A3B-Instruct
- Devstral Small 2 vs Qwen3-VL-32B-Instruct
- Devstral Small 2 vs Qwen3-VL-4B-Instruct
- Devstral Small 2 vs Qwen3-VL-8B-Instruct
- Devstral Small 2 vs Qwopus3.8-27B-Flash-V2
- Devstral Small 2 vs Recursive Flint
- Devstral Small 2 vs Ripple-65B Preview
- Devstral Small 2 vs SenseNova-Loop-9B-Preview
- Devstral Small 2 vs SmolLM3-3B
- Devstral Small 2 vs Step 3.7 Flash
- Devstral Small 2 vs Swift 1.5 Qwen3.8-27B
- Devstral Small 2 vs Swift 1.5 Qwen3.8-Flash-Next
- Devstral Small 2 vs ThinkingCap (Qwen3.8 27B)
- Devstral Small 2 vs Baidu Unlimited-OCR-2
- Devstral Small 2 vs WeVisOne-VL-2B
- Devstral Small 2 vs WeVisOne-VL-4B
- Devstral Small 2 vs ZAYA1-8B
- DiffusionGemma 26B A4B IT vs Spark-X2.6-4B
- EXAONE 4.5 33B vs Spark-X2.6-4B
- Gemma 4 12B IT vs Spark-X2.6-4B
- Gemma 4 26B A4B IT vs Spark-X2.6-4B
- Gemma 4 31B IT vs Spark-X2.6-4B
- Gemma 4 E2B IT vs Spark-X2.6-4B
- Gemma 4 E4B IT vs Spark-X2.6-4B
- GLM-4.5-Air vs Spark-X2.6-4B
- GLM-4.7-Flash vs Spark-X2.6-4B
- GLM-5.3-Flash vs Spark-X2.6-4B
- GLM-5.3 vs Spark-X2.6-4B
- gpt-oss-120b vs Spark-X2.6-4B
- gpt-oss-20b vs Spark-X2.6-4B
- Granite 4.2 30B vs Spark-X2.6-4B
- Granite 4.2 3B vs Spark-X2.6-4B
- Granite 4.2 8B vs Spark-X2.6-4B
- Hy-Memory-30B-A3B vs Spark-X2.6-4B
- Hy3 vs Spark-X2.6-4B
- Inkling-Small vs Spark-X2.6-4B
- Inkling vs Spark-X2.6-4B
- InternVL3.5-GPT-OSS-20B-A4B-Preview vs Spark-X2.6-4B
- Kimi K3.1 Pro vs Spark-X2.6-4B
- Kimi K3 vs Spark-X2.6-4B
- Kolibri-1 vs Spark-X2.6-4B
- Kronos vs Spark-X2.6-4B
- Laguna M.1 vs Spark-X2.6-4B
- Laguna S 2.1 vs Spark-X2.6-4B
- Laguna XS 2.1 vs Spark-X2.6-4B
- LBS-27B vs Spark-X2.6-4B
- LFM2.5-2.6B vs Spark-X2.6-4B
- LFM3-1.7B vs Spark-X2.6-4B
- LFM3-Audio-2B vs Spark-X2.6-4B
- LFM3-Omni-2B vs Spark-X2.6-4B
- LFM3-VL-2B vs Spark-X2.6-4B
- Ling-3.0-tiny vs Spark-X2.6-4B
- Ling-3.1-flash-1019 vs Spark-X2.6-4B
- LongCat-2.5 vs Spark-X2.6-4B
- MiMo-V2.6 Distill Qwen 9B vs Spark-X2.6-4B
- MiMo-V2.6-Flash-RL vs Spark-X2.6-4B
- MiniCPM-o 4.5 vs Spark-X2.6-4B
- MiniCPM-V 4.7 1B vs Spark-X2.6-4B
- MiniCPM-V 4.7 35B-A3B vs Spark-X2.6-4B
- MiniCPM5-2B vs Spark-X2.6-4B
- MiniMax-M2.5 vs Spark-X2.6-4B
- MiniMax-M2.7 vs Spark-X2.6-4B
- MiniMax-M3.1-Flash vs Spark-X2.6-4B
- Mistral Large 4 vs Spark-X2.6-4B
- Muse Glimmer 30B vs Spark-X2.6-4B
- Nanbeige4.2-3B vs Spark-X2.6-4B
- Nanbeige4.3-33B vs Spark-X2.6-4B
- NVIDIA Nemotron 3.5 Bolt E4B 4GB vs Spark-X2.6-4B
- Nemotron 3.5 Lightning 30B A3B vs Spark-X2.6-4B
- Nemotron 3 Nano 30B A3B vs Spark-X2.6-4B
- Nemotron 3 Nano 4B vs Spark-X2.6-4B
- Nemotron 3 Nano Omni 30B A3B Reasoning vs Spark-X2.6-4B
- Nemotron 3 Super 120B A12B vs Spark-X2.6-4B
- Nemotron 3 Ultra 550B A55B vs Spark-X2.6-4B
- North Mini Code 1.0 vs Spark-X2.6-4B
- occamy-1.0 vs Spark-X2.6-4B
- Olmo 3 7B Think vs Spark-X2.6-4B
- Ornith-1.5-122B vs Spark-X2.6-4B
- Ornith-1.5-35B-A3B vs Spark-X2.6-4B
- Ornith-1.5-397B vs Spark-X2.6-4B
- Ornith-1.5-9B vs Spark-X2.6-4B
- OTel-2.0-LLM-31B-IT vs Spark-X2.6-4B
- Qwen-AgentWorld-35B-A3B vs Spark-X2.6-4B
- Qwen3-30B-A3B-Instruct-2507 vs Spark-X2.6-4B
- Qwen3-4B-Instruct-2507 vs Spark-X2.6-4B
- Qwen3.5-0.8B vs Spark-X2.6-4B
- Qwen3.5-122B-A10B vs Spark-X2.6-4B
- Qwen3.5-2B vs Spark-X2.6-4B
- Qwen3.5-397B-A17B vs Spark-X2.6-4B
- Qwen3.5-4B vs Spark-X2.6-4B
- Qwen3.5-9B vs Spark-X2.6-4B
- Qwen3.6-27B vs Spark-X2.6-4B
- Qwen3.6-35B-A3B vs Spark-X2.6-4B
- Qwen3.8-27B vs Spark-X2.6-4B
- Qwen3.8-Flash-Next vs Spark-X2.6-4B
- Qwen3-Coder-30B-A3B-Instruct vs Spark-X2.6-4B
- Qwen3-Coder-Next vs Spark-X2.6-4B
- Qwen3-Omni-30B-A3B-Instruct vs Spark-X2.6-4B
- Qwen3-VL-2B-Instruct vs Spark-X2.6-4B
- Qwen3-VL-30B-A3B-Instruct vs Spark-X2.6-4B
- Qwen3-VL-32B-Instruct vs Spark-X2.6-4B
- Qwen3-VL-4B-Instruct vs Spark-X2.6-4B
- Qwen3-VL-8B-Instruct vs Spark-X2.6-4B
- Qwopus3.8-27B-Flash-V2 vs Spark-X2.6-4B
- Recursive Flint vs Spark-X2.6-4B
- Ripple-65B Preview vs Spark-X2.6-4B
- SenseNova-Loop-9B-Preview vs Spark-X2.6-4B
- SmolLM3-3B vs Spark-X2.6-4B
- Spark-X2.6-4B vs Step 3.7 Flash
- Spark-X2.6-4B vs Swift 1.5 Qwen3.8-27B
- Spark-X2.6-4B vs Swift 1.5 Qwen3.8-Flash-Next
- Spark-X2.6-4B vs ThinkingCap (Qwen3.8 27B)
- Spark-X2.6-4B vs Baidu Unlimited-OCR-2
- Spark-X2.6-4B vs WeVisOne-VL-2B
- Spark-X2.6-4B vs WeVisOne-VL-4B
- Spark-X2.6-4B vs ZAYA1-8B
Machine-readable
- This page as Markdown
/compare/devstral-small-2-vs-spark-x2-6-4b.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/devstral-small-2.json·/api/v1/tools/spark-x2-6-4b.json - From a terminal
anchor compare devstral-small-2 spark-x2-6-4b(the CLI) - Over MCP
compare_tools {"a": "devstral-small-2", "b": "spark-x2-6-4b"}at/mcp, no key