How to Use Mistral Medium 3 in n8n
Mistral Medium 3 suits code review, STEM explanations, and questions over supplied text. It is the May 2025 model with a 128k context window, so leave room for the answer when providing long material.
Prompts to try with Mistral Medium 3 in n8n
Copy an example into n8n, or ask in your own words.
Each morning, use Mistral Medium 3 to summarize the support messages supplied to this run. Group recurring issues, include message IDs, and separate explicit requests from inferred concerns.
Each weekday, use Mistral Medium 3 to extract action items from the meeting text supplied to this run. Return JSON with an action, owner, and due date; use null for missing details and keep randomness low.
Each week, use Mistral Medium 3 to compare the old and new policy text supplied to this run. List changed obligations with supporting excerpts from both versions.
Each morning, use Mistral Medium 3 to review the code snippets and failure messages supplied to this run. Rank plausible causes, cite the supporting evidence, and propose a test for each cause.
Each Friday, use Mistral Medium 3 to draft Spanish replies for the customer messages supplied to this run. Follow the supplied policy, preserve product names, and flag questions the policy cannot answer.
How to set up Mistral Medium 3 in n8n
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send n8n this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create a key
Create a key under API keys in the console.
- Add an MCP Client node
In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:
https://api.spiral.ai/mcp
- Pick a tool
The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:
{ "provider": "fal", "model": "fal-ai/flux/schnell", "input": { "prompt": "a lighthouse at dawn" }, "wait": true } - Run Mistral Medium 3 in a workflow step
Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Mistral Medium 3, prices it and runs it each time the step fires.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Mistral Medium 3
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-medium-3", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: n8n finds Mistral Medium 3 on Spiral, shows the price and runs it.
Mistral Medium 3 providers and prices
Spiral runs Mistral Medium 3 through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.011736 per run at the default inputs. $0.572 per 1M input tokens, $2.86 per 1M output tokens.
Settings you can ask for
Ask n8n for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 104857 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Mistral: Mistral Medium 3 is on its tool page: open its card above.
What can you do with Mistral Medium 3 in n8n?
Turn recurring text inputs into reviewable summaries and extracted records with Mistral Medium 3. Give each run a fixed output structure and require evidence for findings drawn from source material.
Review a proposed code change
Ask Mistral Medium 3 to inspect a diff for logic errors and missing edge cases. Request a concrete failure example for each finding.
Draft tests from requirements
Give Mistral Medium 3 a function contract and ask for normal, boundary, and invalid-input tests with expected results.
Explain a technical calculation
Provide the formula, quantities, and units. Ask Mistral Medium 3 to explain the calculation and identify assumptions that need checking.
Answer questions from supplied documentation
Give Mistral Medium 3 relevant text and ask it to support each answer with a short source excerpt. Require it to identify unanswered questions.
Extract records from business text
Ask Mistral Medium 3 to turn support messages or meeting notes into JSON records. Define missing values and include a completed example.
Prepare multilingual support drafts
Ask Mistral Medium 3 to draft French, German, or Spanish replies from supplied policy text. Provide approved terminology and review the translation before sending.
Explain results returned by a tool
Pass a completed lookup result to Mistral Medium 3 and ask for a plain-English explanation that preserves the returned values and identifies missing information.
More on Mistral Medium 3 and n8n
Overview
Mistral Medium 3 in other agents
Questions about Mistral Medium 3 in n8n
Can n8n use Mistral Medium 3?
Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Mistral Medium 3 like any built-in tool.
How much does Mistral Medium 3 cost in n8n?
Up to $0.010668 per run at the default inputs. $0.52 per 1M input tokens, $2.60 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.
Do I need an OpenRouter account to use Mistral Medium 3 in n8n?
You need no OpenRouter account. n8n uses one Spiral API key for every tool, and Spiral runs Mistral Medium 3 on its own OpenRouter account.
How long does it take to set up Mistral Medium 3 in n8n?
About two minutes: create a key, then add an MCP Client node, then pick a tool.
Does n8n wait while Mistral Medium 3 runs?
Mistral Medium 3 runs in the background. n8n starts the run, checks on it and gives you the text, json when it's ready.
What is Mistral Medium 3 good at?
Mistral identifies coding and STEM as particular strengths. Try it for reviewing a function, explaining a technical calculation, or drafting tests from a specification.
How much text can Mistral Medium 3 handle?
Its context window is 128k tokens. Input and output share that budget, so reserve space for the answer instead of filling the window with source material.
Can I trust an answer because it is valid JSON?
Check the contents against the source material. Mistral's guidance recommends evaluating generated answers for faithfulness to documents, even when the output has the requested structure.
How should I prompt Mistral Medium 3 for extraction?
State what to extract, define how to represent missing information, and include a completed example. For JSON output, explicitly request JSON and describe the required structure.
Which setting matters most for focused answers?
Start with a low temperature, such as 0.2, for extraction or code review. Higher values, such as 0.7, make output more random and can suit drafting alternatives.
Start using Mistral Medium 3 in n8n
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into n8n:
set up https://spiral.ai/SKILL.md


