How to use from
OpenClaw
Start the MLX server
# Install MLX LM:
uv tool install mlx-lm
# Start a local OpenAI-compatible server:
mlx_lm.server --model "abenzerps/Spark-X2.5-4B-MLX-8bit"
Configure OpenClaw
# Install OpenClaw:
npm install -g openclaw@latest
# Register the local server and set it as the default model:
openclaw onboard --non-interactive --mode local \
  --auth-choice custom-api-key \
  --custom-base-url http://127.0.0.1:8080/v1 \
  --custom-model-id "abenzerps/Spark-X2.5-4B-MLX-8bit" \
  --custom-provider-id mlx-lm \
  --custom-compatibility openai \
  --custom-text-input \
  --accept-risk \
  --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Quick Links

Compatibility: This model uses the spark2_5 architecture. It is currently supported with Spark-MLX-LLM, but not yet with oMLX or standard MLX-LM.

Spark-X2.5-4B MLX 8-bit

MLX 8-bit quantization of XHToken/Spark-X2.5-4B, a 4B general-purpose language model for reasoning, coding, tool use, and agentic workflows. Native context: 1,048,576 tokens (1M).

Benchmarks

Upstream Spark-X2.5-4B benchmark comparison

Benchmark results reported by XHToken for Spark-X2.5-4B in thinking mode.

Files

Format Weights Size
MLX 8-bit model.safetensors 4.37 GB

Includes the upstream chat_template.jinja. Checksums: SHA256SUMS.txt.

Source

Downloads last month
5,340
Safetensors
Model size
4B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for abenzerps/Spark-X2.5-4B-MLX-8bit

Quantized
(37)
this model

Collection including abenzerps/Spark-X2.5-4B-MLX-8bit