129 3 days ago

Spark-X2.6-4B keeps X2.5 architecture and gains from post-training: coding, tool use, long-context work, multilingual tasks, reasoning, supporting 1M-token context and 200+ languages.

4b
ollama run maternion/spark-x2.6:4b

Details

3 days ago

f9f0f9823d6f · 3.5GB

spark2_5
·
4.45B
·
Q4_K_M
{ "temperature": 1, "top_k": 0, "top_p": 0.95 }

Readme

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).

Files

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

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
}'

Model details

  • Parameters: 4.4B
  • Architecture: spark2_5, 36 layers, hidden 2560, 16 attention heads / 4 KV heads, FFN 10240, vocab 131072
  • Positional encoding: RoPE base 5,000,000 (sliding-window layers 10,000)
  • Languages: English, Chinese
  • Thinking modes: none, low, high
  • Capabilities: completion, thinking, tools
  • Sampling: temperature 1.0, top_p 0.95, top_k 0

Benchmarks

Full charts and comparisons: XHToken/Spark-X2.6-4B-GGUF benchmarks.

Spark-X2.6 benchmark comparison

All Spark-X2.6 benchmarks

Spark-X2.6 inference efficiency

Links

License

The Spark-X2.6 model series is licensed under the Apache 2.0 License.

Citation

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}
}