Spark-X2.5-4B-OptiQ-4bit
XHToken/Spark-X2.5-4B, quantized by OptiQ for Apple Silicon.
On disk3.0 GB
Memoryabout 5 GB
Capability Score64.69
Capability Score breakdown
The six metrics behind this model's Capability Score of 64.69, as reported in the model card. Values are compared with uniform 4-bit.
- This model
- 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.5-4B-OptiQ-4bitOptiQ Code
The terminal coding agent uses whatever model optiq serve is running.
optiq serve --model mlx-community/Spark-X2.5-4B-OptiQ-4bit
optiq codeOptiQ Lab
optiq lab --model mlx-community/Spark-X2.5-4B-OptiQ-4bitClaude Code
optiq run claude -m mlx-community/Spark-X2.5-4B-OptiQ-4bitCodex
optiq run codex -m mlx-community/Spark-X2.5-4B-OptiQ-4bitOpenCode
optiq run opencode -m mlx-community/Spark-X2.5-4B-OptiQ-4bitMistral Vibe
optiq run vibe -m mlx-community/Spark-X2.5-4B-OptiQ-4bitHermes Agent
optiq run hermes -m mlx-community/Spark-X2.5-4B-OptiQ-4bitOpenClaw
optiq run openclaw -m mlx-community/Spark-X2.5-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.5-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.5-4B |
| Size on disk | 3.0 GB |
| Memory needed | about 5 GB |
| Images | no, text only |
| Capability Score | 64.69 (from the model card) |
| Downloads | 1,425 in the last month |
| Updated | 2026-09-13 |
| Hugging Face | mlx-community/Spark-X2.5-4B-OptiQ-4bit |