Known-issues sheets for local language models Rev 0.1.0 · reviewed every 7 days

Model datasheet · Spark-X2.6

Spark-X2.6 4B

Spark-X2.5 4B with new post-training on the same architecture: 4.1B dense, 2.6GB at a standard Q4_K_M. SparkLLM's table, all in thinking mode, puts the gains in coding and agent work (SWE-bench Verified 62.8, up from 41.6; BFCL v4 71.8, up from 65.1) and in long context, while math and instruction following barely move. No independent benchmark lists it yet. The vendor's own Q4_K_M is 3.5GB because it keeps the embedding table at BF16; community Q4_K_M files are 2.6GB. Three of every four layers use a 512-token sliding window, but the nine full-attention layers still cache about 4.8GB at 128K, more than the weights. One user says the overthinking that dogged X2.5 is gone; another timed a small agentic refactor at 7 to 9 minutes, and SparkLLM says it is still working on repeated checks.

Vendor
SparkLLM (XHToken)
Architecture
Dense · 4.1B
Context
1,048,576 tokens
License
Apache-2.0
Released
2026-10-19
Vision
No

→ GGUF (llama.cpp / LM Studio / Ollama) → MLX (Apple Silicon)

Architecture, from its own config.json

36 layers · 27 sliding window · 9 full attention

16 attention heads over 4 KV heads (GQA 4:1), head dim 256 · dense feed-forward · vocabulary 131,072

Where the memory goes: weights by band above, plus a KV cache of 396MB at 8K · 1.2GB at 32K · 4.6GB at 128K, plus the runtime's own working memory — dominated by the output projection over that vocabulary.

Inside one layer, from its own tensors

36 × layer

27 sliding-window layers, 9 full-attention layers — the same block either way. What differs is how far back the mask lets attention look, not what the layer is built from.

input_layernormattentionq_k_v_proj — q, k and v in one tensorsoftmax(q·kᵀ/√d) · v16 query heads over 4 key/valueheadso_projpost_attention_layernormfeed-forwardgate_proj · up_proj → down_proj10,240 wide

The green line down the right of each half is the residual: it leaves the spine above the norm, skips the operation entirely and rejoins at the +. Where attention is drawn open, q, k and v are scaled to their real output widths — a model that shares key and value heads across many query heads shows one wide box beside two narrow ones.

Around the stack: an embedding of 131,072 × 2,560, a final norm, and an output projection that reuses the embedding (tied weights).

On the norm names: despite what it is called, post_attention_layernorm is drawn after the residual add here, which is where this family applies it — it normalises the input to the feed-forward, not the output of attention. Models that carry a separate pre_feedforward_layernorm use it the other way, and are drawn that way.

Also in every block and not drawn, because their tensor names do not fix where they belong: g_proj, out_proj. Guessing an order is the one thing this diagram will not do.

§1 Characteristics by quantization band

Q2–Q3 — 2–3 bit

2GB weights · e.g. Q3_K_M + KV: 396MB at 8K · 1.2GB at 32K · 4.6GB at 128K
Math & reasoning 5/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q3_K_M · aggregated · 2026-10-31

    Editorial derivation: three points down from full precision. No measurement below 4-bit exists for X2.6; on the same architecture, eaddario's X2.5 3.5-bpw mix reached a mean KLD of 1.20 with 52% top-token agreement. The stock Q3_K_M is 1.99GB and saves 0.63GB over Q4_K_M.

Coding 5/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q3_K_M · aggregated · 2026-10-31

    Editorial derivation: two points down from full precision, on the same X2.5 evidence.

Tool calling / agentic 5/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q3_K_M · aggregated · 2026-10-31

    Editorial derivation: two points down from full precision. Structured output degrades fastest.

Q4–Q5 — 4–5 bit

2.6GB weights · e.g. Q4_K_M , mlx-4bit + KV: 396MB at 8K · 1.2GB at 32K · 4.6GB at 128K
Math & reasoning 7/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q4_K_M · aggregated · 2026-10-31

    Editorial derivation: one point down. Quant-sensitive like X2.5: at stock Q4_K_M the top token matches BF16's only 82.6% of the time, against 97.4% at Q8_0.

    Myric's KL-divergence run for this model (30 chunks of wiki.test.raw against BF16): top-token agreement Q8_0 97.4%, Q6_K 94.0%, Q5_K_M 90.1%, Q4_K_M 82.6%. Myric notes the ladder lands within half a point of X2.5's.

