128 Downloads Updated 3 days ago
ollama run maternion/spark-x2.6:4b
Spark-X2.6-4B is a 4.4B dense model built for on-device agents. It keeps the Spark-X2.5 architecture and gains its improvements from post-training: coding, tool use, multilingual tasks, and reasoning. Thinking is selectable per request through the chat template: none, low, or high.
These are Ollama-packaged GGUF quantizations of XHToken/Spark-X2.6-4B (Apache-2.0).
| Tag | Quantization | Size | Notes |
|---|---|---|---|
4b |
Q4_K_M | 3.5 GB | default tag |
4b-q4_K_M |
Q4_K_M | 3.5 GB | alias, same blob |
4b-q6_K |
Q6_K | 3.4 GB | good quality/size trade-off |
4b-q8_0 |
Q8_0 | 4.4 GB | near-lossless |
4b-bf16 |
BF16 | 8.2 GB | reference |
ollama run maternion/spark-x2.6:4b
ollama run maternion/spark-x2.6:4b --think=false
Thinking is on by default, so the model writes a reasoning block before the answer. Turn it off for a single request with "think": false:
curl -s http://localhost:11434/api/chat -d '{
"model": "spark-x2.6:4b",
"messages": [{"role": "user", "content": "What is the capital of Anhui Province?"}],
"think": false,
"stream": false
}'
With thinking enabled:
curl -s http://localhost:11434/api/chat -d '{
"model": "spark-x2.6:4b",
"messages": [{"role": "user", "content": "Plan a three-step migration from SQLite to Postgres."}],
"stream": false
}'
spark2_5, 36 layers, hidden 2560, 16 attention heads / 4 KV heads, FFN 10240, vocab 131072Full charts and comparisons: XHToken/Spark-X2.6-4B-GGUF benchmarks.
The Spark-X2.6 model series is licensed under the Apache 2.0 License.
If you find our work helpful, feel free to give us a cite.
@misc{sparkx2.6,
title = {Spark-X2.6-4B: Advancing the Frontier of On-Device Agents for Real-World Tasks},
author = {SparkLLM Team},
year = {2026}
}