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 "Outlier-Ai/Outlier-Code-27B-MLX-4bit"
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 "Outlier-Ai/Outlier-Code-27B-MLX-4bit" \
  --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

Research checkpoint. Not shipped in the Outlier app. Numbers below are from internal experiments, not our release tests. Shipped models: Nano 4B ยท Lite 9B ยท Quick 26B ยท Core 27B.

Part of the Outlier shipping lineup. Outlier is a free macOS app that runs this model locally, with one click. Apple Silicon only. Outlier for Mac: free Nano and Lite; Pro is $49 once, on up to 3 Macs ยท brew install --cask outlier-host/tap/outlier

Outlier Code 27B (MLX 4-bit)

Code-tuned configuration of the Core 27B weights โ€” same safetensors, different chat template, lower temperature, and code-specialized system prompt. Use this if your primary workflow is code generation or repo-aware editing.

Try it in Outlier

The simplest way to use this model is through the Outlier app โ€” open the tier picker, select Outlier Code, click download, and chat. No setup, no Python, no MLX install, no token quotas.

โžก Download Outlier โ€” outlier.host

A screenshot of the tier picker is at outlier.host/screenshots/tier-picker.png.

Load this directly (power users)

If you want the raw MLX-4bit weights without the app:

pip install mlx-lm
python -m mlx_lm.generate \
  --model Outlier-Ai/Outlier-Code-27B-MLX-4bit \
  --prompt "Write a quicksort in Python." \
  --max-tokens 512
from mlx_lm import load, generate
model, tokenizer = load("Outlier-Ai/Outlier-Code-27B-MLX-4bit")
print(generate(model, tokenizer, prompt="Hello", max_tokens=256))

Verified benchmarks

For ฯƒ-qualified MMLU, HumanEval, and Mac inference-speed numbers โ€” with full provenance (source file, command, n, stderr, date) โ€” see outlier.host/benchmarks.

Other Outlier shipping tiers

License

Apache 2.0 (inherits from upstream base model). Conversion artifact only โ€” the underlying weights are governed by the base model's license.

Downloads last month
69
Safetensors
Model size
27B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for Outlier-Ai/Outlier-Code-27B-MLX-4bit

Base model

Qwen/Qwen3.6-27B
Quantized
(760)
this model

Evaluation results