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

Grok · LLMReleased 2025-03-17

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.

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

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

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.

Mistral Small 3.1 24B InstructGrok
Try asking
  • 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.

    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 Mistral Small 3.1 24B Instruct

    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": "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.

Mistral Small 3.1 24B Instruct providers and prices

Spiral runs Mistral Small 3.1 24B Instruct through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Mistral: Mistral Small 3.1 24B
mistralai/mistral-small-3.1-24b-instruct

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 102400

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 Mistral: Mistral Small 3.1 24B is on its tool page: open its card above.

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.

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.

Get started

Start using Mistral Small 3.1 24B Instruct 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