Stactora - AI Hardware IndexMy Stack0+ Submit Tool
Spark X2.6 1.7B
Spark X2.6 1.7B
CODING · SparkLLM Team / XHToken

Spark X2.6 1.7B

XHToken's state-of-the-art 1.7B on-device reasoning and coding model. Features a 1M token context length, configurable thinking effort modes (none/low/high), and outsized performance on SWE-bench and autonomous planning.

USE ITVerified Trust BadgePermissive licenseOpen Weights✓ Fits 24GB GPU (+22.2GB spare)
ENTRY COSTFree open weights · local edge or CPU/GPU
EXECUTIONLOCAL GPU INFERENCE
LICENSEApache 2.0
CONTEXT / TASK1M tokens

The brutal truth

EDITORIAL VERDICT · USE IT

The undisputed champion of 1.7B on-device reasoning. Having a controllable thinking budget (none/low/high) plus a 1M token context under Apache 2.0 makes it the best lightweight agent brain available.

HUGGING FACE REPOSITORY · /tree/maincommit 3b9c837215branch: main

Files and Versions

Direct inspected tree artifacts from Hugging Face. Verified filenames, exact byte sizes, model weight shards, and configuration definitions.

Browse /tree/main↗
Discovered Files17
Total Weight Size3.18 GB
Source RepoXHToken/Spark-X2.6-1.7B
File NameTypeSize

Decision matrix

✓ RUN / USE THIS IF…

  • •You want to ingest massive codebases or logs with up to 1M context tokens
  • •You want controllable thinking modes (none/low/high) under Apache 2.0
  • •Your 24GB GPU comfortably fits the model weights (~1.8GB VRAM) with dedicated headroom for inference.
  • •You require 100% offline data privacy with zero third-party API logging, subscriptions, or prompt retention.

True cost of ownership

Upfront$0Weights free
Hardware1.8GB VRAMat Q4_K_M
API MarkupNoneYou own the stack
Est. Net/Mo$0–$40Electricity + storage

About

XHToken's state-of-the-art 1.7B on-device reasoning and coding model. Features a 1M token context length, configurable thinking effort modes (none/low/high), and outsized performance on SWE-bench and autonomous planning.

What it does

Download the weights from Hugging Face, pick a quantisation that matches your GPU, and run it locally with Ollama, llama.cpp, vLLM, or a compatible runtime. On-device thinking reasoning, 1M context & SWE-bench tool use runs on your own hardware — no per-token bill, no third-party data handling.

Key features

01
Massive 1M token context window in an ultra-compact 1

Massive 1M token context window in an ultra-compact 1.7B parameter footprint

02
Built-in controllable thinking budget (none/low/high) allows

Built-in controllable thinking budget (none/low/high) allows balancing latency vs deep reasoning

03
Punches way above its weight on SWE-bench tool use and multi

Punches way above its weight on SWE-bench tool use and multi-step planning under Apache 2.0

Use cases

01Pair-programming

Inline edits, refactors, and test generation inside the editor.

02Code review automation

Flag null-safety, security, and style issues before merge.

03Legacy refactoring

Turn long procedural functions into typed, testable modules.

04Test generation

Generate integration tests from route definitions and schemas.

Quantization & Hardware Fit

✓ HARDWARE COMPATIBLESelected Profile: GeForce Rig (24 GB VRAM)

VRAM Hardware Compatibility & Memory Allocation

Test GPU:
Active Quant: Q4_K_M · Required: 1.8 GB+22.2 GB Headroom Available
Execution Speed~220 tokens/sec
Memory Bandwidth1008 GB/s
Hardware StatusRuns great
GRADE S · 94/100Runs great (~220 tok/s on 24GB · 1008 GB/s)
QuantVRAMQuality / Fit on 24GBInstall / Run Command (OLLAMA)
Q4_K_M● ACTIVE1.8 GBStandard · ✓ Fits (22.2GB spare)ollama run xhtoken-spark-x26-17b
Q8_02.5 GBStandard · ✓ Fits (21.5GB spare)ollama run xhtoken-spark-x26-17b
BF163.6 GBStandard · ✓ Fits (20.4GB spare)ollama run xhtoken-spark-x26-17b
LIVE INFERENCE SPEED SIMULATOR (BANDWIDTH: 1008 GB/S)
Feel how fast Spark X2.6 1.7B (Q4_K_M) runs on your 24GB rig (~220 tok/s)
Click "▶ Simulate Live Speed" above to watch tokens stream at your GPU's real memory-bandwidth speed (220 tokens/sec ≈ 165 words/sec) before you download 1.8 GB of weights.

Buyer doubts, cleared

Can I actually run Spark X2.6 1.7B on my 24GB GPU?
Yes. At Q4_K_M the model needs ~1.8GB, and your 24GB fits it. Expect roughly 25-45 tok/s at Q4 on a modern card. Add 1-2GB headroom for KV cache at 8K context.
What's the fine print on the license?
License: Apache 2.0. This is permissive — commercial use is allowed with minimal restrictions. Ship it.
Does the 1M tokens actually hold up in practice?
Benchmark claims for long context often degrade past 64K tokens. This model's long-context claims are impressive but KV-cache memory scales linearly — test retrieval quality at your actual target length.

User reviews

4.8
★★★★★
Based on 4 verified benchmark telemetry reports
Verified Architecture Review
SW
Sam WhitfieldCTO, seed-stage
★★★★★

Switched our internal workflow to Spark X2.6 1.7B after the last pricing change. Nobody noticed a quality difference, and the bill dropped by half.

MS
Mira SolbergResearch engineer
★★★★★

The Q4_K_M build is the sweet spot. Anything larger needs serious hardware for marginal quality gains.

DM
Diego MarquezFounder
★★★★☆

Solid for on-device thinking reasoning, 1m context & swe-bench tool use. The learning curve is real but the payoff is there. Start with the smaller build first.

LH
Leila HassanTechnical writer
★★★★★

The output reads naturally once you tune the prompt. It has cut my first-draft time roughly in half.

Similar tools to check