[Integrations](https://spiral.ai/integrations) › [VS Code](https://spiral.ai/integrations/vscode) › [MiMo V2.6 Pro](https://spiral.ai/integrations/vscode/mimo-v2-6-pro)

# How to Use MiMo V2.6 Pro in VS Code

MiMo V2.6 Pro is built for complex coding projects, extended research, and tasks that require several rounds of tool use. Xiaomi positions it for complex work, while MiMo V2.6 Flash targets frequent calls and large-scale office tasks.

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

## Prompts to try with MiMo V2.6 Pro in VS Code

- Use MiMo V2.6 Pro to investigate the failing tests in this project. Trace the cause through the relevant files, make the smallest justified fix, and run the affected tests. Report the cause and verification results.
- Use MiMo V2.6 Pro to inspect this repository and plan a migration from callbacks to async/await. Map dependencies, identify public behavior that must stay compatible, and propose an ordered patch plan before editing.
- Use MiMo V2.6 Pro to review this branch for authorization bugs. Trace permission checks from routes to data access, cite file locations for each finding, and propose regression tests for confirmed issues.
- Use MiMo V2.6 Pro to build a Fourier decomposition explainer in this project's existing animation framework. Show how adding harmonics changes the waveform, label the axes, and verify that the animation renders.
- Use MiMo V2.6 Pro to trace the flaky checkout test through the test code and application logs. Keep a record of hypotheses and evidence. If repeated tool calls reveal nothing new, stop and report the missing evidence.

## How to set up MiMo V2.6 Pro in VS Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to VS Code on the console's Agents & MCP page, or run:

```bash
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
```

2. **Sign in**: VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

### Use the Spiral skill

1. **Send VS 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.6 Pro**: 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.6-pro",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: VS Code finds MiMo V2.6 Pro on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/vscode

## MiMo V2.6 Pro tools and prices

- [Xiaomi: MiMo-V2.6-Pro](https://spiral.ai/tools/openrouter/xiaomi/mimo-v2.6-pro) (OpenRouter): Up to $0.004653 per run at the default inputs. $0.5655 per 1M input tokens, $1.131 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| tools |  | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |

## What can you do with MiMo V2.6 Pro in VS Code?

Turn a bug report or migration request into coordinated changes across a repository with MiMo V2.6 Pro. Its long context supports repository material and tool traces; define the expected behavior and verification checks before asking for edits.

### Fix a bug across several modules

Ask MiMo V2.6 Pro to trace a reported failure through the relevant code, propose a focused patch, and verify the result with a regression test.

### Plan a repository migration

Give MiMo V2.6 Pro the existing architecture and migration requirements. Request a dependency map, ordered changes, compatibility risks, and acceptance checks.

### Build a research evidence table

Use MiMo V2.6 Pro to compare supplied papers or retrieved sources. Ask for each claim's evidence, assumptions, disagreements, and unanswered questions.

### Extract meeting decisions

Ask MiMo V2.6 Pro to turn meeting text into decisions, action items, owners, and deadlines. Define the output structure and require null for missing details.

### Classify support requests

Give MiMo V2.6 Pro a fixed category list and examples. Request structured classifications with supporting excerpts and a separate result for ambiguous requests.

### Prepare a project decision brief

Ask MiMo V2.6 Pro to compare proposals against explicit requirements, identify conflicting assumptions, and explain which evidence would change the recommendation.

### Write an explainer animation

Use MiMo V2.6 Pro to turn a mathematical concept into narration, scene descriptions, and animation code. Have a rendering tool produce the final visual.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All VS Code guides](https://spiral.ai/integrations/vscode)

## MiMo V2.6 Pro in other agents

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

## More VS Code guides

- [Mi:dm K 3.0 Pro](https://spiral.ai/integrations/vscode/mi-dm-k-3-0-pro)
- [MiMo V2.6 Pro UltraSpeed](https://spiral.ai/integrations/vscode/mimo-v2-6-pro-ultraspeed)
- [Magnum v4 72B](https://spiral.ai/integrations/vscode/magnum-v4-72b)
- [MiMo-V2.5](https://spiral.ai/integrations/vscode/mimo-v2-5)
- [LongCat 2.0](https://spiral.ai/integrations/vscode/longcat-2-0)
- [MiMo-V2.5-Pro](https://spiral.ai/integrations/vscode/mimo-v2-5-pro)

## Questions about MiMo V2.6 Pro in VS Code

**Can VS Code use MiMo V2.6 Pro?**

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

**How much does MiMo V2.6 Pro cost in VS Code?**

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

**Do I need an OpenRouter account to use MiMo V2.6 Pro in VS Code?**

No. Spiral runs MiMo V2.6 Pro 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.6 Pro in VS Code?**

About two minutes: add the hosted server, then sign in.

**Does VS Code wait while MiMo V2.6 Pro runs?**

MiMo V2.6 Pro runs in the background. VS Code starts the run, checks on it and gives you the text, json when it's ready.

**What is MiMo V2.6 Pro useful for?**

Xiaomi targets it at complex coding projects, research, and work involving several rounds of tool use. Useful starting points include repository changes, evidence-based research briefs, and structured information extraction.

**How much context and output can MiMo V2.6 Pro handle?**

Xiaomi specifies a 1M-token context window and up to 128K tokens of output. Treat those as ceilings and request the length your task needs.

**Can MiMo V2.6 Pro generate images or videos?**

Its output is text. For a visual project, ask for scripts, animation code, or instructions that another tool can render.

**Does lowering temperature make thinking mode more consistent?**

Xiaomi's thinking mode overrides temperature and nucleus sampling with values of 1.0 and 0.95. Make requirements explicit in the prompt instead of relying on a lower temperature.

**How should I ask MiMo V2.6 Pro for JSON?**

Specify the fields, data types, nesting, and rules for missing information, then request JSON only. Xiaomi's JSON mode guarantees valid syntax; validate the returned structure before using it.

