Instructions to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
- Llama new
- LM Studio
- Jan
- vLLM
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
- Ollama
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with Ollama:
ollama run hf.co/moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
- Unsloth Desktop
- Pi
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:9931/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with Docker Model Runner:
docker model run hf.co/moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
- Lemonade
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MiMo-V2.6-Distill-Qwen-9B-GGUF-Q4_K_M
List all available models
lemonade list
- Hermes Agent
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
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:9931/v1 hermes config set model.default moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M
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:9931/v1 \ --custom-model-id "moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q4_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
MiMo-V2.6 9B GGUF
GGUF builds of MiMo-V2.6 9B, made by Moonbox for on-device use with llama.cpp
(Metal, CUDA, Vulkan, CPU). Every file is at the root of this repository: one model file per precision, plus the
mmproj-*.gguf file that holds the model's encoder (audio, vision or codec) when it has one. That file is shared by
every precision. Pick a precision by the memory you have.
Files
The last column is the benchmark: the task score of each file on Moonbox's evaluation set for this kind of model (details under How to run), and how often it gives exactly the same output as the BF16 file. The BF16 file holds the original weights unchanged.
| Precision | File | Size | sha256 | Benchmark |
|---|---|---|---|---|
| F16 | mimo-v2-6-9b-F16.gguf |
17.92 GB | ac87f6b11789 |
weights equal to BF16's; chat KL 0.00001, same top token 99.9 % |
| all | mmproj-mimo-v2-6-9b-F16.gguf |
918.2 MB | be704e8099dd |
encoder file, used with every precision |
| BF16 | mimo-v2-6-9b-BF16.gguf |
17.92 GB | 4a2a6e6e5a3c |
the original weights; the reference for the token test |
| Q8_0 | mimo-v2-6-9b-Q8_0.gguf |
9.53 GB | 1137106dbbed |
weights 0.55 % from BF16; chat KL 0.0009, same top token 98.1 % |
| Q6_K | mimo-v2-6-9b-Q6_K.gguf |
7.36 GB | 3e96d28ec2f2 |
weights 1.83 % from BF16; chat KL 0.0027, same top token 97.8 % (importance matrix) |
| Q5_K_M | mimo-v2-6-9b-Q5_K_M.gguf |
6.49 GB | 72eff1e7f8cd |
weights 3.17 % from BF16; chat KL 0.0057, same top token 97.0 % (importance matrix) |
| Q4_K_M | mimo-v2-6-9b-Q4_K_M.gguf |
5.68 GB | 3372fe21c97c |
experimental: weights 5.85 % from BF16; chat KL 0.0173 (bar 0.01), same top token 94.8 % (importance matrix) |
How to run
The model file holds MiMo-V2.6 Distill's language model (Qwen3.5 9B's architecture: hybrid gated-DeltaNet and full
attention; the checkpoint has no multi-token-prediction layer). mmproj-mimo-v2-6-9b-F16.gguf holds the vision tower
for image and video input. It is the same file for every precision, and only needed for images. With llama.cpp b12621
or newer:
llama-server -m mimo-v2-6-9b-Q5_K_M.gguf --mmproj mmproj-mimo-v2-6-9b-F16.gguf -ngl 99
Then chat through /v1/chat/completions. Thinking is on by default: the model opens <think> itself (it may skip it
for a trivial question), and llama-server returns the thought as reasoning_content.
The converter rewrites some of the linear-attention tensors by formula (llama.cpp's conversion/qwen.py):
A_logis stored as-exp(A_log);- the conv kernels are squeezed;
- the value heads are reordered.
Every other tensor is byte-identical to the original.
Benchmark.
Prompts: 12 short prompts of our own, 8 English and 4 Chinese, in the model's chat template.
Reference: the BF16 file answers each one greedily, up to 64 tokens (689 in all).
Run: every other file is teacher-forced on exactly those tokens through
llama-serveron CUDA (RTX 3080 Laptop).Scores, per token:
- the KL divergence from BF16's next-token distribution (over its top 64);
- how often the most likely token is the same.
The lab's pass mark is KL <= 0.01 nats and the same top token >= 90 % of the time. Every file passes except Q4_K_M (KL 0.017), which is marked experimental; Q5_K_M is the smallest file within the mark.
Q6_K, Q5_K_M and Q4_K_M were quantized with an importance matrix. The calibration text is WikiText-2 train, not the test prompts.
How these were made
From MiMo-V2.6 9B at revision 1f09ddcc1a, with llama.cpp b12621:
convert_hf_to_gguf.pywrote the BF16 model file and themmprojfile.llama-quantizemade the other precisions from the BF16 file, with its standard mixes.- Q6_K, Q5_K_M and Q4_K_M were quantized with an importance matrix (
llama-imatrixon 200 x 512 tokens of WikiText-2 train, computed with the Q8_0 file); F16 and Q8_0 don't use one.
Before upload, the original checkpoint was compared tensor by tensor with the BF16 model file and the mmproj file: 567 of 760 tensors have the same values; the other 193 are the linear-attention and patch-projection tensors the converter rewrites by formula (see How to run), covered by the token test. The sha256 column above is what the files must hash to.
License
mit. These files are a derivative of the original model and carry its license. The license is copied in this repository, and it governs your use of these files. The original model card follows unchanged.
MiMo-V2.6-Distill-Qwen-9B
MiMo-V2.6-Distill-Qwen-9B is a 9B agentic model developed by Xiaomi MiMo through supervised fine-tuning of Qwen3.5-9B on MiMo-generated data. It covers coding, general-purpose agent tasks, visual coding, and cybersecurity. We release this SFT checkpoint as a starting point for open research in agentic reinforcement learning.
Evaluation
Results for the released SFT checkpoint, as reported in the MiMo-V2.6 technical report.
| Domain | Benchmark | Metric | Qwen3.5-9B | MiMo-V2.6-Distill-Qwen-9B (SFT) |
|---|---|---|---|---|
| Code | SWE Verified | avg@3 | 60.0 | 61.1 |
| Code | SWE Pro | avg@3 | 32.0 | 44.6 |
| Code | MiMo Code (mini)โ | avg@3 | 19.5 | 51.6 |
| Cyber | MiMo Cyber (mini)โ | avg@3 | 5.7 | 31.3 |
| General | AutomationBench v1.0.6 | avg@1 | 5.0 | 30.3 |
| General | Terminal Bench 2.1 | avg@1 | 27.0 | 37.1 |
| General | Toolathlon-Verified | avg@1 | 25.9 | 35.2 |
| General | OfficeQA | avg@1 | 9.0 | 19.5 |
| General | JobBench | avg@1 | 2.6 | 18.3 |
| General | MiMo General (mini)โ | avg@1 | 28.5 | 62.2 |
| Visual | MiMo Visual Coding (mini)โ | avg@1 | 61.7 | 64.0 |
โ Internal evaluation sets.
Training Data
The weighted SFT data mixture contains 77.4B total tokens, including 27.2B loss-bearing tokens.
| Domain | Total tokens (B) | Token share (%) | Loss-bearing tokens (B) |
|---|---|---|---|
| Code | 23.2 | 29.9 | 7.3 |
| Cyber | 11.0 | 14.2 | 4.8 |
| General | 22.0 | 28.5 | 5.7 |
| Visual | 21.2 | 27.4 | 9.4 |
| Total | 77.4 | 100.0 | 27.2 |
Quickstart
For text generation, use a recent SGLang build with Qwen3.5 support. The checkpoint includes its tokenizer and MiMo v2.6 chat template.
sglang serve \
--model-path XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B \
--reasoning-parser mimo \
--host 0.0.0.0 \
--port 30000
Query the endpoint with thinking explicitly enabled:
from openai import OpenAI
client = OpenAI(
base_url="http://localhost:30000/v1",
api_key="EMPTY",
)
response = client.chat.completions.create(
model="XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B",
messages=[
{"role": "user", "content": "What is 15% of 240?"}
],
max_tokens=2048,
extra_body={"chat_template_kwargs": {"enable_thinking": True}},
)
message = response.choices[0].message
print("Thinking:", getattr(message, "reasoning_content", "") or "")
print("Answer:", message.content or "")
Citation
@misc{mimo2026v26,
title={MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement},
author={{Xiaomi MiMo Team}},
year={2026},
howpublished={\url{https://huggingface.co/XiaomiMiMo/MiMo-V2.6-Pro-RL}},
}
Use Restrictions
You are solely responsible for your use of XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B and any outputs, actions, or consequences arising therefrom, and you agree not to use the XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B or any derivatives thereof:
- For any unlawful, fraudulent, or malicious purpose, or in any manner that violates any applicable laws or regulations๏ผ
- To infringe upon the intellectual property rights, privacy rights, publicity rights, or other lawful rights or interests of any third party;
- To exploit, harm, harass, defame, unlawfully discriminate against, or otherwise adversely affect any individual or group, including minors or vulnerable persons;
- For any military purpose or application;
- To engage in or facilitate malicious cyber activities, including but not limited to malware, ransomware, phishing, credential theft, or unauthorized access, or any activity intended to compromise or unlawfully control computer systems, networks, or encryption systems;
- To access, collect, process, disclose, or disseminate personal data or other protected information without appropriate authorization or lawful basis; or to access, interact with, scrape, or automate any third-party platform or service in violation of any applicable laws, policies, or authorization requirements;
- To use the XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B in a manner that autonomously executes high-risk actions without appropriate human oversight or authorization.
This notice is an informational reminder only and does not amend the applicable model licence or impose additional licence conditions. The permissions granted under that licence remain unaffected. Nothing in this notice restricts uses permitted by applicable law, including applicable exceptions and limitations.
Usage enquiries and complaints
mimo-legal@xiaomi.com. For information on submitting a complaint, please visit the https://mimo.xiaomi.com.
- Downloads last month
- -
4-bit
5-bit
6-bit
8-bit
16-bit
Model tree for moonbox-dev/MiMo-V2.6-Distill-Qwen-9B-GGUF
Base model
Qwen/Qwen3.5-9B-Base