# Spark-X2.6-1.7B

> We introduce Spark-X2.6-1.7B, the second model in the Spark-X2.6 series, following the release of Spark-X2.6-4B. Building on Spark-X2.5-1.7B, this release further advances our compact, general-purpose language models for on-device deployment.

- **Organisation:** XHToken
- **Category:** Chat & Text Generation, Reasoning Models
- **Parameters:** 1.7B
- **Context length:** 1,048,576 tokens
- **Licence:** Apache 2.0 (Commercial use OK)
- **Released:** 2026-10-19
- **Hugging Face:** 5.6K downloads (30 days), 85 likes

## Estimated memory

| Quant | ≈ GB |
|---|---|
| Q2_K | 1.49 |
| Q3_K_M | 1.75 |
| Q4_K_M | 1.95 |
| Q5_K_M | 2.13 |
| Q6_K | 2.31 |
| Q8_0 | 2.71 |
| F16 | 4.28 |

## Runs with

- [llama.cpp](https://selfhost.directory/project/llamacpp)
- [LM Studio](https://lmstudio.ai)
- [SGLang](https://selfhost.directory/project/sglang)
- [Transformers](https://github.com/huggingface/transformers)
- [Jan](https://jan.ai) (community)
- [KoboldCpp](https://selfhost.directory/project/koboldcpp) (community)
- [LocalAI](https://selfhost.directory/project/localai) (community)
- [MLX](https://github.com/ml-explore/mlx-lm) (community)
- [Ollama](https://selfhost.directory/project/ollama) (community)

## About

We introduce Spark-X2.6-1.7B, the second model in the Spark-X2.6 series, following the release of Spark-X2.6-4B. Building on Spark-X2.5-1.7B, this release further advances our compact, general-purpose language models for on-device deployment.

Spark-X2.6-1.7B retains exactly the same architecture as Spark-X2.5-1.7B, achieving its capability gains through improved post-training. It delivers substantial improvements in coding, agent, long-context, multilingual, reasoning, etc. These capability gains, combined with strong inference efficiency among models of comparable size, enable more capable and practical on-device AI for developers and users tackling real-world tasks.

Technical Highlights: - Stronger Coding, Agentic, and Long-Context Capabilities: The model delivers substantial improvements in complex tool use, multi-step planning, software engineering, and reasoning over extended contexts, achieving state-of-the-art performance among open-source models of comparable size. - Efficient On-Device Inference: The model delivers strong on-device inference efficiency, achieving leading decoding throughput among similarly sized open-source models in our evaluations and enabling more responsive AI experiences on local hardware. - Controllable Thinking Budget: The model provides three configurable thinking levels—none, low, high—allowing applications to balance reasoning quality, latency, and inference cost dynamically.

## Alternatives

- [LiquidAI/LFM3-1.7B](https://selfhost.directory/models/liquidai/lfm3-1.7b) (1.7B, lfm1.0, ≈1.9 GB at Q4): LFM3-1.7B is a text model for local agents and specialized applications, based on our new tri-hybrid architecture.
- [openbmb/MiniCPM5-2B](https://selfhost.directory/models/openbmb/minicpm5-2b) (2.5B, Apache 2.0, ≈2.32 GB at Q4): We are releasing MiniCPM5-2B, the second model in the MiniCPM5 series, following MiniCPM5-1B. It is a dense 2B Transformer that scales up the same training recipe, built for on-device, local deployment, and resource-constrained scenarios, reaching 2B-class open-source SOTA.
- [LiquidAI/LFM3-1.7B-Base](https://selfhost.directory/models/liquidai/lfm3-1.7b-base) (1.7B, lfm1.0, ≈1.9 GB at Q4): LFM3-1.7B-Base is the pre-trained checkpoint behind LFM3-1.7B, a text model for local agents and specialized applications based on our new tri-hybrid architecture.
- [Qwen/Qwen3-1.7B](https://selfhost.directory/models/qwen/qwen3-1.7b) (2B, Apache 2.0, ≈2.58 GB at Q4): Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models.
- [Qwen/Qwen3-1.7B-Base](https://selfhost.directory/models/qwen/qwen3-1.7b-base) (1.7B, Apache 2.0, ≈2.4 GB at Q4): Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models.
- [Qwen/Qwen2.5-1.5B-Instruct](https://selfhost.directory/models/qwen/qwen2.5-1.5b-instruct) (1.5B, Apache 2.0, ≈1.63 GB at Q4): Qwen2.5 is the latest series of Qwen large language models. For Qwen2.5, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters. Qwen2.5 brings the following improvements upon Qwen2:

More: https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b/alternatives

## Runs well on

- [GeForce RTX 4060](https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b/on/rtx-4060): F16, est. 44 tok/s
- [Apple M4 (16 GB)](https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b/on/apple-m4-16gb): F16, est. 19 tok/s
- [Radeon RX 6700 XT](https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b/on/rx-6700-xt): F16, est. 62 tok/s
- [GeForce RTX 3060 12GB](https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b/on/rtx-3060): F16, est. 58 tok/s
- [Arc B580](https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b/on/arc-b580): F16, est. 73 tok/s
- [Tesla T4](https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b/on/tesla-t4): F16, est. 52 tok/s

## Similar size

- [LiquidAI/LFM3-1.7B](https://selfhost.directory/models/liquidai/lfm3-1.7b) (1.7B)
- [meta-llama/Llama-3.2-1B-Instruct](https://selfhost.directory/models/meta-llama/llama-3.2-1b-instruct) (1.2B)
- [Qwen/Qwen2.5-1.5B-Instruct](https://selfhost.directory/models/qwen/qwen2.5-1.5b-instruct) (1.5B)
- [Qwen/Qwen3-1.7B](https://selfhost.directory/models/qwen/qwen3-1.7b) (2B)
- [HuggingFaceTB/SmolLM2-1.7B](https://selfhost.directory/models/huggingfacetb/smollm2-1.7b) (1.7B)
- [tencent/Qwen3.8-27B-DSpine-b16](https://selfhost.directory/models/tencent/qwen3.8-27b-dspine-b16) (2B)

## FAQ

**How much VRAM does Spark-X2.6-1.7B need?**
About 1.9 GB at Q4_K_M with an 8K context. Q8_0 needs about 2.7 GB and full precision about 4.3 GB. Longer contexts need more memory for the KV cache.

**Can Spark-X2.6-1.7B run on the RTX 4060?**
Yes. It fits at FP16 / BF16 (about 4.3 GB), at an estimated 44 tokens/s. It fits comfortably on the Apple M4 (16 GB), Radeon RX 6700 XT, RTX 3060 12GB.

**Can I use Spark-X2.6-1.7B commercially?**
Yes. It is released under Apache 2.0. Permissive: use, modify and sell freely; keep the notice and licence text.

**What is the context length of Spark-X2.6-1.7B?**
1,048,576 tokens (1M). The full window needs far more memory than an 8K context.

**How do I run Spark-X2.6-1.7B with Ollama or llama.cpp?**
With Ollama: ollama run hf.co/XHToken/Spark-X2.6-1.7B-GGUF:Q4_K_M. With llama.cpp: llama-server -hf XHToken/Spark-X2.6-1.7B-GGUF:Q4_K_M, which starts an OpenAI-compatible server.

## Links

- huggingface: https://huggingface.co/XHToken/Spark-X2.6-1.7B
- github: https://github.com/XHToken/LlamaFactory

---
Source: https://selfhost.directory/models/xhtoken/spark-x2.6-1.7b