[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [MiMo-V2.5](https://spiral.ai/integrations/muse-code/mimo-v2-5)

# How to Use MiMo-V2.5 in Muse Code

MiMo-V2.5 suits document analysis, coding, and everyday agent tasks. Xiaomi reports faster average inference than MiMo-V2.5-Pro, making it a useful choice for work that needs quicker responses.

|  |  |
| --- | --- |
| Model | MiMo-V2.5 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.010668 per run at the default inputs. $0.52 per 1M input tokens, $2.60 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MiMo-V2.5 in Muse Code

- Use MiMo-V2.5 to investigate the failing tests in this repository. Reproduce one failure, trace its cause, make the smallest justified fix, and add a regression test. Report the commands run and any failures that remain.
- Use MiMo-V2.5 to compare this repository's API documentation with its route handlers. List mismatches with file references, propose corrections, and identify any behavior that needs a test before the documentation can be trusted.
- Ask MiMo-V2.5 through Spiral to review the diff on this branch and list the three riskiest changes. Save the result in ./assets.
- Get a second opinion from MiMo-V2.5 on this function, then tell me what the call cost.
- Summarize these release notes with MiMo-V2.5 in five bullet points.

## How to set up MiMo-V2.5 in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run MiMo-V2.5**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "openrouter",
    "model": "xiaomi/mimo-v2.5",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds MiMo-V2.5 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## MiMo-V2.5 tools and prices

- [Xiaomi: MiMo-V2.5](https://spiral.ai/tools/openrouter/xiaomi/mimo-v2.5) (OpenRouter): Up to $0.010668 per run at the default inputs. $0.52 per 1M input tokens, $2.60 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| stop |  | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 65536 | — | The most output tokens to generate. |

## What can you do with MiMo-V2.5 in Muse Code?

Turn a bug report or feature specification into code changes and verification with MiMo-V2.5. Give the agent acceptance checks and ask it to report the evidence for completion.

### Trace and fix a software bug

Work from a reproducible failure, trace the relevant code, propose a focused fix, and check it against a regression test.

### Plan a code migration

Turn the current architecture and target requirements into an ordered migration plan with dependencies, verification steps, and rollback points.

### Compare long specifications

Compare two text specifications, identify changed requirements, and attach section references to each difference.

### Build an evidence-based research brief

Combine supplied source text into a brief that distinguishes supported findings, conflicting evidence, and unanswered questions.

### Extract action items from meeting text

Convert a transcript into structured tasks with owners, deadlines, and supporting excerpts. Leave unspecified details empty.

### Triage support conversations

Classify supplied conversation text using fixed categories, extract the reported problem, and draft a response grounded in the supplied policy.

### Review a sequence of operational events

Read timestamped event text, construct a timeline, and separate observed failures from possible causes and recommended checks.

### Implement a feature across several components

Translate a feature specification into coordinated code changes, track remaining requirements, and verify behavior at each stage. Prefer MiMo-V2.5-Pro for extended work.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## MiMo-V2.5 in other agents

- [Amp](https://spiral.ai/integrations/amp/mimo-v2-5)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/mimo-v2-5)
- [Claude](https://spiral.ai/integrations/claude-desktop/mimo-v2-5)
- [Claude Code](https://spiral.ai/integrations/claude-code/mimo-v2-5)
- [Cline](https://spiral.ai/integrations/cline/mimo-v2-5)
- [Codex](https://spiral.ai/integrations/codex/mimo-v2-5)
- [Cursor](https://spiral.ai/integrations/cursor/mimo-v2-5)
- [Devin](https://spiral.ai/integrations/devin/mimo-v2-5)
- [dots](https://spiral.ai/integrations/dots/mimo-v2-5)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/mimo-v2-5)
- [Gemini](https://spiral.ai/integrations/gemini/mimo-v2-5)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/mimo-v2-5)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/mimo-v2-5)
- [goose](https://spiral.ai/integrations/goose/mimo-v2-5)
- [Grok](https://spiral.ai/integrations/grok/mimo-v2-5)
- [Grok Build](https://spiral.ai/integrations/grok-build/mimo-v2-5)
- [Hermes](https://spiral.ai/integrations/hermes/mimo-v2-5)
- [Instinct](https://spiral.ai/integrations/instinct/mimo-v2-5)
- [Manus](https://spiral.ai/integrations/manus/mimo-v2-5)
- [Muse](https://spiral.ai/integrations/muse/mimo-v2-5)
- [n8n](https://spiral.ai/integrations/n8n/mimo-v2-5)
- [Notion](https://spiral.ai/integrations/notion/mimo-v2-5)
- [OpenClaw](https://spiral.ai/integrations/openclaw/mimo-v2-5)
- [opencode](https://spiral.ai/integrations/opencode/mimo-v2-5)
- [Perplexity](https://spiral.ai/integrations/perplexity/mimo-v2-5)
- [Raycast](https://spiral.ai/integrations/raycast/mimo-v2-5)
- [VS Code](https://spiral.ai/integrations/vscode/mimo-v2-5)
- [Windsurf](https://spiral.ai/integrations/windsurf/mimo-v2-5)
- [Zapier](https://spiral.ai/integrations/zapier/mimo-v2-5)

## More Muse Code guides

- [MiMo V2.6 Pro UltraSpeed](https://spiral.ai/integrations/muse-code/mimo-v2-6-pro-ultraspeed)
- [MiMo-V2.5-Pro](https://spiral.ai/integrations/muse-code/mimo-v2-5-pro)
- [MiMo V2.6 Pro](https://spiral.ai/integrations/muse-code/mimo-v2-6-pro)
- [MiMo-V2.6 Flash](https://spiral.ai/integrations/muse-code/mimo-v2-6-flash)
- [Mi:dm K 3.0 Pro](https://spiral.ai/integrations/muse-code/mi-dm-k-3-0-pro)
- [MiniMax M2.5](https://spiral.ai/integrations/muse-code/minimax-m2-5)

## Questions about MiMo-V2.5 in Muse Code

**Can Muse Code use MiMo-V2.5?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run MiMo-V2.5 like any built-in tool.

**How much does MiMo-V2.5 cost in Muse Code?**

Up to $0.010668 per run at the default inputs. $0.52 per 1M input tokens, $2.60 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an OpenRouter account to use MiMo-V2.5 in Muse Code?**

No. Spiral runs MiMo-V2.5 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up MiMo-V2.5 in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while MiMo-V2.5 runs?**

MiMo-V2.5 runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.

**What is MiMo-V2.5 good at?**

Use MiMo-V2.5 for document analysis, coding, and tasks that combine reasoning with tool use. MiMo-V2.5-Pro puts more emphasis on complex software projects and extended sequences of actions.

**How much context can MiMo-V2.5 handle?**

Xiaomi publishes a 1M-token context window for both MiMo-V2.5 and MiMo-V2.5-Pro. For long documents, ask for section references beside conclusions so you can check the evidence.

**Can MiMo-V2.5 write a million-token answer?**

Xiaomi lists a maximum output length of 128K tokens for both models, separate from the 1M-token context window. For a long deliverable, request an outline first and draft one section at a time.

**How should I prompt MiMo-V2.5 for structured results?**

Define the exact fields, data types, and nesting you want, then provide a completed example. State how to handle missing information, such as returning null instead of guessing.

**Will lowering temperature make thinking mode more predictable?**

Xiaomi documents that thinking mode uses temperature 1.0 and top-p 0.95 for both models, overriding custom values. Start by tightening the instructions, allowed answers, and examples.

