razorbill (rzb) runs language and embedding models on your Mac's GPU with MLX, and serves them through an OpenAI-compatible API. Any OpenAI client, framework or chat UI can use your local models: just change its base URL. No cloud, your prompts stay on your Mac.
What you get: chat completions (streamed, with the reasoning of thinking models kept apart), structured output constrained to a JSON schema, function calling, embeddings, model management straight from Hugging Face, and a terminal UI (rzb tui).
Requirements: an Apple Silicon Mac (M1 or later) with macOS 14 or later.
Install
curl -fsSL https://rickub.com/bots-garden/razorbill/raw/main/install-rzb.sh | bash
rzb version
The script installs the latest release after checking its checksum and its signature (Developer ID, notarized by Apple). Run it again to upgrade. By hand: INSTALL.MACOS.md.
Try it
rzb models pull mlx-community/Qwen3-0.6B-4bit
rzb serve
Then, from any OpenAI client:
uv run --with openai python - <<'EOF'
from openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:7920/v1", api_key="unused")
answer = client.chat.completions.create(
model="mlx-community/Qwen3-0.6B-4bit",
messages=[{"role": "user", "content": "Explain Swift actors in 3 lines."}],
)
print(answer.choices[0].message.content)
EOF
Or chat from the terminal with rzb tui.
Links
- Repository: rickub.com/bots-garden/razorbill
- Releases: rickub.com/bots-garden/razorbill/releases
- Download 1.0.0: razorbill-1.0.0-macos-arm64.tar.gz (SHA256SUMS)
- Documentation: docs/en (tutorials, how-to guides, reference, explanations)
- Getting started: docs/en/tutorials/getting-started.md
Written by

No comments yet. Be the first to comment!