Coding 6/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q4_K_M · aggregated · 2026-10-31

    Editorial derivation: one point down, as for math.

Tool calling / agentic 6/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q4_K_M · aggregated · 2026-10-31

    Editorial derivation: one point down, as for math.

Instruction following 6/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q4_K_M · aggregated · 2026-10-31

    Editorial derivation: one point down. Usually carried at 4-bit, but the divergence here is several times what a 4B model typically shows.

Long context 5/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q4_K_M · aggregated · 2026-10-31

    Editorial derivation: one point down, as for math.

Q6–Q8 — 6–8 bit

4.4GB weights · e.g. Q8_0 , Q6_K + KV: 396MB at 8K · 1.2GB at 32K · 4.6GB at 128K
Math & reasoning 8/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q8_0 · aggregated · 2026-10-31

    Editorial derivation: carried from full precision.

    Myric's KL-divergence run for this model (30 chunks of wiki.test.raw against BF16): top-token agreement Q8_0 97.4%, Q6_K 94.0%, Q5_K_M 90.1%, Q4_K_M 82.6%. Myric notes the ladder lands within half a point of X2.5's.

Coding 7/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q8_0 · aggregated · 2026-10-31

    Editorial derivation: carried from full precision.

Tool calling / agentic 7/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q8_0 · aggregated · 2026-10-31

    Editorial derivation: carried from full precision.

Instruction following 7/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q8_0 · aggregated · 2026-10-31

    Editorial derivation: carried from full precision.

Long context 6/10
data checked Oct 2026
  • quant-degradation-community — editorial band derivation @ Q8_0 · aggregated · 2026-10-31

    Editorial derivation: carried from full precision.

FP16 — full precision (fp16/bf16)

8.2GB weights · e.g. bf16 + KV: 396MB at 8K · 1.2GB at 32K · 4.6GB at 128K
Math & reasoning 8/10
data checked Oct 2026
  • vendor-model-card — AIME 2026 = 91.2 @ bf16 · vendor-reported · 2026-10-31

    Read from the text of the card's benchmark image (images/all_benchmark.svg). The card says all evaluations are in thinking mode, thinking level high. Spark-X2.5-4B 90.7 on the same row.

  • vendor-model-card — HMMT Feb 2026 = 81.3 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 81.2.

  • vendor-model-card — IMO-AnswerBench = 75.2 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 74.2.

Coding 7/10
data checked Oct 2026
  • vendor-model-card — SWE-Bench Verified = 62.8 @ bf16 · vendor-reported · 2026-10-31

    Read from the text of the card's benchmark image (images/all_benchmark.svg). The card says all evaluations are in thinking mode, thinking level high. Spark-X2.5-4B 41.6; Qwen3.5-9B 53.1 (quoted from Qwen's card). A 21-point gain from post-training alone, vendor-measured; held at 7, level with other small models claiming around 60, rather than above them.

  • vendor-model-card — SWE-Bench Pro = 54.3 @ bf16 · vendor-reported · 2026-10-31

    Same table. As with X2.5, the vendor's Pro figure is close to its Verified one, which is unusual: Pro is normally the harder set. Recorded as published.

  • vendor-model-card — SWE-Bench Multilingual = 64.7 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 53.3.

  • vendor-model-card — SciCode = 36.8 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 34.7, Gemma4-12B 39.8.

Tool calling / agentic 7/10
data checked Oct 2026
  • vendor-model-card — BFCL-V4 = 71.8 @ bf16 · vendor-reported · 2026-10-31

    Read from the text of the card's benchmark image (images/all_benchmark.svg). The card says all evaluations are in thinking mode, thinking level high. Spark-X2.5-4B 65.1, Qwen3.5-9B 66.1 (quoted).

  • vendor-model-card — τ²-bench = 86.9 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 75.1.

  • vendor-model-card — MCP-Atlas = 62.4 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 54.6. The table's τ³-bench row (34.7) is the Banking domain only, per the vendor's reply in discussion #4.

Instruction following 7/10
data checked Oct 2026
  • vendor-model-card — IFEval = 93.6 @ bf16 · vendor-reported · 2026-10-31

    Read from the text of the card's benchmark image (images/all_benchmark.svg). The card says all evaluations are in thinking mode, thinking level high. Spark-X2.5-4B 93.0.

  • vendor-model-card — IFBench = 75.8 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 75.0.

