{"slug": "spark-x2-6-4b-stronger-on-device-agents-coding-and-controllable-thinking", "title": "Spark-X2.6-4B: stronger on-device agents, coding and controllable thinking", "summary": "The SparkLLM team released Spark-X2.6-4B, a compact general-purpose language model for on-device agents that retains the Spark-X2.5-4B architecture and improves through post-training. The team reports gains on agentic and coding benchmarks, including SWE Verified rising from 41.6 to 62.8 and BFCL-V4 from 65.1 to 71.8, along with three selectable thinking levels (none, low, high) to trade off reasoning effort against latency and cost. The model is available under Apache 2.0 on Hugging Face, ModelScope and Ollama, with support documented for Transformers, SGLang, vLLM, MLX and llama.cpp.", "body_md": "Spark-X2.6-4B is here: our latest compact, general-purpose language model for on-device agents and real-world tasks.\n\nIt keeps the architecture of Spark-X2.5-4B and improves capabilities through post-training, with gains in coding, agent workflows, long-context tasks, multilingual use and reasoning.\n\nThe release focuses on tool use, multi-step planning and software engineering. Selected results from our published evaluation:\n\n| Benchmark | Spark-X2.6-4B | Spark-X2.5-4B | \n|---|---|---|\n| BFCL-V4 | 71.8 | 65.1 | \n| MCP-Atlas | 62.4 | 54.6 | \n| BrowseComp | 53.1 | 40.9 | \n| SWE Pro | 54.3 | 44.4 | \n| SWE Verified | 62.8 | 41.6 | \n| AA-LCRv1.1 | 67.3 | 64.7 | \n\nThe full comparison includes similarly sized models and larger 9B and 12B models. Spark-X2.6-4B leads on several listed tasks; rankings vary by benchmark.\n\nThese are the release team's reported results. The table evaluates Spark-X2.6-4B with thinking set to **high**. Asterisks identify comparison scores taken from public model cards or papers; dashes mean scores are unavailable. The original footnotes are preserved in the image.\n\nThree thinking levels—**none, low and high**—let applications balance reasoning effort, latency and inference cost. Use the model card's configuration guidance for the selected runtime.\n\nThe inference chart reports prefill and decode throughput on **RTX 4090** and **Mac M5 Pro (16-core)** across context lengths. It labels each runtime and quantization setting, including llama.cpp Q4_K_M and Spark INT4 runs using TensorRT or MLX. Compare the relevant hardware, runtime and context length when choosing a deployment.\n\n| Platform | Download | Description | \n|---|---|---|\n| Hugging Face | [Spark-X2.6 in Huggingface](https://huggingface.co/collections/XHToken/spark-x26) | Official Hugging Face model collection for Spark-X2.6 | \n| ModelScope | [Spark-X2.6 in ModelScope](https://www.modelscope.cn/collections/XHToken/Spark-X26) | Recommended download source for users in China | \n| Ollama | [Spark-X2.6 in Ollama](https://ollama.com/SparkLLM/Spark-X2.6-4B) | Download and run the model locally with Ollama | \n\nDirect model weights and model card: [https://huggingface.co/XHToken/Spark-X2.6-4B](https://huggingface.co/XHToken/Spark-X2.6-4B).\n\nWith Ollama installed, run:\n\n```\nollama run SparkLLM/Spark-X2.6-4B\n```\n\nThe release documentation also covers Transformers, SGLang, vLLM, MLX and llama.cpp. Follow the runtime-specific setup in the [model card](https://huggingface.co/XHToken/Spark-X2.6-4B) for required versions, images, plugins and hardware configuration.\n\nThe model is released under Apache 2.0. Try it on a coding task or tool-use workflow and share your runtime, hardware and results with the SparkLLM community.", "url": "https://wpnews.pro/news/spark-x2-6-4b-stronger-on-device-agents-coding-and-controllable-thinking", "canonical_source": "https://dev.to/sparkllm/spark-x26-4b-stronger-on-device-agents-coding-and-controllable-thinking-2fh", "published_at": "2026-10-20 18:36:52+00:00", "updated_at": "2026-10-20 18:48:37.412047+00:00", "lang": "en", "topics": ["large-language-models", "ai-agents", "ai-tools", "ai-research"], "entities": ["SparkLLM", "Spark-X2.6-4B", "Hugging Face", "ModelScope", "Ollama", "llama.cpp", "NVIDIA"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/spark-x2-6-4b-stronger-on-device-agents-coding-and-controllable-thinking", "markdown": "https://wpnews.pro/news/spark-x2-6-4b-stronger-on-device-agents-coding-and-controllable-thinking.md", "text": "https://wpnews.pro/news/spark-x2-6-4b-stronger-on-device-agents-coding-and-controllable-thinking.txt", "jsonld": "https://wpnews.pro/news/spark-x2-6-4b-stronger-on-device-agents-coding-and-controllable-thinking.jsonld"}}