MiMo-V2-Flash
By XiaomiMiMo. 309.8 billion parameters, a context window of 262,144 tokens and the licence mit.
Facts
- Released
- 2025-12-16 the day the repository was first published on Hugging Face Hugging Face, read
- Licence
- mit the licence the model card declares Hugging Face, read
- Open weights
- Yes the weights are published in this Hugging Face repository Hugging Face, read
- Parameters
- 309.8 billion counted from the safetensors weight files Hugging Face, read
- Active parameters
- 10.2 billion estimate estimated from the expert counts and sizes in the configuration model configuration, read
- Knowledge cutoff
- Unknown
- Context window
- 262,144 tokens the maximum position embeddings in the model configuration model configuration, read
- Longest output
- Unknown
- Tool calling
- Yes the chat template in the tokenizer configuration accepts tool definitions Hugging Face, read
- Structured output
- Unknown
- Reasoning controls
- Unknown
- Inputs and outputs
- text in, text out Hugging Face, read
- Good for
- No source names a use.
Prices
| Provider | Input | Output | Context | As of | Source |
|---|---|---|---|---|---|
| Jiekou.AI direct | 0 USD | 0 USD | 262,144 | models.dev, read | |
| Hugging Face direct | 0.100 USD | 0.300 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| Meganova direct | 0.100 USD | 0.300 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
| NovitaAI direct | 0.100 USD | 0.300 USD | 262,144 | older than 30 days; check the provider | models.dev, read |
Run it on your own hardware
Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.
| Quantization | Weights | Memory at 8,192 tokens | Memory at 32,768 tokens |
|---|---|---|---|
| UD-TQ1_0 | 72.4 GiB | 77.6 GiB | 81.0 GiB |
| UD-IQ1_S | 81.2 GiB | 86.9 GiB | 90.3 GiB |
| UD-IQ1_M | 87.4 GiB | 93.4 GiB | 96.7 GiB |
| UD-IQ2_XXS | 94.6 GiB | 101 GiB | 104 GiB |
| UD-IQ2_M | 99.3 GiB | 106 GiB | 109 GiB |
| Q2_K | 105 GiB | 111 GiB | 115 GiB |
| Q2_K_L | 105 GiB | 112 GiB | 115 GiB |
| UD-Q2_K_XL | 108 GiB | 115 GiB | 119 GiB |
| UD-IQ3_XXS | 119 GiB | 126 GiB | 130 GiB |
| Q3_K_S | 124 GiB | 132 GiB | 135 GiB |
| UD-Q3_K_XL | 128 GiB | 136 GiB | 139 GiB |
| Q3_K_M | 137 GiB | 146 GiB | 149 GiB |
| IQ4_XS | 153 GiB | 162 GiB | 166 GiB |
| IQ4_NL | 162 GiB | 172 GiB | 175 GiB |
| Q4_0 | 163 GiB | 172 GiB | 176 GiB |
| Q4_K_S | 163 GiB | 173 GiB | 177 GiB |
| UD-Q4_K_XL | 165 GiB | 175 GiB | 179 GiB |
| Q4_K_M | 174 GiB | 184 GiB | 188 GiB |
| Q4_1 | 180 GiB | 191 GiB | 194 GiB |
| Q5_K_S | 198 GiB | 209 GiB | 213 GiB |
| Q5_K_M | 204 GiB | 216 GiB | 219 GiB |
| UD-Q5_K_XL | 205 GiB | 217 GiB | 220 GiB |
| Q6_K | 236 GiB | 249 GiB | 253 GiB |
| UD-Q6_K_XL | 245 GiB | 259 GiB | 263 GiB |
| Q8_0 | 306 GiB | 323 GiB | 326 GiB |
| UD-Q8_K_XL | 330 GiB | 348 GiB | 351 GiB |
| BF16 | 575 GiB | 606 GiB | 609 GiB |
Start it with a local runtime
- Ollama
ollama run hf.co/unsloth/MiMo-V2-Flash-GGUF:Q4_0 - LM Studio
lms get unsloth/MiMo-V2-Flash-GGUF lms server start - llama.cpp server
llama-server -hf unsloth/MiMo-V2-Flash-GGUF:Q4_0 --jinja - vLLM
vllm serve XiaomiMiMo/MiMo-V2-Flash - SGLang
sglang serve --model-path XiaomiMiMo/MiMo-V2-Flash --port 30000
Use it from your harness
Set up for Hugging Face with the model XiaomiMiMo/MiMo-V2-Flash. Each endpoint page has the same setup for its own address.
OpenCode
Put this in opencode.json in your project folder:
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"huggingface": {
"npm": "@ai-sdk/openai-compatible",
"name": "Hugging Face",
"options": {
"baseURL": "https://router.huggingface.co/v1",
"apiKey": "{env:HF_TOKEN}"
},
"models": {
"XiaomiMiMo/MiMo-V2-Flash": {
"name": "MiMo-V2-Flash"
}
}
}
}
}- OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.
From OpenCode documentation, read .
Pi
Put this in ~/.pi/agent/models.json:
{
"providers": {
"huggingface": {
"baseUrl": "https://router.huggingface.co/v1",
"api": "openai-completions",
"apiKey": "$HF_TOKEN",
"models": [
{
"id": "XiaomiMiMo/MiMo-V2-Flash"
}
]
}
}
}- The apiKey field can name an environment variable as $NAME.
From Pi documentation, read .
Codex
Codex speaks only the Responses API, and Hugging Face documents no Responses address. A gateway that offers one can sit in between.
- Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.
From Codex documentation, read .
Claude Code
Claude Code sends Anthropic Messages requests, and Hugging Face documents no such address. A gateway that translates to that API can sit in between.
- Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.
From Claude Code documentation, read .
Other ways to reach it
Published results
These are results other people published. Baltor did not run them and does not rank models by them.
- Results the maker published on the model card published by XiaomiMiMo Hugging Face, read
Sources of this page
Paid links
No link in this directory is a paid link or an ad, and no listing is paid for. The order and the contents of every list come from the sources named on this page.