Instructions to use Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP 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("Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP") 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 Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP with Pi:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP"
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": "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP" } ] } } }Run Pi
# Start Pi in your project directory: pi
- MLX LM
How to use Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP", "messages": [ {"role": "user", "content": "Hello"} ] }' - Hermes Agent
How to use Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP 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 "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP"
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 Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP with OpenClaw:
Start the MLX server
# Install MLX LM: uv tool install mlx-lm # Start a local OpenAI-compatible server: mlx_lm.server --model "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP"
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 "Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP" \ --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"
MiMo-V2.6-Flash-RL MLX 4-bit MTP
A tested Apple Silicon conversion of XiaomiMiMo/MiMo-V2.6-Flash-RL, published by Vontra.
What is in this release
This is the text backbone of MiMo-V2.6-Flash-RL converted for MLX. The dense projections use 4-bit affine quantization with group size 64, while the model's native MXFP4 MoE experts remain in their original group-size-32 format. The resulting main model averages 4.257 bits per weight.
The checkpoint includes its native three-layer MTP payload in mtp/model_mtp.safetensors, converted to 4-bit affine weights. It also carries the upstream five-layer DFlash drafter, vision encoder, audio encoder, and audio tokenizer so those assets do not need a second download.
| Native component | Path | Format |
|---|---|---|
| MTP predictor | mtp/model_mtp.safetensors |
MLX 4-bit affine |
| DFlash drafter | dflash/model.safetensors |
Upstream BF16 |
| Vision encoder | omnimodal/vision_encoder.safetensors |
Upstream BF16 |
| Audio encoder | omnimodal/audio_encoder.safetensors |
Upstream BF16 |
| Audio tokenizer | audio_tokenizer/model.safetensors |
Upstream weights |
Current oMLX and MLX text generation run the target model correctly but do not automatically execute MiMo's MTP, DFlash, vision, or audio paths. The speed figures below are serial text decode measurements. The auxiliary tensors and configs are packaged for MiMo-aware runtimes and ongoing MLX integration, not advertised as working oMLX controls.
Measured on Apple Silicon
Tested on a 256 GB M3 Ultra Mac Studio with oMLX 0.7.0.dev2, MLX 0.32.2, and mlx-lm 0.31.3.
| Test | Result |
|---|---|
| Sustained generation, 128-token decode | 59.4 tok/s average |
| Prompt processing, 512 tokens | 477.1 tok/s |
| Prompt processing, 2,048 tokens | 562.8 tok/s |
| Peak unified memory, short context | 164.3 GB |
| Peak unified memory, 2,048-token prompt | 166.8 GB |
| Quantized text model size on disk | about 154 GiB |
| Complete repository size | about 160 GiB |
The model produced correct arithmetic, a clear factual explanation, and coherent Python in repeated smoke tests. A 256 GB Mac is recommended so there is room for the model, KV cache, and the rest of the system.
Run with mlx-lm
pip install -U "mlx-lm>=0.31.3"
python -m mlx_lm generate \
--model Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP \
--prompt "Write a Python function that checks whether an integer is prime." \
--max-tokens 256 \
--temp 0.6
The upstream tokenizer chat template is included. In oMLX, download or select Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP as an MLX model.
Quantization notes
MiMo-V2.6 stores fused attention tensors in checkpoint tensor-parallel order and pads the FP8 scale grid separately for each shard. This conversion reconstructs those shards before quantization. Skipping that step produces a model that loads but returns broken output.
The quantized MTP payload lives in its own mtp/ directory with a manifest describing its tensors. It is not a standalone drafter for mlx_lm.generate --draft-model today. The upstream DFlash payload retains its trained mask embedding and corrected JSON config; an MLX smoke test matched serial greedy output, but it did not beat serial decode in the current experimental runtime.
The vision and audio tensors are kept outside the root text-model index so mlx_lm and oMLX continue to load the tested text checkpoint unchanged. omnimodal/manifest.json records every auxiliary path and its upstream source.
About MiMo-V2.6-Flash-RL
Xiaomi describes MiMo-V2.6-Flash-RL as a sparse 309B-parameter MoE with 15B active parameters, 48 transformer layers, 256 routed experts, and eight active experts per token. The full upstream release supports a one-million-token context and omnimodal inputs. See the original model card for architecture details, evaluations, deployment recipes, intended use, and limitations.
License and credit
The upstream model is released under the MIT license. All model architecture, training, tokenizer work, and original branding belong to the Xiaomi MiMo team. This repository contains a community MLX conversion and measured Apple Silicon results.
@misc{mimo2026v26flash,
title={MiMo-V2.6-Flash-RL},
author={{Xiaomi MiMo Team}},
year={2026},
howpublished={\url{https://huggingface.co/XiaomiMiMo/MiMo-V2.6-Flash-RL}},
}
Follow Vontra for new Apple Silicon releases and fixes.
- Downloads last month
- 1,932
4-bit
Model tree for Vontra/MiMo-V2.6-Flash-RL-MLX-4bit-MTP
Base model
XiaomiMiMo/MiMo-V2.6-Flash-RL