Editorial

MiMo-V2.6-Flash MOPD: Same Fix, 6.8x the Price

MiMo-V2.6-Flash MOPD fixes tool-call loops. On Xiaomi's API it costs $0.087 per agent session; OpenRouter's listing, $0.594.

JJyoti Ranjan SwainUpdated
MiMo-V2.6-Flash MOPD: a 60-turn agent session costs $0.087 on Xiaomi and $0.594 on the OpenRouter MOPD listing

Xiaomi's MiMo-V2.6-Flash had a habit that didn't show up on any benchmark. In agent harnesses it sometimes fired the same tool call again and again, burning time and context while looking busy. The MOPD checkpoint fixes most of that, and OpenRouter added it as a separate model, xiaomi/mimo-v2.6-flash-mopd, on 23 November 2026.

The catch is the price tag on that new listing. Xiaomi says its own API has served the fixed weights under the old name, mimo-v2.6-flash, since 25 September. On OpenRouter the MOPD listing costs $0.50 in and $1.00 out per million tokens. Xiaomi charges $0.14 and $0.28. On a 60-turn coding session that is $0.594 against $0.087 for what Xiaomi describes as the same model.

Below: what the repetition bug was, the session costed line by line, a script to measure repetition in your own agent logs, and what the open weights need if you want to run them yourself.

Table of Contents

What MOPD changed in MiMo-V2.6-Flash

MiMo-V2.6-Flash is a 309B-parameter mixture-of-experts model with 15B active per token, a 1M-token context and text, image, video and audio input. Xiaomi released it with an RL-stage checkpoint. After launch, users of MiMo Desktop, MiMo Code, OpenCode and other harnesses kept hitting the same failure: the model issued identical or near-identical tool calls in a loop.

Xiaomi's write-up (27 September 2026) traces it to the RL run. The training pipeline zeroed the reward only when a turn had more than 32 tool calls. Anything below that went unpunished, so a small habit of calling tools in bulk grew during training. On Xiaomi's replay set, the share of examples with 10 or more calls in one turn went from 11.1% at RL step 0 to 24.6% at step 20.

The obvious fix, dropping the cap from 32 calls to 8 and retraining, worked slowly. It took about 20 training steps to show up, which Xiaomi put at $2.31 million at full scale, and it only cut replay repetition from 13.45% to 3.83%.

What shipped instead is MOPD (multi-teacher on-policy distillation). Xiaomi trained a small single-turn teacher that got reward 0 for any repetition. After 12 steps on about 7,000 examples it hit zero repetition on its replay sets. That behaviour was then distilled into the main model. The full run cost about $90,000, roughly 4% of the retraining estimate.

The example trajectory in the post shows the mechanism. Before the fix the model made 59 tool calls, and at the 12th call it continued with another call at 94.56% probability. The MOPD model ended the turn at that point with 92.17% probability, and had a 99.87% chance of stopping within eight calls.

Repetition rates by harness

Xiaomi measures exact within-turn repetition: in one assistant turn, two calls are duplicates when the tool name matches and the arguments are identical after JSON canonicalization. The rate is (N - U) / N, where N is the number of calls and U the number of unique ones. Xiaomi calls this a lower bound. It misses repeats across turns, near-duplicates with slightly different arguments, and calls hidden inside code-mode harnesses.

These are the rates for the RL checkpoints, before MOPD:

HarnessMiMo-V2.6-Flash-RLMiMo-V2.6-Pro-RL
OpenCode1.02%0.54%
Claude Code0.27%0.10%
Codex0.23%0.07%
MiMo Desktop0.19%0.19%
OpenClaw0.17%0.08%
DeepSeek Harness0.17%0.07%
Hermes0.16%0.05%
MiMo Code0.11%0.07%
Zcode0.07%0.05%

MiMo-V2.6-Flash-RL tool-call repetition by harness: OpenCode 1.02%, Claude Code 0.27%, Codex 0.23%, Hermes 0.16%

OpenCode was the worst by a wide margin, at 1.02% for Flash. If you ran Flash in OpenCode in September and saw it stall, this is the likely reason. Xiaomi doesn't publish after-MOPD numbers as a table, only as heatmaps, and says the rates dropped substantially across harnesses and context lengths while the wider benchmark suite held steady.

