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

Windsurf · LLMReleased 2025-03-17

How to Use Mistral Small 3.1 24B Instruct in Windsurf

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 Windsurf

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

Use Mistral Small 3.1 24B Instruct to review the current diff against the requirements in this repository. Report likely defects with the file, function, triggering input, and a suggested test.

Mistral Small 3.1 24B InstructWindsurf
Try asking
  • Use Mistral Small 3.1 24B Instruct at temperature 0.15 to extract requirements from the project's design documents. Return JSON with requirement, source path, supporting excerpt, and unresolved question.

  • Use Mistral Small 3.1 24B Instruct to inspect the parser and its existing tests. Propose cases for empty input, malformed input, and boundary values, explaining the expected behavior from the code.

  • Use Mistral Small 3.1 24B Instruct to draft French and German versions of the English interface strings in this project. Preserve interpolation tokens and product names, and list phrases that need human review.

  • Use Mistral Small 3.1 24B Instruct to trace how a request reaches the database in this repository. Give an ordered list of functions and identify where validation and error handling occur.

How to set up Mistral Small 3.1 24B Instruct in Windsurf

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

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf 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: Windsurf 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 Windsurf 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 Windsurf?

Turn project code and technical documents into review notes, test ideas, and implementation explanations with Mistral Small 3.1. Give the agent a bounded task and a concrete output format so you can check the result against the project.

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 Windsurf

Can Windsurf use Mistral Small 3.1 24B Instruct?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf 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 Windsurf?

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

Do I need an OpenRouter account to use Mistral Small 3.1 24B Instruct in Windsurf?

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

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

Does Windsurf wait while Mistral Small 3.1 24B Instruct runs?

Mistral Small 3.1 24B Instruct runs in the background. Windsurf 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 Windsurf

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

Paste this into Windsurf:

Set up Windsurf

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