How to Use MiMo-V2.5 in Google Antigravity
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.
Prompts to try with MiMo-V2.5 in Google Antigravity
Copy an example into Google Antigravity, or ask in your own words.
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 Google Antigravity
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Open the MCP config
* Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.
- Add the server
Add Spiral under mcpServers:
{ "mcpServers": { "spiral": { "serverUrl": "https://api.spiral.ai/mcp" } } } - Sign in
In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.
Use the Spiral skill
- Send Google Antigravity this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run MiMo-V2.5
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.5", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Google Antigravity finds MiMo-V2.5 on Spiral, shows the price and runs it.
MiMo-V2.5 providers and prices
Spiral runs MiMo-V2.5 through OpenRouter. Open a card for today's price, with every fee included.
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
Ask Google Antigravity for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 65536 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Xiaomi: MiMo-V2.5 is on its tool page: open its card above.
What can you do with MiMo-V2.5 in Google Antigravity?
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.
More on MiMo-V2.5 and Google Antigravity
MiMo-V2.5 in other agents
More Google Antigravity guides
Questions about MiMo-V2.5 in Google Antigravity
Can Google Antigravity use MiMo-V2.5?
Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run MiMo-V2.5 like any built-in tool.
How much does MiMo-V2.5 cost in Google Antigravity?
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 Google Antigravity plan is separate.
Do I need an OpenRouter account to use MiMo-V2.5 in Google Antigravity?
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 Google Antigravity?
About two minutes: open the MCP config, then add the server, then sign in.
Does Google Antigravity wait while MiMo-V2.5 runs?
MiMo-V2.5 runs in the background. Google Antigravity 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.
Start using MiMo-V2.5 in Google Antigravity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Google Antigravity:
set up https://spiral.ai/SKILL.md


