Spiral gives your agent every tool with one account. Browse the tools →

Claude Code · LLMReleased 2026-09-21

How to Use MiMo-V2.6 Flash in Claude Code

MiMo-V2.6 Flash suits repeated office tasks, code work, and long-document analysis. Xiaomi positions Flash for frequent professional tasks and MiMo-V2.6 Pro for complex projects and longer assignments.

Prompts to try with MiMo-V2.6 Flash in Claude Code

Copy an example into Claude Code, or ask in your own words.

Use MiMo-V2.6 Flash to investigate the failing test in this project. Reproduce the failure, trace its cause, make the smallest justified fix, and run the relevant tests. Report the changed files and test results.

MiMo-V2.6 FlashClaude Code
Try asking
  • Use MiMo-V2.6 Flash to review the current diff for behavior changes. Identify concrete failure cases, add regression tests for confirmed issues, and explain each finding with file and line references.

  • Use MiMo-V2.6 Flash to add boundary-case tests for the project's date parsing code. Follow the existing test conventions, run the new tests, and report any behavior the specification leaves undefined.

  • Use MiMo-V2.6 Flash to build the settings screen described in the project's requirements. Reuse existing components, implement the required interactions, and verify each acceptance criterion.

  • Use MiMo-V2.6 Flash to compare the README, API documentation, and implementation. List contradictions with file references, then correct documentation claims that the code clearly disproves.

How to set up MiMo-V2.6 Flash in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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.

    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 Flash

    One request; the result comes back by polling or a webhook.

    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-flash",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

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

MiMo-V2.6 Flash providers and prices

Spiral runs MiMo-V2.6 Flash through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Xiaomi: MiMo-V2.6-Flash
xiaomi/mimo-v2.6-flash

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Min p0 to 1
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 131072

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2
Parallel tool callson or off

Every API field of Xiaomi: MiMo-V2.6-Flash is on its tool page: open its card above.

What can you do with MiMo-V2.6 Flash in Claude Code?

Turn bug reports and written requirements into code changes with MiMo-V2.6 Flash. Give the agent the relevant project files, expected behavior, and a testable finish line.

Fix a reproducible software bug

Give MiMo-V2.6 Flash the failing behavior, relevant code, and expected result. Ask for a focused patch, a regression test, and a report of what passed.

Add tests around an existing function

Ask MiMo-V2.6 Flash to identify boundary cases in supplied code and write tests using the project's existing conventions.

Build an interface from a written brief

Describe the required screens, content, and interactions. Ask MiMo-V2.6 Flash to produce the front-end code and check each requested behavior.

Compare lengthy project documents

Supply labeled specifications or reports and ask MiMo-V2.6 Flash to extract agreements, contradictions, and unanswered questions with supporting passages.

Extract structured records from text

Turn supplied support messages or operational notes into JSON records. Define the required keys and ask MiMo-V2.6 Flash to use null for missing information.

Prepare a recurring operations brief

Have MiMo-V2.6 Flash summarize newly supplied updates into decisions, blockers, owners, and next actions. Require evidence for each item and omit unchanged updates.

Draft a presentation from source notes

Ask MiMo-V2.6 Flash to turn a written brief into a slide outline with one claim per slide, supporting evidence, and speaker notes.

Questions about MiMo-V2.6 Flash in Claude Code

Can Claude Code use MiMo-V2.6 Flash?

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

How much does MiMo-V2.6 Flash cost in Claude Code?

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

Do I need an OpenRouter account to use MiMo-V2.6 Flash in Claude Code?

No. Spiral runs MiMo-V2.6 Flash 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 Flash in Claude Code?

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

Does Claude Code wait while MiMo-V2.6 Flash runs?

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

What is MiMo-V2.6 Flash good for?

Xiaomi positions it for frequent professional tasks. Useful starting points include code changes, document summaries, structured extraction, and drafting interfaces from written requirements.

How much context can MiMo-V2.6 Flash handle?

Xiaomi documents a 1 million-token context window. For document analysis, label each source and ask for supporting passages so you can check the result.

How long can a MiMo-V2.6 Flash answer be?

The documented maximum output is 128K tokens. Reasoning shares the completion budget with the visible answer, so 128K is not a promise of 128K tokens of finished prose.

Does lowering temperature change its thinking-mode answers?

Xiaomi says thinking mode overrides custom sampling settings with a temperature of 1.0 and a nucleus-sampling threshold of 0.95. Specify the evidence, format, and length you want in the prompt.

What weakness should I watch for in tool-heavy tasks?

Xiaomi documented repeated tool calls that consumed context without advancing the task, then released an update that substantially reduced the behavior. Give each task a clear stopping condition and ask the agent to report a blocker when repeated actions produce no new information.

Get started

Start using MiMo-V2.6 Flash in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options