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 "aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit"
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 "aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit" \
  --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

Qwen3-4B-Instruct-2507 — MLX int5

First-party MLX export of Qwen/Qwen3-4B-Instruct-2507, quantized to int5 (group size 64) for on-device chat on Apple Silicon. Built by our own pipeline (speech-models/export_mlx.py, via mlx_lm.convert).

Runs in the runner voice companion through a hand-written MLX dense runtime (soniqo/speech-swift → Qwen3Chat/Qwen3DenseModel), not a generic loader — the forward pass is numerically parity-verified against mlx_lm (identical next-token logits).

Params 4B (dense) · 36 layers · 32 q / 8 kv heads · head_dim 128
Quantization int5, group size 64 (~5.5 bits/weight, 2.78 GB)
Context 262144

Attribution & license

  • Weights: derivative of Qwen/Qwen3-4B-Instruct-2507, Alibaba/Qwen — Apache-2.0.
  • Conversion: mlx_lm.convert (Apple MLX) — MIT.
Downloads last month
22
Safetensors
Model size
4B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

5-bit

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

Model tree for aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit

Quantized
(334)
this model

Collection including aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit