Xiaomi releases MiMo Code, a free open-source AI model for complex multi-step coding tasks

Xiaomi has made its MiMo Code AI model freely available to anyone — no fees, no closed API. It is built specifically to handle long-horizon coding tasks, meaning complex programming jobs that require many steps to complete. Developers building their own coding agents now have a capable, cost-free base model to work with.

Most AI coding tools today are great at small, contained tasks like writing a single function or fixing one line. They struggle when a job requires navigating multiple files, tracking down the root cause of a bug across a large codebase, or executing a chain of decisions over time. MiMo Code targets exactly these long-horizon tasks — longer, more complex coding workflows that an AI agent must handle step by step without constant human guidance.

Xiaomi has released both the model weights (the core data that makes the model work) and the training code, meaning you can download it, run it on your own hardware, and modify it however you like. For teams building coding agents, this removes the need to pay per-call API fees to external providers — you run everything locally or on your own server. That directly cuts LLM costs, which is one of the biggest expenses in running AI agents at scale.

Key points

  • Xiaomi released MiMo Code as a fully open-source model — free to download and modify.
  • Designed for long-horizon coding tasks: complex, multi-step programming jobs an AI agent handles autonomously.
  • Both model weights and training code are public, so you can run it on your own infrastructure.
  • Running it locally eliminates per-call API fees, reducing LLM costs significantly.
  • Provides a ready-made foundation for teams building their own coding agents without vendor lock-in.

Quick term guide

coding agents
AI programs designed to autonomously perform tasks like writing or fixing code.
coding agent
An AI tool that writes or edits code from a person’s instructions.
AI coding tools
Programs like Claude, Cursor, or ChatGPT that write code for you when you describe what you want in plain language.
AI coding tool
Software that uses AI to help write, edit, or explain code.
long-horizon task
A complex job that requires many sequential steps to complete, rather than a single quick action.
model weights
The internal numbers an AI learns during training — saving them lets you reuse or share the trained AI.
open-source model
An AI model whose code and weights are freely available for anyone to download and use.
infrastructure
The technical systems that keep a website or app running.
Read original