One model, two names, two prices

Xiaomi's post is explicit: the updated models have been on its API since 25 September at 06:00 (UTC+8), and "the model names remain unchanged: mimo-v2.6-pro and mimo-v2.6-flash". So if you call Xiaomi directly with mimo-v2.6-flash, you already get the MOPD weights.

OpenRouter now lists both names. On 27 November its endpoints API showed:

OpenRouter modelProviderInput / 1MCached input / 1MOutput / 1MMax output
xiaomi/mimo-v2.6-flashXiaomi (and 7 others)$0.14$0.0028$0.28131,072
xiaomi/mimo-v2.6-flash-mopdFeatherless only$0.50$0.05$1.0032,768

The MOPD listing has one provider, Featherless, serving the FP8 weights from Hugging Face. Its input and output rates are 3.6 times Xiaomi's, and the cached rate is 17.9 times. The output cap is also a quarter of Xiaomi's, which bites on long reasoning turns.

The OpenRouter page for the plain mimo-v2.6-flash name doesn't say which checkpoint each third-party provider runs. The Xiaomi endpoint is covered by Xiaomi's statement. For the other seven, ask the provider or pin provider.order to Xiaomi in your OpenRouter request.

A 60-turn agent session costed

Same workload as our other agent-cost posts: 60 turns, a 120K-token prefix (system prompt, tool schemas, repo context) that stays cached after turn 1, 3K new input tokens and 1.5K output tokens per turn. Turn 1 pays the full 123K as a cache miss. Xiaomi lists cache writes as free for a limited time, so there is no write charge.

That gives 300,000 uncached input tokens, 7,080,000 cache-hit tokens and 90,000 output tokens. Cache hits are 95.9% of all input.

RouteUncached inputCache hitsOutputSession total600 sessions
Xiaomi mimo-v2.6-flash$0.0420$0.0198$0.0252$0.0870$52.21
Xiaomi Batch API$0.0210$0.0099$0.0126$0.0435$26.11
Xiaomi mimo-v2.6-pro$0.1305$0.0255$0.0783$0.2343$140.57
OpenRouter mimo-v2.6-flash-mopd$0.1500$0.3540$0.0900$0.5940$356.40

60-turn agent session: Xiaomi Flash $0.087, Batch $0.0435, Pro $0.234, OpenRouter MOPD listing $0.594

The OpenRouter MOPD route costs 6.83 times the direct one. Most of the gap is the cache line. Xiaomi bills cache hits at $0.0028, so 7.08M cached tokens cost under two cents. At Featherless's $0.05 the same tokens cost $0.354, which is more than the whole Xiaomi session. The MOPD listing also costs more than Xiaomi's Pro model on this workload.

The Batch API halves every Xiaomi line, but batch requests don't suit an interactive agent. Use it for offline evals or bulk refactors. To run your own mix, the API Cost Calculator now lists all three MiMo-V2.6 models at Xiaomi's overseas rates.

Measure repetition in your own agent logs

Xiaomi's metric is easy to reproduce, so you can check whether any model loops in your harness before you commit to it. Export your agent's messages as JSON Lines in the OpenAI chat format (one message per line) and run:

python
import json, sys

def turn_rate(tool_calls):
    keys = []
    for c in tool_calls:
        fn = c["function"]
        args = json.loads(fn["arguments"] or "{}")
        keys.append((fn["name"], json.dumps(args, sort_keys=True, separators=(",", ":"))))
    n, u = len(keys), len(set(keys))
    return n, u

total_n = total_u = flagged = 0
for line in open(sys.argv[1]):
    msg = json.loads(line)
    calls = msg.get("tool_calls") or []
    if msg.get("role") != "assistant" or not calls:
        continue
    n, u = turn_rate(calls)
    total_n += n
    total_u += u
    if n >= 10:
        flagged += 1

print(f"calls {total_n}, unique {total_u}")
print(f"within-turn repetition {(total_n - total_u) / max(total_n, 1):.2%}")
print(f"turns with 10+ calls: {flagged}")

