[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Mistral Small 3.1 24B Instruct](https://spiral.ai/integrations/grok/mistral-small-3-1-24b-instruct)

# How to Use Mistral Small 3.1 24B Instruct in Grok

Mistral Small 3.1 24B Instruct suits document summaries, coding help, and tool-driven assistants. Compared with Mistral Small 3, it adds image understanding and extends context to 128k tokens.

|  |  |
| --- | --- |
| Model | Mistral Small 3.1 24B Instruct |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.002972 per run at the default inputs. $0.4563 per 1M input tokens, $0.7215 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Mistral Small 3.1 24B Instruct in Grok

- Use Mistral Small 3.1 24B Instruct to summarize the conversation above into decisions, open questions, and next actions. Include a supporting excerpt for every decision and leave unspecified owners unassigned.
- Use Mistral Small 3.1 24B Instruct to draft a French reply to the customer message above using only the support guidance in this conversation. Keep product names unchanged and flag any unanswered question.
- Use Mistral Small 3.1 24B Instruct with temperature set to 0.15 to extract the requested dates, quantities, and contact names from the text above. Return JSON and use null for missing information.
- Use Mistral Small 3.1 24B Instruct to compare the two proposals above. Organize the answer by requirements met, missing evidence, and questions to ask, with a supporting passage for each finding.
- Use Mistral Small 3.1 24B Instruct to review the calculation above. Explain the method, check unit consistency, and identify assumptions before presenting the result.

## How to set up Mistral Small 3.1 24B Instruct 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.

```text
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Mistral Small 3.1 24B Instruct**: 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": "mistralai/mistral-small-3.1-24b-instruct",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Grok finds Mistral Small 3.1 24B Instruct on Spiral, shows the price and runs it.

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

## Mistral Small 3.1 24B Instruct tools and prices

- [Mistral: Mistral Small 3.1 24B](https://spiral.ai/tools/openrouter/mistralai/mistral-small-3.1-24b-instruct) (OpenRouter): Up to $0.002972 per run at the default inputs. $0.4563 per 1M input tokens, $0.7215 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 Mistral Small 3.1 24B Instruct in Grok?

Turn supplied documents and conversations into useful summaries, explanations, and multilingual drafts with Mistral Small 3.1. State the task, response language, and required structure before the material to review.

### Technical document briefs

Turn a technical specification into requirements, unresolved questions, and decisions. Ask for a supporting excerpt beside each finding.

### Code review preparation

Review a proposed patch against its requirements and identify edge cases to test. Request a short explanation tied to the relevant function.

### Structured request extraction

Convert customer messages into JSON containing the request, relevant dates, and missing information. Require null for details the message does not provide.

### Multilingual support drafts

Draft responses in English, French, German, or Japanese using supplied support guidance. Preserve product names and flag questions the guidance cannot answer.

### Daily operations summaries

Summarize incoming status updates into blockers, decisions, and next actions. Carry over the original record IDs so each item can be checked.

### Tool-assisted support lookup

Use function calling to request relevant support records, then draft an answer from the returned information. Ask for clarification when the lookup needs missing details.

### Math solution review

Review a supplied calculation, explain the method, and identify assumptions or inconsistent units. Use a calculator or tests to verify the final numbers.

## Overview

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

## Mistral Small 3.1 24B Instruct in other agents

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

## More Grok guides

- [Mistral Small 3](https://spiral.ai/integrations/grok/mistral-small-3)
- [Mistral Small 3.2 24B](https://spiral.ai/integrations/grok/mistral-small-3-2-24b)
- [Mistral Saba](https://spiral.ai/integrations/grok/mistral-saba)
- [Mistral Small 4](https://spiral.ai/integrations/grok/mistral-small-4)
- [Mistral NeMo](https://spiral.ai/integrations/grok/mistral-nemo)
- [Mixtral 8x22B Instruct](https://spiral.ai/integrations/grok/mixtral-8x22b-instruct)

## Questions about Mistral Small 3.1 24B Instruct in Grok

**Can Grok use Mistral Small 3.1 24B Instruct?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Mistral Small 3.1 24B Instruct like any built-in tool.

**How much does Mistral Small 3.1 24B Instruct cost in Grok?**

Up to $0.002972 per run at the default inputs. $0.4563 per 1M input tokens, $0.7215 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 Mistral Small 3.1 24B Instruct in Grok?**

No. Spiral runs Mistral Small 3.1 24B Instruct on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Mistral Small 3.1 24B Instruct 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 Mistral Small 3.1 24B Instruct runs?**

Mistral Small 3.1 24B Instruct runs in the background. Grok starts the run, checks on it and gives you the text, json when it's ready.

**What is Mistral Small 3.1 good at?**

Use it for document summaries, coding assistance, mathematical reasoning, and conversational tasks. A useful starting task is turning a long technical document into decisions, open questions, and supporting excerpts.

**How much context can Mistral Small 3.1 handle?**

Mistral documents a context window of up to 128k tokens. Treat that as context capacity, rather than a promised answer length; ask for a focused result from the material you supply.

**Which languages does Mistral Small 3.1 support?**

Mistral lists dozens, including English, French, German, Greek, Hindi, Indonesian, Italian, and Japanese. Specify the response language and identify terms that should stay untranslated.

**What temperature should I use with Mistral Small 3.1?**

Mistral recommends a relatively low temperature, such as 0.15. Start there for extraction, classification, and other tasks with a defined answer format.

**Can Mistral Small 3.1 return JSON and call functions?**

Yes. Mistral lists native function calling and JSON output as capabilities; for extraction tasks, explicitly request JSON and describe the structure you want.

