Instructions to use OsaurusAI/MiniMax-M3-Coder-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use OsaurusAI/MiniMax-M3-Coder-Small with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("OsaurusAI/MiniMax-M3-Coder-Small") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Pi
How to use OsaurusAI/MiniMax-M3-Coder-Small with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/MiniMax-M3-Coder-Small"
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "mlx-lm": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "OsaurusAI/MiniMax-M3-Coder-Small" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use OsaurusAI/MiniMax-M3-Coder-Small with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "OsaurusAI/MiniMax-M3-Coder-Small"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "OsaurusAI/MiniMax-M3-Coder-Small" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "OsaurusAI/MiniMax-M3-Coder-Small", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use OsaurusAI/MiniMax-M3-Coder-Small with Hermes Agent:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/MiniMax-M3-Coder-Small"
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default OsaurusAI/MiniMax-M3-Coder-Small
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use OsaurusAI/MiniMax-M3-Coder-Small with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "OsaurusAI/MiniMax-M3-Coder-Small"
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 "OsaurusAI/MiniMax-M3-Coder-Small" \ --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"
license: other
base_model: MiniMaxAI/MiniMax-M3
tags:
- mlx
- vmlx
- jang
- reap
- awq
- moe
- code
- multimodal
- minimax-m3
- osaurus
- apple-silicon
pipeline_tag: text-generation

MiniMax-M3-Coder-Small
🦖 Osaurus Exclusive — a compact JANG-quantized MiniMax-M3 coder (coding · agentic · multimodal) for Apple Silicon.
⚠️ Requires vMLX engine v1.5.67+. This is a JANG-format model (JANG affine + AWQ quant, REAP expert pruning, MiniMax-M3 MSA/Lightning-Indexer runtime). It will NOT load with
transformers,vLLM, or generic MLX loaders — it runs on the vMLX engine (ships in Osaurus).
What is a JANG model?
JANG is vMLX's quantization + packing format: mixed-precision affine quant with per-projection bit widths + AWQ activation-aware scaling + REAP expert pruning, via a jang_config.json. Weights stay quantized in GPU memory and load through vMLX's JANG loader. The format + the M3 runtime are vMLX-specific, so it runs only on vMLX 1.5.67 or newer.
Highlights
- Smallest M3 coder — ~84 GB (the compact Osaurus build).
- REAP45: keep 70/128 routed experts (45% pruned).
- All-2-bit routed experts + AWQ (gate/up 2-bit AWQ-scaled, down 2-bit); attention 8-bit, shared experts 6-bit, embeddings 6-bit, lm_head 8-bit, Lightning Indexer FP16.
- Multimodal (vision) kept.
- Calibration: Vera (agentic-coder) + GSM8K; "floor" recipe keeps the most-salient coding experts.
Run it
- In Osaurus / vMLX 1.5.67+: pick this model, Start, then chat.
- CLI:
vmlx-engine serve OsaurusAI/MiniMax-M3-Coder-Small --reasoning-parser minimax_m3 --tool-call-parser minimax_m3
Attribution
- Base model: MiniMaxAI/MiniMax-M3 · Pruning: REAP (Cerebras, arXiv:2510.13999)
- Vera calibration + testing: @hornsman1 (hornsan1 on GitHub) · math calibration: GSM8K
- Quantization & runtime: JANG / vMLX · Distributed via Osaurus