A turn with four calls where two read_file calls share the same path scores 25%. Anything consistently above Xiaomi's 0.05% figure for the RL models deserves a look at the transcripts. The "10+ calls" count is the flooding signal from Xiaomi's replay table. If tool arguments come back malformed, paste one into the JSON formatter to see where it breaks.

Running the open weights

The weights are on Hugging Face under MIT at XiaomiMiMo/MiMo-V2.6-Flash-MOPD, with an FP8 quantization config (quant_method: fp8, store_dtype: mxfp4). The backbone files total 171.74 GB, plus a 1.19 GB MTP file, a 2.94 GB DFlash draft model and a 1.87 GB audio tokenizer. Xiaomi's sample commands use SGLang with --tp 8 --dp 2 and vLLM with --tensor-parallel-size 4, so this is a multi-GPU server model.

The KV cache is the cheap part. Of 48 layers, 39 use a 128-token sliding window and only 9 use global attention. config.json gives the global layers 4 KV heads with a key dimension of 192 and a value dimension of 128:

  • KV per token in FP16: 9 layers x 4 heads x (192 + 128) x 2 bytes = 23,040 bytes (22.5 KiB)
  • 131,072 tokens: 2.81 GiB; 262,144: 5.62 GiB; the full 1,048,576: 22.5 GiB (11.25 GiB in FP8)
  • The 39 sliding-window layers add a fixed 24.38 MiB, whatever the context

MiMo-V2.6-Flash layers: 39 sliding-window layers hold 128 tokens, 9 global layers cache 22.5 KiB per token

So a full 1M-token cache in FP16 is about a seventh of the 159.95 GiB backbone. Weights are the problem on this model, not context. The AI VRAM Calculator has a MiMo-V2.6-Flash preset that models the 9 global layers; its INT4 weight setting (154.5 GB) comes closest to the real 171.74 GB download, because the routed experts ship in MXFP4. Xiaomi recommends temperature 1.0 and top_p 0.95, and both servers need --reasoning-parser mimo --tool-call-parser mimo for tool calls to come back structured.

FAQ

Do I need to change my model ID to get the MOPD fix?

Not on Xiaomi's API. Xiaomi says mimo-v2.6-flash and mimo-v2.6-pro have served the MOPD checkpoints since 25 September 2026. On OpenRouter, routing mimo-v2.6-flash to the Xiaomi provider gets the same weights at the lower rate.

Is there a Pro MOPD checkpoint too?

Yes. XiaomiMiMo/MiMo-V2.6-Pro-MOPD is on Hugging Face, and Xiaomi's API serves it as mimo-v2.6-pro at $0.435 in, $0.0036 cached and $0.87 out per million tokens overseas.

What does the ultraspeed model cost?

mimo-v2.6-pro-ultraspeed is $4.35 in, $0.036 cached and $8.70 out per million tokens, ten times Pro, and it has no Batch API. Xiaomi says it runs Pro at up to 20x the output speed.

Sources

  • Xiaomi MiMo, "Diagnosing and Mitigating Tool-Call Repetition in MiMo-V2.6" (mimo.xiaomi.com/blog/mimo-v2-6-tool-call-repetition, 27 September 2026): repetition metric, harness table, flooding replay rates, $2.31 million and $90,000 costs, 59-call example, API rollout date and model names.
  • Xiaomi MiMo Open Platform, API pricing (platform.xiaomimimo.com/docs/pricing, updated 18 November 2026, read 27 November 2026): overseas real-time and batch rates, free cache writes, ultraspeed batch exclusion.
  • Hugging Face, XiaomiMiMo/MiMo-V2.6-Flash-MOPD model card, config.json and file list: 309B / 15B architecture, layer split, KV heads and dimensions, sliding window, file sizes, MIT licence, SGLang and vLLM commands, sampling settings.
  • OpenRouter endpoints API for xiaomi/mimo-v2.6-flash and xiaomi/mimo-v2.6-flash-mopd (read 27 November 2026): providers, per-token rates, max output tokens. Third-party rates change often.
  • Session costs, KV cache sizes and ratios are calculated by ToolMintX from those sources.

Tools In This Article

Browser-based, no sign-up. Try them while the topic is fresh.

More From ToolMintX

Other Blog Posts