The Research Report
Xiaomi Open-Sources MiMo-V2.5: A 1T MoE Model Family That Beats Claude Code at Ultra-Long Tasks — And Why That Matters (And Doesn't)
An open-source coding agent that doesn't fall apart after 200 steps. A hardware company's boldest AI play yet. Let's unpack what's real.
On June 10, 2026, Xiaomi's MiMo team released MiMo Code — a terminal-based, MIT-licensed coding agent built on top of OpenCode. Alongside it came the full open-sourcing of the MiMo-V2.5 model series under MIT, including both a 310B multimodal model and a 1.02T-parameter coding powerhouse. The headline that ricocheted across tech media: MiMo Code beats Claude Code on ultra-long 200+ step tasks.
But headlines are reductive by nature. The real story has three dimensions — what this means for developers who just want a coding agent that works, what it means for engineers who care about how it works, and what it means for an industry where a phone company just dropped a frontier-class open-source model family.
Let's take all three seriously.
The Developer's Angle: A Coding Agent That Doesn't Eat Itself After 50 Steps
If you've used any AI coding agent for more than trivial tasks, you know the pattern. It starts sharp — clean reasoning, correct edits. Then around step 30, things wobble. By step 80, the agent has forgotten what it was doing, is hallucinating imports that don't exist, or has quietly introduced regressions it can't detect because its context window is clogged with its own tool-call output. By step 200, it's a smoking crater.
This isn't a model quality problem. It's an agent architecture problem. The model inside Claude Code, Cursor, Copilot, or MiMo Code is stateless — every call starts fresh, with continuity injected solely through the runtime's context assembly. As the task grows, two things happen: the context window fills, and instruction-following degrades under the weight of accumulated noise.
MiMo Code's core value proposition is that it was engineered specifically for this failure mode. The result, per Xiaomi's human A/B test: 576 developers, 474 real private repos, 1,213 matched pairs. Under 200 steps, MiMo Code and Claude Code are roughly 50/50. Over 200 steps, MiMo Code wins 65%+ of the time.
For developers, the practical takeaway is straightforward:
- If your tasks are under ~50 steps — bug fixes, feature additions, small refactors — your existing agent is fine. MiMo Code won't change your life.
- If you regularly hit tasks that require 100+ steps — large migrations, multi-file refactors, cross-repo changes — MiMo Code's architecture is genuinely worth evaluating. The 65% win rate on long tasks isn't a marketing number; it's the direct output of a system designed to maintain state continuity where other agents lose the thread.
- The free tier uses MiMo-V2.5 (310B, 15B active) with 1M token context. Installation is one line:
npm install -g @mimo-ai/cli. The Pro model that powers the benchmark results is available via API at 2x token credits.
The MIT license is the real unlock. You can self-host, modify, build commercial products on top, and fine-tune — all without authorization. For teams that have been priced out of or locked out of frontier coding agents, this is an unprecedented level of access to a competitive system.
The Engineer's Angle: How MiMo Code Actually Works (And Why It's Interesting)
The MiMo Code technical blog post is unusually detailed for a corporate release, and the architecture is worth studying even if you never touch the product. The design organizes around three themes: Computation, Memory, and Evolution — mapping to single-turn, multi-turn, and cross-session time scales.
Computation: Spending Tokens on Reliability
Max Mode runs N=5 candidate solutions in parallel at each turn (temperature=1), then uses the same model as a low-temperature judge to select the best before execution. The insight: when multiple candidates converge independently, that's a high-confidence signal. When they diverge, the judge is more reliable than any single sample. The cost: 4–5x token consumption for 10–20% improvement on SWE-Bench Pro. It's opt-in and experimental — a conscious trade of inference cost for reliability.
Goal is the complementary serial strategy. When the agent tries to terminate, a separate model call reviews the full conversation and checks whether the user-defined completion condition (e.g., "all tests pass and the code has been committed") is actually met. If not, the specific gap is fed back and the agent continues. False blocking (refusing to stop when done) is more common than false passing, and infinite loops occur under 0.5%. This directly addresses the premature-termination failure mode that plagues autonomous agents.
Dynamic Workflow converts orchestration logic from natural-language prompts to executable JavaScript in an isolated sandbox. parallel(), pipeline(), barrier() — deterministic control flow that doesn't skip branches or misinterpret instructions. The model's judgment is reserved for understanding and generating code, not for flow control. This is compatible with Anthropic's Dynamic Workflow semantics and extends it with composability (workflow() calls other scripts) and disk-based recovery.
Memory: The Checkpoint Architecture That Makes Long Tasks Possible
This is the most architecturally novel part of MiMo Code, and it's worth understanding in detail.
The fundamental insight: extract early, not late. Most systems compress context when the window is nearly full. MiMo Code's runtime inserts checkpoints at 20%, 45%, and 70% of the context budget — deliberately early, when the model can still reason clearly. A background writer subagent (independent from the main agent, sharing neither attention nor token budget) reads the conversation and writes a structured 11-field checkpoint file covering: current intent, next action, working constraints, task tree, current work, involved files, cross-task discoveries, errors and fixes, runtime state, design decisions, and miscellaneous notes.
The main agent never writes its own memory. Single-writer constraint — no concurrent-write ambiguity. When the window fills, the runtime opens a fresh window and reconstructs state from those persisted checkpoints in under 65K tokens, including tasks, session state, project memory, recent messages verbatim, and a tail reminder.
A sequence of turns between checkpoints, ending with a rebuild, is called a Cycle. Cycles chain together into an unbounded logical session. From the model's perspective, the conversation never interrupted. From the runtime's perspective, each cycle is a bounded physical window.
This pattern — checkpoint-early with an independent writer — is worth stealing regardless of what agent runtime you're building.
Evolution: Not Starting Fresh Every Session
- Session memory (
checkpoint.md): lives within a logical session. - Project memory (
MEMORY.md): persists across sessions — architecture decisions, user rules, verified facts. Promoted from session checkpoints when observations stabilize. - Global memory: user-level preferences across projects.
- Dream agent (7-day cycle): consolidates and deduplicates project memory.
- Distill agent (30-day cycle): scans historical sessions for repeated patterns, promotes them into reusable skills and SOPs.
The naming is charming (Dream and Distill), but the mechanism is sound: structured cross-session learning that doesn't require the model to be stateful.
The Model Family: MiMo-V2.5 and MiMo-V2.5-Pro
The models powering this are the MiMo-V2.5 series, open-sourced under MIT:
| Model | Total Params | Active Params | Context | Precision |
|---|---|---|---|---|
| MiMo-V2.5-Base | 310B | 15B | 256K | FP8 Mixed |
| MiMo-V2.5 | 310B | 15B | 1M | FP8 Mixed |
| MiMo-V2.5-Pro-Base | 1.02T | 42B | 256K | FP8 Mixed |
| MiMo-V2.5-Pro | 1.02T | 42B | 1M | FP8 Mixed |
Both use Sparse Mixture-of-Experts architecture with a hybrid sliding-window attention design (6:1 Sliding Window to Global Attention ratio), achieving approximately 7× KV-cache reduction — critical for sustaining million-token contexts. The Pro variant includes native Multi-Token Prediction (3-layer MTP) for improved inference efficiency.
MiMo-V2.5 is the multimodal model: a 729M-parameter Vision Transformer with hybrid window design, an audio encoder derived from MiMo-Audio tokenizer weights, and lightweight projectors connecting them to the language backbone. It processes text, image, video, and audio in a single model — native omnimodal, not bolted-on adapters.
Training spans five stages: text pre-training (48T tokens for V2.5, 27T for Pro), projector warmup, multimodal pre-training, supervised fine-tuning with progressive context extension (32K → 256K → 1M), and reinforcement learning with Multi-Teacher On-Policy Distillation (MOPD).
On benchmarks: MiMo-V2.5 scores 62.3 on Claw-Eval (general agentic tasks), matches Gemini 3 Pro on video understanding, matches Claude Sonnet 4.6 on multimodal agentic work, and stays competitive across image and document understanding — all from one unified model.
The Contrarian Angle: Benchmark Wins Aren't Production Wins, and Xiaomi Is a Phone Company
Now let's be honest about what the headline obscures.
Self-Reported Benchmarks Are Self-Reported
The SWE-Bench Pro numbers and the 65% win rate come from Xiaomi's own testing. They haven't been independently replicated by a third party. The human A/B test methodology (576 developers, 474 repos, 1,213 pairs) sounds rigorous, but we don't have access to the task distribution, the developer selection criteria, or the statistical methodology. Were the 200+ step tasks representative of real-world workloads, or were they selected to showcase the architecture's strengths? We don't know.
This isn't to accuse Xiaomi of dishonesty — their technical blog post is notably transparent about limitations and design tradeoffs. But "self-reported" means exactly what it says, and the AI industry has a well-documented history of benchmark optimization that doesn't generalize.
Beating Claude Code on One Benchmark ≠ Beating Claude Code
Claude Code is a product, not a benchmark entry. It has:
- Ecosystem integration — deep hooks into VS Code, JetBrains, GitHub, and enterprise deployment pipelines.
- Iterative refinement — months of production usage and real-world feedback loops.
- The weight of Anthropic's safety infrastructure — guardrails, red-teaming, responsible deployment practices developed over years.
MiMo Code is version 0.1.0. It's an impressive v0.1, but it's still a v0.1. The GitHub repo has 416 open issues. The "Max Mode" that produces the headline numbers is explicitly labeled experimental. The Dynamic Workflow feature, while architecturally sound, is early. The product surface — error messages, edge case handling, integration breadth — hasn't been battle-tested at scale.
A coding agent that wins 65% of long-task head-to-heads in a controlled A/B test is genuinely impressive. A coding agent you'd trust in production with your proprietary codebase on a Tuesday at 3am when the deployment is broken — that's a different category of claim entirely.
Xiaomi Is a Hardware Company Pivoting to AI
Let's not lose sight of who's doing this. Xiaomi is one of the world's largest smartphone manufacturers. They make phones, TVs, earbuds, rice cookers, and electric cars. Their AI division exists to make their hardware products smarter, not primarily to serve the open-source community.
The MIT license is generous, yes. But ask yourself: what's Xiaomi's business model here? The free tier routes traffic to their API (MiMo-V2.5 at 1x credits, MiMo-V2.5-Pro at 2x credits). The open-source model weights serve as a talent attractor and a moat-builder — if your team builds on MiMo, you're invested in Xiaomi's ecosystem, not OpenAI's or Anthropic's.
This doesn't make the release less valuable. Google's open-source contributions (TensorFlow, Kubernetes) were similarly strategic, and the industry benefited enormously. But it does mean you should evaluate MiMo Code with the same pragmatism you'd apply to any vendor-controlled ecosystem. What happens if Xiaomi changes the API pricing? If they deprioritize the open-source version in favor of a proprietary tier? If their hardware business takes a hit and the AI division gets restructured?
The MIT license protects you legally — you can fork and maintain. But ecosystem momentum is harder to fork than code.
The 1T MoE Elephant: Inference Cost and Practical Deployment
A 1.02T-parameter model with 42B active parameters sounds efficient for its class, but it still requires serious hardware. The FP8 quantization helps, but serving MiMo-V2.5-Pro with million-token contexts at interactive latency needs multi-GPU setups that most individual developers and small teams don't have. The "just use the API" answer works until you care about latency, cost, data privacy, or availability — which is exactly when you'd want to self-host.
The 310B MiMo-V2.5 (15B active) is more practically deployable, but it's the Pro variant that delivers the competitive benchmark results. The free-tier experience uses the smaller model, and the step up to Pro doubles your token cost. This is a reasonable pricing structure, but it means the headline-grabbing performance isn't what you get for free.
So What Should You Actually Do?
Try it. The install is one line, the free tier exists, and the architectural ideas are genuinely worth experiencing firsthand. If you regularly work on tasks that span 100+ steps, you'll feel the difference in state continuity — the agent doesn't forget where it is or what it's doing.
Steal the patterns. The checkpoint-early insight (extract state at 20/45/70%, not 95%), the independent writer subagent pattern, and the cycle-based session architecture are runtime innovations that improve any coding agent, regardless of the underlying model. If you're building agent infrastructure, these ideas go in your design notebook.
Read the fine print. The benchmark claims are directionally valid but self-reported. The product is v0.1. The MIT license is real, but the ecosystem is young and vendor-dependent.
Watch the ecosystem. 6,360 GitHub stars in a week is a strong signal. If the community rallies — contributing integrations, reporting bugs, building on the Dynamic Workflow framework — MiMo Code could become a serious open-source alternative to closed coding agents. If it plateaus, it'll join the graveyard of impressive AI demos that never reached product-market fit.
The Bigger Picture: Open Source Is Eating the Frontier, One MoE at a Time
Twelve months ago, the idea that a consumer electronics company would open-source a 1T-parameter multimodal model under MIT — one that's competitive with Claude Sonnet 4.6 and Gemini 3 Pro on agentic benchmarks — would have sounded absurd. Today, it's Tuesday.
The convergence is unmistakable: the frontier models keep advancing, but the open-source gap keeps narrowing. DeepSeek, Qwen, Llama, and now MiMo are all closing distance on the proprietary leaders, each from a different angle. MiMo's angle is specific and compelling: agentic reliability at long horizons, powered by architectural innovations in the agent runtime rather than just raw model capability.
Whether Xiaomi becomes a sustained AI platform player or this remains a one-time competitive gift to the community, the practical impact is the same: developers now have an MIT-licensed, frontier-competitive coding agent to use, modify, and build upon. That's a win, however you measure it.
Just remember: a benchmark win is a data point, not a verdict. The real test is what happens when you trust it with your production codebase at 3am on a Tuesday. That test hasn't been run yet.
MiMo Code is available on GitHub under the MIT license. Model weights for MiMo-V2.5 and MiMo-V2.5-Pro are available on Hugging Face. The technical deep dive on MiMo Code's architecture is on the MiMo blog.