Long context 6/10
data checked Oct 2026
  • vendor-model-card — LongBench v2 = 53.3 @ bf16 · vendor-reported · 2026-10-31

    Read from the text of the card's benchmark image (images/all_benchmark.svg). The card says all evaluations are in thinking mode, thinking level high. Spark-X2.5-4B 48.7, Qwen3.5-9B 55.2 (quoted).

  • vendor-model-card — GraphWalks BFS 256K (F1) = 92.2 @ bf16 · vendor-reported · 2026-10-31

    Same table. Spark-X2.5-4B 47.1. At 1M tokens the same test falls to 34.2.

  • vendor-model-card — MRCR v2 256K-512K = 65.6 @ bf16 · vendor-reported · 2026-10-31

    Same table (OpenAI MRCR v2). Spark-X2.5-4B 9.7. At 512K-1M it falls to 26.0, so the 1M-token context is usable for retrieval only in part.

§2 Known issues & what fixes them

ISSUE-01 mild Q2–Q3 / Q4–Q5 / Q6–Q8 / FP16 · math, coding, tool-calling

X2.5 thought at great length; X2.6 adds none/low/high thinking levels and appears better, but not cured. One user who fought X2.5's 20-minute reasoning reports the problem gone in X2.6. Another, running Q8_0 on an RX 7900 XTX at about 100 tok/s, timed a small agentic refactor at 8 min 40 s on high and 7 min 30 s on low, against 3 min 10 s for a Qwen3.8 27B fine-tune decoding at 40 tok/s. SparkLLM replied that it is 'actively working on' the overthinking and repeated checks.

Fix
Prompt technique [partial]

Set the thinking level to low or none for routine turns. In the timed run, low finished sooner with a nearly identical result but missed one file. Every published score is at high.

Evidence · 2 sources · community-consensus
ISSUE-02 mild Q4–Q5 · math, coding, tool-calling, instruction-following, long-context

4-bit moves this model further from full precision than is typical at 4B. In one KL-divergence run, stock Q4_K_M picks the same top token as BF16 82.6% of the time, against 90.1% at Q5_K_M and 97.4% at Q8_0, matching what X2.5 measured. Q8_0 is 4.4GB.

Fix
Move up a quant band [strong]

Q6_K at 3.6GB or Q8_0 at 4.4GB. The vendor's own Q4_K_M (3.5GB, BF16 embeddings) is no smaller than a community Q6_K.

Evidence · 2 sources · anecdotal
ISSUE-03 moderate Q2–Q3 · math, coding, tool-calling

Nobody has measured X2.6 below 4-bit. On the same architecture, X2.5 at 3.5 bpw reached a mean KL divergence of 1.20 with the top token agreeing barely half the time, and X2.6's 4-bit and up track X2.5's closely. The stock Q3_K_M saves 0.63GB over Q4_K_M.

Fix
Move up a quant band [strong]

Q4_K_M at 2.6GB, or better Q6_K at 3.6GB.

Evidence · 2 sources · anecdotal
ISSUE-04 mild Q2–Q3 / Q4–Q5 / Q6–Q8 / FP16 · tool-calling, instruction-following

Same spark2_5 architecture as X2.5, so the same runtime floor: llama.cpp b10828 or later, and older LM Studio and Ollama builds refuse the file. On a Mac, the mlx-community build needs the mlx-optiq package imported before mlx_lm.load; stock mlx-lm does not know spark2_5. That build's per-layer bit allocation was transferred from X2.5, not measured on X2.6.

Fix
Update your runtime [strong]

llama.cpp b10828 or later, Ollama 0.34.1 or later, or LM Studio 0.4.0 or later, per the model card.

Evidence · 3 sources · community-consensus
ISSUE-05 mild Q2–Q3 / Q4–Q5 / Q6–Q8 / FP16 · math, coding, tool-calling, long-context, factuality, instruction-following

Every stored score is SparkLLM's own, and the coding and agent gains are large for a post-training-only release (SWE-bench Verified up 21 points). It is not on LiveBench's 2026-10-25 release or Vectara's hallucination leaderboard, so factuality is unrated. Two of the agent rows (SWebBench, PAgentBench) are in-house benchmarks not yet published, and are not used here.

No fix
No known fix — choose a different model

Not a defect but a caveat. Revisit when independent numbers land.

Evidence · 2 sources · anecdotal