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

Windsurf · LLMReleased 2026-02-12

How to Use MiniMax M2.5 in Windsurf

MiniMax M2.5 handles code changes, research with tools, and office drafts. Compared with MiniMax M2.1, it plans features, structure, and UI design more explicitly before writing code.

Prompts to try with MiniMax M2.5 in Windsurf

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

Use MiniMax M2.5 to investigate the failing tests in this repository. Reproduce one failure, explain its cause, make a focused fix, and rerun the relevant tests.

MiniMax M2.5Windsurf
Try asking
  • Use MiniMax M2.5 to add cursor-based pagination to this project's existing list endpoint. First write a short specification covering ordering, empty results, and invalid cursors; then implement it with tests.

  • Use MiniMax M2.5 to review the current diff. Report correctness bugs and missing regression tests, with a file location and a concrete failure example for each finding.

  • Use MiniMax M2.5 to port this project's Python CSV validation utility to Go. Preserve its behavior, add equivalent tests, and document any difference in error handling.

  • Use MiniMax M2.5 to inspect this TypeScript project's request validation. Propose a small plan, implement the highest-priority missing checks, and test malformed input and boundary values.

How to set up MiniMax M2.5 in Windsurf

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

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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 MiniMax M2.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": "minimax/minimax-m2.5",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Windsurf finds MiniMax M2.5 on Spiral, shows the price and runs it.

MiniMax M2.5 providers and prices

Spiral runs MiniMax M2.5 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
MiniMax: MiniMax M2.5
minimax/minimax-m2.5

Settings you can ask for

Ask Windsurf 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 32768

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

Every API field of MiniMax: MiniMax M2.5 is on its tool page: open its card above.

What can you do with MiniMax M2.5 in Windsurf?

MiniMax M2.5 can turn a project issue into a plan, code change, and test run. Give it the relevant files, expected behavior, and acceptance criteria.

Fix a reproducible bug

Supply the failing behavior, relevant code, and test output. Ask for a cause, a focused patch, and a regression test.

Turn a feature request into a specification

Define expected behavior, edge cases, interfaces, and acceptance tests before requesting implementation.

Review a code change

Review a diff for correctness and missing tests. Request a concrete failure scenario for each finding.

Port code between languages

Translate a Python utility into Go or TypeScript while preserving behavior. Include examples and tests to check the result.

Build a sourced research brief

Use available search tools to investigate a narrow question, compare primary sources, and separate findings from unresolved claims.

Draft spreadsheet formulas

Describe the columns and calculation rules. Request Excel formulas, assumptions, and sample cases with expected results.

Prepare presentation content

Turn supplied evidence into a PowerPoint outline with slide titles, supporting points, speaker notes, and source references.

Draft a structured report

Provide source text and a required outline. Request a Word-ready draft with headings, evidence, recommendations, and open questions.

Questions about MiniMax M2.5 in Windsurf

Can Windsurf use MiniMax M2.5?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run MiniMax M2.5 like any built-in tool.

How much does MiniMax M2.5 cost in Windsurf?

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

Do I need an OpenRouter account to use MiniMax M2.5 in Windsurf?

No. Spiral runs MiniMax M2.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 MiniMax M2.5 in Windsurf?

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

Does Windsurf wait while MiniMax M2.5 runs?

MiniMax M2.5 runs in the background. Windsurf starts the run, checks on it and gives you the text, json when it's ready.

What is MiniMax M2.5 good at?

Its documented strengths are coding, research with tools, and office work. Useful starting tasks include fixing a bug, comparing sources, or drafting a report with clear requirements.

Which programming languages does MiniMax M2.5 cover?

MiniMax lists Go, C, C++, TypeScript, Rust, Kotlin, Python, Java, JavaScript, PHP, Lua, Dart, and Ruby in its training coverage. Specify your language version, dependencies, and test command when requesting code.

How much context is MiniMax M2.5 designed for?

The published checkpoint is configured for 196,608 token positions. Treat that as a checkpoint specification; keep the supplied material focused and leave room for the response.

Which generation settings should I start with?

Start with MiniMax's published settings: temperature 1.0, top-p 0.95, and top-k 40. Compare changes against a fixed set of representative tasks before adopting them.

Where does MiniMax M2.5 need extra checking?

Difficult questions answered without tools deserve extra checking: MiniMax reports 19.4 on Humanity's Last Exam without tools, below M2.1's 22.2. Ask for evidence and check the supporting sources before relying on a difficult factual answer.

Get started

Start using MiniMax M2.5 in Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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