Best Spark-X2.6 4B quant for your GPU
10 quantized files of XHToken/Spark-X2.6-4B (4.11B), each diffed against the BF16 original.
XHToken/Spark-X2.6-4B (Apache 2.0). Released Oct 19, 2026 (Hugging Face upload); same architecture as Spark-X2.5-4B with improved post-training. 4.1B parameters, 36 layers (9 full attention, the rest 512-token sliding window), so the KV cache is small. GGUF quants from bartowski (imatrix), plus the maker's own Q4_K_M and mradermacher's i1-Q4_K_M for comparison. Tool calls and accuracy tested with thinking disabled (the chat template defaults to thinking on).
Charts
Every dot and bar is a measured file (GGUF). Hover or tap one for its numbers; each chart has a table under "Show the numbers". Download a PNG to share.
Spark-X2.6 4B: accuracy vs file size
If a dot's bar reaches the shaded band, that file scores the same as the best one within the margin of error on our accuracy questions (GSM8K + MMLU + ARC-C); the smallest such file here is Q3_K_M at 1.86 GB.
- XHToken
- bartowski
- mradermacher
- best file's 95% range
- clearly below the best
- our pick for 8 / 12 / 16 GB GPUs
Up: in %, bars = · Across: file size in GB (GiB) · = overlaps the band
Show the numbers (table)
| Quant | GB | Accuracy % | 95% interval | Correct | Tied with best | Pick |
|---|---|---|---|---|---|---|
| IQ2_M | 1.46 | 49.0 | 44.6–53.4 | 245/500 | no (below) | |
| IQ3_XXS | 1.68 | 67.2 | 63.0–71.2 | 336/500 | no (below) | |
| Q3_K_M | 1.86 | 72.4 | 68.3–76.1 | 362/500 | yes | |
| IQ4_XS | 2.18 | 75.8 | 71.9–79.3 | 379/500 | yes | |
| i1-Q4_K_M | 2.42 | 76.8 | 72.9–80.3 | 384/500 | yes | |
| Q4_K_M (bartowski) | 2.44 | 78.8 | 75.0–82.2 | 394/500 | yes | |
| Q5_K_M | 2.95 | 78.2 | 74.4–81.6 | 391/500 | yes | |
| Q4_K_M (XHToken) | 3.30 | 78.6 | 74.8–82.0 | 393/500 | yes | |
| Q6_K | 3.36 | 77.8 | 74.0–81.2 | 389/500 | yes | |
| Q8_0 | 4.07 | 78.8 | 75.0–82.2 | 394/500 | yes | 8/12/16/24 GB pick |
Spark-X2.6 4B: tool calls vs file size
If a dot's bar reaches the shaded band, that file scores the same as the best one within the margin of error on our tool-call tests; the smallest such file here is IQ4_XS at 2.18 GB.
- XHToken
- bartowski
- mradermacher
- best file's 95% range
- clearly below the best
- our pick for 8 / 12 / 16 GB GPUs
Up: in %, bars = · Across: file size in GB (GiB) · = overlaps the band
Show the numbers (table)
| Quant | GB | Tool calls % | 95% interval | Correct | Tied with best | Pick |
|---|---|---|---|---|---|---|
| IQ2_M | 1.46 | 42.5 | 35.9–49.4 | 85/200 | no (below) | |
| IQ3_XXS | 1.68 | 56.5 | 49.6–63.2 | 113/200 | no (below) | |
| Q3_K_M | 1.86 | 64.0 | 57.1–70.3 | 128/200 | no (below) | |
| IQ4_XS | 2.18 | 76.0 | 69.6–81.4 | 152/200 | yes | |
| i1-Q4_K_M | 2.42 | 74.0 | 67.5–79.6 | 148/200 | yes | |
| Q4_K_M (bartowski) | 2.44 | 76.5 | 70.2–81.8 | 153/200 | yes | |
| Q5_K_M | 2.95 | 78.0 | 71.8–83.2 | 156/200 | yes | |
| Q4_K_M (XHToken) | 3.30 | 81.5 | 75.5–86.3 | 163/200 | yes | |
| Q6_K | 3.36 | 79.5 | 73.4–84.5 | 159/200 | yes | |
| Q8_0 | 4.07 | 79.5 | 73.4–84.5 | 159/200 | yes | 8/12/16/24 GB pick |
Spark-X2.6 4B: diff from the original (mean KLD), by quant
Lower = closer to the original. Here the closest file is Q8_0 (bartowski, 0.0027) and the furthest is IQ2_M (bartowski, 1.0014); the scale is logarithmic, so each grid step is 10× more.
- mean KLD of one file
- our pick for 8 / 12 / 16 GB GPUs
Across: vs the original (no unit; 0 = identical)
Show the numbers (table)
| Quant | Publisher | GB | Mean KLD | Pick |
|---|---|---|---|---|
| Q8_0 | bartowski | 4.07 | 0.0027 | 8/12/16/24 GB pick |
| Q6_K | bartowski | 3.36 | 0.0099 | |
| Q5_K_M | bartowski | 2.95 | 0.0306 | |
| Q4_K_M | XHToken | 3.30 | 0.0820 | |
| Q4_K_M | bartowski | 2.44 | 0.0889 | |
| i1-Q4_K_M | mradermacher | 2.42 | 0.1168 | |
| IQ4_XS | bartowski | 2.18 | 0.1288 | |
| Q3_K_M | bartowski | 1.86 | 0.3751 | |
| IQ3_XXS | bartowski | 1.68 | 0.5090 | |
| IQ2_M | bartowski | 1.46 | 1.0014 |
Spark-X2.6 4B: generation speed by quant and machine
Longer bar = faster replies. Smaller files are usually faster; the fastest measured here is IQ4_XS (bartowski) at 62 tok/s on Apple M2 Pro 32GB (llama.cpp). Compare bars of the same colour only: each colour is a different machine.
- Apple M2 Pro 32GB (llama.cpp)
Across: (tokens per second)
Show the numbers (table)
| File | Publisher | GB | Machine | tok/s | Placement |
|---|---|---|---|---|---|
| Q8_0 | bartowski | 4.07 | Apple M2 Pro 32GB (llama.cpp) | 38.7 | full GPU |
| Q6_K | bartowski | 3.36 | Apple M2 Pro 32GB (llama.cpp) | 44.4 | full GPU |
| Q5_K_M | bartowski | 2.95 | Apple M2 Pro 32GB (llama.cpp) | 44.6 | full GPU |
| IQ4_XS | bartowski | 2.18 | Apple M2 Pro 32GB (llama.cpp) | 61.5 | full GPU |
| i1-Q4_K_M | mradermacher | 2.42 | Apple M2 Pro 32GB (llama.cpp) | 56.1 | full GPU |
| Q4_K_M | bartowski | 2.44 | Apple M2 Pro 32GB (llama.cpp) | 55.5 | full GPU |
| Q4_K_M | XHToken | 3.30 | Apple M2 Pro 32GB (llama.cpp) | 52.3 | full GPU |
| IQ3_XXS | bartowski | 1.68 | Apple M2 Pro 32GB (llama.cpp) | 55.2 | full GPU |
| Q3_K_M | bartowski | 1.86 | Apple M2 Pro 32GB (llama.cpp) | 49.2 | full GPU |
| IQ2_M | bartowski | 1.46 | Apple M2 Pro 32GB (llama.cpp) | 48.9 | full GPU |
Not sure which fits? Use the quant picker →
Recommendation by VRAM
"Best" = smallest diff (lowest mean KLD) among files that fit fully on the GPU (file + 8192-token KV cache), with tool-call score as tie-breaker.
8GB GPU
- File size
- 4.07 GB
- (mean)
- 0.0027
- 98.0%
- 79.5%
- Accuracy
- Generation ()
- 39 t/s on Apple M2 Pro 32GB full GPU
How to run this file
From bartowski/Spark-X2.6-4B-GGUF, file Spark-X2.6-4B-Q8_0.gguf.
(downloads it, then starts a chat; type /bye to quit):
ollama run hf.co/bartowski/Spark-X2.6-4B-GGUF:Spark-X2.6-4B-Q8_0.gguf: open the Discover tab, search bartowski/Spark-X2.6-4B-GGUF, pick the Q8_0 download, then load it from the Chat tab.
Fastest that fits: IQ4_XS (bartowski, 62 t/s, KLD 0.1288)
12GB GPU
- File size
- 4.07 GB
- (mean)
- 0.0027
- 98.0%
- 79.5%
- Accuracy
- Generation ()
- 39 t/s on Apple M2 Pro 32GB full GPU
How to run this file
From bartowski/Spark-X2.6-4B-GGUF, file Spark-X2.6-4B-Q8_0.gguf.
(downloads it, then starts a chat; type /bye to quit):
ollama run hf.co/bartowski/Spark-X2.6-4B-GGUF:Spark-X2.6-4B-Q8_0.gguf: open the Discover tab, search bartowski/Spark-X2.6-4B-GGUF, pick the Q8_0 download, then load it from the Chat tab.
Fastest that fits: IQ4_XS (bartowski, 62 t/s, KLD 0.1288)
16GB GPU
- File size
- 4.07 GB
- (mean)
- 0.0027
- 98.0%
- 79.5%
- Accuracy
- Generation ()
- 39 t/s on Apple M2 Pro 32GB full GPU
How to run this file
From bartowski/Spark-X2.6-4B-GGUF, file Spark-X2.6-4B-Q8_0.gguf.
(downloads it, then starts a chat; type /bye to quit):
ollama run hf.co/bartowski/Spark-X2.6-4B-GGUF:Spark-X2.6-4B-Q8_0.gguf: open the Discover tab, search bartowski/Spark-X2.6-4B-GGUF, pick the Q8_0 download, then load it from the Chat tab.
Fastest that fits: IQ4_XS (bartowski, 62 t/s, KLD 0.1288)
All Spark-X2.6 4B quants
| Quant | Publisher | Size | Fits | mean | Gen | Run | ||
|---|---|---|---|---|---|---|---|---|
| Q8_0 | bartowski imatrix | 4.07 GB | 8GB+ | 0.0027 | 98.0% | 79.5% | 39 Apple M2 Pro 32GB | settings & logs |
| Q6_K | bartowski imatrix | 3.36 GB | 8GB+ | 0.0099 | 95.7% | 79.5% | 44 Apple M2 Pro 32GB | settings & logs |
| Q5_K_M | bartowski imatrix | 2.95 GB | 8GB+ | 0.0306 | 92.6% | 78.0% | 45 Apple M2 Pro 32GB | settings & logs |
| Q4_K_M | XHToken | 3.30 GB | 8GB+ | 0.0820 | 88.3% | 81.5% | 52 Apple M2 Pro 32GB | settings & logs |
| Q4_K_M | bartowski imatrix | 2.44 GB | 8GB+ | 0.0889 | 87.4% | 76.5% | 55 Apple M2 Pro 32GB | settings & logs |
| i1-Q4_K_M | mradermacher imatrix | 2.42 GB | 8GB+ | 0.1168 | 85.9% | 74.0% | 56 Apple M2 Pro 32GB | settings & logs |
| IQ4_XS | bartowski imatrix | 2.18 GB | 8GB+ | 0.1288 | 84.6% | 76.0% | 62 Apple M2 Pro 32GB | settings & logs |
| Q3_K_M | bartowski imatrix | 1.86 GB | 8GB+ | 0.3751 | 74.6% | 64.0% | 49 Apple M2 Pro 32GB | settings & logs |
| IQ3_XXS | bartowski imatrix | 1.68 GB | 8GB+ | 0.5090 | 70.7% | 56.5% | 55 Apple M2 Pro 32GB | settings & logs |
| IQ2_M | bartowski imatrix | 1.46 GB | 8GB+ | 1.0014 | 58.9% | 42.5% | 49 Apple M2 Pro 32GB | settings & logs |
Accuracy cells: % correct, with the 95% confidence interval (Wilson) underneath. ≈ = statistically tied with the best quant of the same model (intervals overlap). ▼ below = clearly worse than that model's best quant (intervals do not overlap). Ties are not ranked: sorting by an accuracy column puts tied quants together and orders them by KLD. How accuracy is measured.
GB = GiB (1024³ bytes). Measured on: KLD: minipro (Apple M2 Pro 32GB); tool calls: minipro (Apple M2 Pro 32GB); speed: minipro (Apple M2 Pro 32GB); accuracy: minipro (Metal, Apple M2 Pro (Mac mini), 32 GB unified memory). On a different GPU, expect generation speed to scale roughly with memory bandwidth. Task accuracy (GSM8K / MMLU / ARC-C, % correct on fixed subsets of 150 / 200 / 150 items, frozen suite quantdiff-lmeval-v1) was measured with the same GGUF files and llama.cpp build on Ghost (CUDA, NVIDIA GeForce RTX 5070 12 GB (64 GB RAM)), minipro (Metal, Apple M2 Pro (Mac mini), 12-core CPU, 19-core GPU, 32 GB unified memory), minipro (Metal, Apple M2 Pro (Mac mini), 32 GB unified memory). Accuracy depends on the weights, not on the GPU, but small numeric differences between backends can flip individual answers. With these sample sizes, differences under about 5 points are within noise (± shown on run pages). Methodology.
GPU too small? Rent one.
Run a 32B model at Q6/Q8, or a 70B, on a cloud GPU for an hour or two instead of buying hardware.
Cloud GPU pods with 24-80GB cards (RTX 4090 / 5090 / A100 / H100) for big quants or BF16 reference runs.
Rent on RunPodGPU marketplace for renting a 24-48GB card for an evening of testing.
Rent on Vast.aiReferral links: QuantDiff may earn credit if you sign up. Referral partners have no say in scores or rankings.