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

Amp · LLMReleased 2026-06-01

How to Use MiniMax M3 (batch) in Amp

MiniMax M3 suits repository analysis, bug fixes, and research across long documents. It combines a million-token context window with tool use and optional reasoning for tasks that require several steps.

Prompts to try with MiniMax M3 (batch) in Amp

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

Use MiniMax M3 to investigate the failing tests in this project. Trace the cause across relevant files, make the smallest justified fix, and report the test results.

MiniMax M3 (batch)Amp
Try asking
  • Use MiniMax M3 to compare this repository with its migration specification. List affected modules, implementation order, compatibility risks, and acceptance checks.

  • Use MiniMax M3 to inspect the slowest operation identified in the profiling logs. Propose one change, verify correctness, and measure performance using the existing benchmark.

  • Use MiniMax M3 to trace a request through this project's frontend and backend. Identify mismatched assumptions and propose tests for the boundaries between components.

  • Use MiniMax M3 to review the design documents against the implementation. Produce a table of missing behavior with file references and a suggested verification step for each item.

How to set up MiniMax M3 (batch) in Amp

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

Use Spiral's MCP server

  1. Add the server

    No header and no client ID or secret: Amp registers itself with Spiral.

    amp mcp add spiral https://api.spiral.ai/mcp
  2. Sign in

    Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.

  3. Check it
    amp mcp doctor

Use the Spiral skill

  1. Send Amp 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 M3 (batch)

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

Then paste one of the prompts above: Amp finds MiniMax M3 (batch) on Spiral, shows the price and runs it.

MiniMax M3 (batch) providers and prices

Spiral runs MiniMax M3 (batch) through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
MiniMax: MiniMax M3 (batch)
minimax/minimax-m3:batch

Settings you can ask for

Ask Amp 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
Max tokens1 to 512000

The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length).

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of MiniMax: MiniMax M3 (batch) is on its tool page: open its card above.

What can you do with MiniMax M3 (batch) in Amp?

Turn repository context into bug fixes, migration plans, and measured performance changes with MiniMax M3. Give the agent a reproduction and acceptance checks so it can carry the task through to a reviewable result.

Trace a bug across a repository

Follow an error from its entry point through related modules, propose a focused patch, and check it against a reproduction.

Plan a code migration

Compare existing code with a target specification, identify affected components, and produce an ordered migration plan with acceptance checks.

Investigate a performance bottleneck

Review code and profiling evidence, propose a measurable change, and compare correctness and timing before accepting it.

Compare long technical documents

Build a requirements matrix across specifications, flag contradictions, and cite the sections behind each finding.

Prepare a research brief

Use search results and source material to answer a narrow question, explain disagreements, and list evidence that remains missing.

Turn operational records into a report

Combine supplied status updates, incident timelines, and action lists into a concise report with owners and unresolved issues.

Questions about MiniMax M3 (batch) in Amp

Can Amp use MiniMax M3 (batch)?

Yes. Add Spiral to Amp as an MCP server, and Amp can find and run MiniMax M3 (batch) like any built-in tool.

How much does MiniMax M3 (batch) cost in Amp?

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

Do I need an OpenRouter account to use MiniMax M3 (batch) in Amp?

No. Spiral runs MiniMax M3 (batch) 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 M3 (batch) in Amp?

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

Does Amp wait while MiniMax M3 (batch) runs?

MiniMax M3 (batch) runs in the background. Amp starts the run, checks on it and gives you the text, json when it's ready.

What is MiniMax M3 good at?

MiniMax M3 is suited to bug fixing, frontend and backend development, performance optimization, and research that involves search. Give it a concrete deliverable, supporting evidence, and a way to check the result.

How much context can MiniMax M3 handle?

MiniMax documents a 1,000,000-token context window. That makes large document collections and repository analysis practical uses; ask for source references so you can check which material supports each conclusion.

How long can MiniMax M3's output be?

MiniMax's completion documentation specifies a maximum generation allowance of 524,288 tokens and recommends 131,072 tokens. Treat those as maker specifications; request a bounded deliverable such as a patch, a comparison table, or a report with a defined length.

Which sampling settings does MiniMax recommend?

The model card recommends temperature 1.0 and top_p 0.95. MiniMax's current documentation says its Anthropic-compatible interface fixes those values, so do not assume changing them will change the result.

Where does MiniMax M3 still need careful checking?

Difficult kernel optimization needs measured validation: MiniMax reports 28.8% on KernelBench Hard. For that work, require correctness checks and reproducible timing results before accepting a change.

Get started

Start using MiniMax M3 (batch) in Amp

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

Paste this into Amp:

Set up Amp

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