Spark-X2.6-4B-OptiQ-4bit
XHToken/Spark-X2.6-4B, quantized by OptiQ for Apple Silicon.
On disk3.0 GB
Memoryabout 5 GB
Parent score64.69 Spark-X2.5-4B-OptiQ-4bit
This model reuses the per-layer bit allocation of Spark-X2.5-4B-OptiQ-4bit, whose measured Capability Score is 64.69.
The parent's Capability Score breakdown
This model has no Capability Score of its own. The chart shows the six metrics behind its parent Spark-X2.5-4B-OptiQ-4bit's score of 64.69, taken from the parent's model card and compared with uniform 4-bit.
- Spark-X2.5-4B-OptiQ-4bit
- Uniform 4-bit
Use it
Install
pip install mlx-optiqServe it
An OpenAI- and Anthropic-compatible server on this Mac. Every app below can use it.
optiq serve --model mlx-community/Spark-X2.6-4B-OptiQ-4bitOptiQ Code
The terminal coding agent uses whatever model optiq serve is running.
optiq serve --model mlx-community/Spark-X2.6-4B-OptiQ-4bit
optiq codeOptiQ Lab
optiq lab --model mlx-community/Spark-X2.6-4B-OptiQ-4bitClaude Code
optiq run claude -m mlx-community/Spark-X2.6-4B-OptiQ-4bitCodex
optiq run codex -m mlx-community/Spark-X2.6-4B-OptiQ-4bitOpenCode
optiq run opencode -m mlx-community/Spark-X2.6-4B-OptiQ-4bitMistral Vibe
optiq run vibe -m mlx-community/Spark-X2.6-4B-OptiQ-4bitHermes Agent
optiq run hermes -m mlx-community/Spark-X2.6-4B-OptiQ-4bitOpenClaw
optiq run openclaw -m mlx-community/Spark-X2.6-4B-OptiQ-4bitoptiq run starts optiq serve if it is not running, sets the agent up for this session only, and stops the server when the agent exits.
mlx-lm, text only
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Spark-X2.6-4B-OptiQ-4bit")
print(generate(model, tokenizer, prompt="Hello", max_tokens=256))Details
| Family | Spark-X2.5 · Spark-X2.5 docs |
|---|---|
| Architecture | Spark-X2.5 |
| Base model | XHToken/Spark-X2.6-4B |
| Size on disk | 3.0 GB |
| Memory needed | about 5 GB |
| Images | no, text only |
| Family reference | This model reuses the per-layer bit allocation of Spark-X2.5-4B-OptiQ-4bit, whose measured Capability Score is 64.69. |
| Downloads | 0 in the last month |
| Updated | 2026-10-24 |
| Hugging Face | mlx-community/Spark-X2.6-4B-OptiQ-4bit |