Coding agent Open source Xiaomi · China · since 2026
MiMo Code
Open-source coding agent from Xiaomi for the terminal, a fork of OpenCode with memory that lasts across sessions, and the engine of the Xiaomi MiMo Desktop app.
- Price
- From $6/mo Lite $6 · Standard $16 · Pro $50 Plans ↓
- Free use
- In part The software is free; MiMo models need a balance or a plan Ways to pay ↓
- Runs in
- 4 places Terminal, Desktop app, Web (in part), CI (in part) Where ↓
- Models
- MiMo 3 named · other makers’ models: yes Models ↓
- Install
- 2 ways macOS, Linux, Windows Install ↓
Checked 30 Nov 2026 against 16 official pages · Method
Section 01 · Cost
Price
Is MiMo Code free? The software is free and open source, but Xiaomi’s models are not. Signing in to the MiMo platform needs an account balance or a Token Plan, which starts at $6 a month. With another provider’s key, the cost is whatever that provider charges.
One plan covers every way to use it.
Lite
$6a month, or $63.36 a year
4.1 billion Credits a month, for MiMo-V2.6-Pro and MiMo-V2.6-Flash.
Standard
$16a month, or $168.96 a year
11 billion Credits a month.
Pro
$50a month, or $528 a year
38 billion Credits a month, plus MiMo-V2.6-Pro-Ultraspeed.
Max
$100a month, or $1056 a year
82 billion Credits a month.
Plan terms and limits
- You pay for
- Credits per month, counted from tokens. A million MiMo-V2.6-Flash input tokens cost 100 Credits and a million output tokens 200; MiMo-V2.6-Pro costs three times that. Use between 00:00 and 08:00 Beijing time counts at 0.8.
- Limits
- Token Plan: a monthly amount of Credits, 4.1 billion on Lite; service stops when it is used up
- Past the limit
- The plan stops when its Credits are used up and does not draw on the account balance. Upgrade by paying the difference, or switch to the pay-as-you-go API.
- Own key
- Yes · MiMo API key, or any other provider’s key
- Trial
- None is listed; the first plan purchase is 12% off.
- Students
- None is listed.
- In China the plans cost ¥39, ¥99, ¥329 and ¥659 a month, and the API is priced in yuan.
- For a limited time, signed-in users get 1,000 free web searches a day.
- Token Plan Credits are for coding tools only; Xiaomi may suspend a plan used for other API calls. Purchases are not refunded.
- The share feature makes a conversation public by link; the docs give the link as opncd.ai, OpenCode’s domain.
- Computer control in Xiaomi MiMo Desktop is in the international version only.
Prices checked 30 Nov 2026
Ways to pay for it
| Way | What you get | Cost |
|---|---|---|
| MiMo Code plans | Lite, Standard, Pro, Max | From $6/mo |
| Your own API key | Yes: any provider in the Models.dev list by API key, a ChatGPT Plus or Pro sign-in, settings imported from Claude Code, or a custom OpenAI-compatible endpoint, including local models. | the provider’s price |
| Free use | The software is free; MiMo models need a balance or a plan | In part |
Section 02 · Where it runs
Ways to use it
One product: the same agent, account and plan wherever you use it. Select one to see what you get there.
Desktop app Available
Xiaomi MiMo Desktop
Xiaomi's desktop agent for office work, design and coding, with MiMo Code as its engine; not offered in South Korea, the UK or the EU.
Terminal Available since Jun 2026
MiMo Code
Open-source terminal agent (MIT); mimo web and mimo serve also open a local browser interface or serve a remote machine.
curl -fsSL https://mimo.xiaomi.com/install | bash 1 more ↓ By place
- Terminal Yes
- VS Code and forks Not stated
- JetBrains IDEs Not stated
- Desktop app Yes
- Web In part
- Mobile Not stated
- Slack Not stated
- CI In part
Section 03 · AI
Models
The models it names, and whether others can be used.
- Models named
- 3
- Other makers’ models
- Yes 75+ providers through Models.dev, ChatGPT sign-in, local models
- Own key
- Yes MiMo API key, or any other provider’s key
| Model | Kind | On plans | API price, in / out | Context | Released |
|---|---|---|---|---|---|
| MiMo-V2.6-Pro | Flagship | From Lite | $0.435 / $0.87 · Overseas price; input is the cache-miss rate. An UltraSpeed mode (mimo-v2.6-pro-ultraspeed) costs $4.35 / $8.70. | 1M | 22 Sep 2026 |
| MiMo-V2.6-Flash | Fast and cheap | From Lite | $0.14 / $0.28 · Overseas price; input is the cache-miss rate. | 1M | 22 Sep 2026 |
| MiMo-V2.6-Pro-Ultraspeed | Not stated | Not stated | Not stated | Not stated | Not stated |
The Token Plan covers MiMo-V2.6-Pro and MiMo-V2.6-Flash on every tier and MiMo-V2.6-Pro-Ultraspeed on Pro and Max. Some MiMo Code docs pages still use mimo-v2.5-pro in their examples. API prices are the makers’ list prices per million tokens, in and out.
Section 04 · Setup
Install MiMo Code
The command-line tool, started with the command mimo.
Pick one command
curl -fsSL https://mimo.xiaomi.com/install | bash npm install -g @mimo-ai/cli - Command
mimo- Systems
- macOS, Linux, Windows
- In the terminal
- Yes · Not the built-in macOS Terminal; iTerm2 or another modern terminal
Setup page ↗ Checked 30 Nov 2026
Section 05 · Abilities
What it can do
The things that differ from one agent to the next. MiMo Code has 7 of the 10 in full; the notes say where there is a catch.
Control
How much it may do on its own
- Yes Approval modes Allow, ask or deny per tool; read-only plan mode
- Not stated Sandbox for commands None documented for commands
- Yes Undo its changes /undo and /redo; the project must be a Git repository
Extend
What can be added to it
- Yes MCP servers Local and remote servers, with OAuth
- In part Hooks Through plugins, before and after a tool runs
- Yes Subagents
- Yes Skills or plugins Skills, plugins and custom tools
Automate
Working without you
- Yes Runs unattended mimo run, with JSON output
- No Cloud sessions mimo serve and attach reach your own remote machine
- Yes Commits and pull requests Worktree and merge skills; pull requests not documented
Section 06 · Fit
Who it is for
MiMo Code is Xiaomi’s terminal coding agent, released in June 2026 under MIT as a fork of OpenCode. It reads and writes code, runs commands and manages Git, and keeps OpenCode’s providers, LSP, MCP and plugins. Xiaomi added memory that persists across sessions, automatic checkpoints that rebuild context on long tasks, a task tree, a /goal command checked by a separate judge model, and scripted workflows that run several agents. It works with Xiaomi’s MiMo models through the Token Plan or pay-as-you-go API, and with other providers’ models. Xiaomi MiMo Desktop, a separate app, uses it as its engine.
What stands out
- Open source under MIT and a fork of OpenCode; it keeps OpenCode’s providers, LSP, MCP and plugins.
- Memory persists across sessions in a local SQLite index, and automatic checkpoints rebuild the context when a long task nears the model’s limit.
- /goal sets a stopping condition, and a separate judge model decides whether it has been met before the agent may stop.
- It is not tied to Xiaomi’s models; it can sign in with a ChatGPT plan, import a Claude Code setup, or use any provider’s API key.
- /undo and /redo revert and restore file changes along with the conversation, using Git.
Suits
- OpenCode users who want its tools plus memory and checkpoints for long tasks.
- People looking for a cheap subscription, since the Token Plan starts at $6 a month.
- Developers who want to switch between models from many providers in one terminal agent.
Look elsewhere if
- Anyone who wants an agent inside VS Code or a JetBrains IDE; no extension is named in the docs.
- People who need commands confined to a sandbox; none is documented.
- Teams that want cloud sessions or pull requests opened for them.
Section 07 · Alternatives
Compare
The agents people weigh against MiMo Code, on the same facts.
| Agent | From | App | CLI | VS Code | JetBrains | Cloud | Own key | Open source |
|---|---|---|---|---|---|---|---|---|
| MiMo Code This page | $6/mo | Yes | Yes | Not stated | Not stated | No | Yes | Yes |
| Claude Code | $20/mo | Yes | Yes | Yes | Beta | Yes | Yes | No |
| Codex | $20/mo | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Google Antigravity | Free | Yes | Yes | Yes | Yes | Yes | Yes | No |
| GitHub Copilot | Free | Yes | Yes | Yes | Yes | Yes | Yes | No |
Yes runs there Beta, In part in part or beta No Not stated App counts an agent’s own editor.
Section 08 · Short answers
MiMo Code questions
8 short answers, each from an official page. Checked 30 Nov 2026.
Price and licence
How much does the MiMo Token Plan cost?
Monthly plans are Lite at $6 (4.1 billion Credits), Standard at $16 (11 billion), Pro at $50 (38 billion) and Max at $100 (82 billion). When a plan's Credits run out, service stops until you upgrade or switch to the pay-per-token API.
Source: Token Plan subscription ↗
Yes Is MiMo Code open source?
MiMo Code is published on GitHub under the MIT licence.
Source: MiMo Code repository ↗
Systems and setup
Yes Does MiMo Code work on Windows?
It installs on Windows with a PowerShell script and on macOS and Linux with a shell script. It needs a modern terminal emulator; Mac users are advised to use iTerm or the VS Code terminal.
Source: Install and launch ↗
AI and privacy
Yes Can I use other providers or local models?
MiMo Code supports more than 75 providers through the AI SDK and Models.dev, each with its own API key, and it can run local models. Xiaomi recommends its MiMo Token Plan for newcomers.
Source: Connect models ↗
Features
Yes Can MiMo Code edit files and run commands without asking?
By default most actions run without approval; only access outside the workspace and repeated loops ask, and .env files cannot be read. Rules in the config can set each tool to allow, ask or deny.
Source: Permissions ↗
Yes Can I undo MiMo Code's changes?
/undo removes the last message, its responses and the file changes they made, and /redo brings them back. It uses Git, so the project must be a Git repository.
Source: Slash commands ↗
Yes Does MiMo Code remember a project between sessions?
A memory system backed by SQLite full-text search keeps project knowledge, rules and decisions, and injects it when a session resumes. Automatic checkpoints rebuild the context when it nears the model's limit.
Source: MiMo Code repository ↗
Yes Does MiMo Code support MCP?
mimo mcp add sets up local or remote MCP servers, and servers that use OAuth can be signed in from the command line.
Source: CLI subcommands ↗