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

Grok · LLMReleased 2026-05-31

How to Use MiniMax M3 in Grok

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.

Prompts to try with MiniMax M3 in Grok

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

Use MiniMax M3 to compare the two proposals pasted below. Build a table of requirements, disagreements, and supporting passages, then list unresolved questions.

MiniMax M3Grok
Try asking
  • Use MiniMax M3 to explain this chart alongside the accompanying text. Separate visible results from interpretations and flag anything the chart cannot establish.

  • Use MiniMax M3 to review this software demonstration video. Describe the visible steps and identify transitions that might confuse a first-time user.

  • Use MiniMax M3 with reasoning enabled to review the algorithm below. Find edge cases, work through concrete examples, and propose tests.

  • Use MiniMax M3 to turn the research excerpts below into a 500-word brief. Cite the excerpt supporting each conclusion and preserve disagreements between sources.

How to set up MiniMax M3 in Grok

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

Use the Grok connector

  1. Add a custom connector

    In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

  3. Check that it is connected

    Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

Use the Spiral skill

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

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

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

MiniMax M3 providers and prices

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

OpenRouterLLM
MiniMax: MiniMax M3
minimax/minimax-m3

Settings you can ask for

Ask Grok 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 512000

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 M3 is on its tool page: open its card above.

What can you do with MiniMax M3 in Grok?

MiniMax M3 can help you compare long explanations and interpret visual evidence. Ask for cited passages, explicit assumptions, and a concise conclusion you can check.

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.

Questions about MiniMax M3 in Grok

Can Grok use MiniMax M3?

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

How much does MiniMax M3 cost in Grok?

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 Grok plan is separate.

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

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 Grok?

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

Does Grok wait while MiniMax M3 runs?

MiniMax M3 runs in the background. Grok 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.

Get started

Start using MiniMax M3 in Grok

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

Paste this into Grok:

Set up Grok

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