[Integrations](https://spiral.ai/integrations) › [goose](https://spiral.ai/integrations/goose) › [MiniMax M3](https://spiral.ai/integrations/goose/minimax-m3)

# How to Use MiniMax M3 in goose

MiniMax M3 suits repository debugging, performance tuning, and tasks that combine long text with visual evidence. Its million-token context and optional reasoning support work that spans code, documents, and repeated tool results.

|  |  |
| --- | --- |
| Model | MiniMax M3 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.006404 per run at the default inputs. $0.39 per 1M input tokens, $1.56 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with MiniMax M3 in goose

- Use MiniMax M3 to investigate the failing tests in this repository. Trace the cause, make the smallest supported fix, and run the relevant tests.
- Use MiniMax M3 to profile this project's slowest endpoint. Establish a baseline, optimize one measured bottleneck, and report correctness and timing results.
- Use MiniMax M3 to implement pagination across this project's frontend and backend. Follow existing conventions and verify empty, first-page, and last-page behavior.
- Use MiniMax M3 to compare the architecture documents with the implementation. Cite file paths for discrepancies and propose a prioritized correction plan.
- Use MiniMax M3 with reasoning enabled to review this refactor. Trace changed call paths and identify behavior changes that existing tests do not cover.

## How to set up MiniMax M3 in goose

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

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose 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 MiniMax M3**: 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": "minimax/minimax-m3",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## MiniMax M3 tools and prices

- [MiniMax: MiniMax M3](https://spiral.ai/tools/openrouter/minimax/minimax-m3) (OpenRouter): Up to $0.006404 per run at the default inputs. $0.39 per 1M input tokens, $1.56 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 MiniMax M3 in goose?

MiniMax M3 can carry a repository investigation from failing behavior through a tested change. Give it project context, measurable acceptance criteria, and feedback from tests or benchmarks.

### Trace a bug across a repository

Ask MiniMax M3 to connect a failing test with the relevant implementation, propose a focused fix, and verify the behavior.

### Optimize a measured bottleneck

Give MiniMax M3 profiling results and a correctness check. Ask it to change one bottleneck at a time and compare measurements.

### Build a frontend and backend feature

Use MiniMax M3 to carry an acceptance checklist through interface changes, server logic, and tests.

### Compare long documents

Ask MiniMax M3 to compare requirements across supplied documents, identify contradictions, and cite the passages behind each finding.

### Explain charts in a research paper

Give MiniMax M3 chart images and the surrounding text. Ask it to separate reported results from interpretations and propose checks.

### Review a software demonstration

Ask MiniMax M3 to inspect a demonstration video, describe the visible workflow, and identify confusing transitions for a usability review.

### Prepare a sourced research brief

Have MiniMax M3 compare retrieved sources, reconcile disagreements, and draft a brief with evidence beside each conclusion.

## Overview

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

## MiniMax M3 in other agents

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

## More goose guides

- [MiniMax M2.7](https://spiral.ai/integrations/goose/minimax-m2-7)
- [MiniMax M3 (batch)](https://spiral.ai/integrations/goose/minimax-m3-batch)
- [MiniMax M2.5](https://spiral.ai/integrations/goose/minimax-m2-5)
- [MiniMax M3.1 Flash](https://spiral.ai/integrations/goose/minimax-m3-1-flash)
- [MiMo-V2.6 Flash](https://spiral.ai/integrations/goose/mimo-v2-6-flash)
- [Ministral 3 14B](https://spiral.ai/integrations/goose/ministral-3-14b)

## Questions about MiniMax M3 in goose

**Can goose use MiniMax M3?**

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

**How much does MiniMax M3 cost in goose?**

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

**Do I need an OpenRouter account to use MiniMax M3 in goose?**

No. Spiral runs MiniMax M3 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 in goose?**

About two minutes: add the extension, then sign in.

**Does goose wait while MiniMax M3 runs?**

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

**What is MiniMax M3 best suited to?**

Start with debugging, frontend and backend development, performance tuning, and research that requires several tool steps. MiniMax also reports strong results on search and office workflows.

**How much context can MiniMax M3 handle?**

MiniMax documents a context window of up to one million tokens. That makes large code and document collections a useful target, especially when the task requires comparing evidence across them.

**Can MiniMax M3 understand images and video?**

Yes. It can reason over text, images, and video, which supports tasks such as explaining charts or reviewing a recorded software demonstration.

**When should I use reasoning?**

Use reasoning for debugging or analysis with several dependent steps. MiniMax M3 also supports adaptive reasoning, which lets the model decide when extra reasoning is useful, and a disabled mode for direct answers.

**How long can MiniMax M3's output be?**

MiniMax documents a maximum generation budget of 524,288 tokens and recommends 131,072. Reasoning shares that budget with the final answer, so the full allowance is not necessarily visible text.

