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

Factory Droid · LLMReleased 2026-10-06

How to Use Mistral Large 4 in Factory Droid

Mistral Large 4 suits repository work, defensive security investigations, and questions across long documents. Its adjustable reasoning and 1 million-token context support tasks that need several steps and substantial source material.

Prompts to try with Mistral Large 4 in Factory Droid

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

Use Mistral Large 4 with high reasoning to trace this project's authentication flow. Cite the relevant files and functions, then identify where an expired session is rejected.

Mistral Large 4Factory Droid
Try asking
  • Use Mistral Large 4 to investigate the failing test in this repository. Explain the cause, make a focused fix, and run the relevant checks.

  • Use Mistral Large 4 with high reasoning to review this project's upload handler for path traversal. Report the evidence and propose a patch with a regression test.

  • Use Mistral Large 4 to compare the API documentation with the implementation. List discrepancies with file references and suggest corrections.

  • Use Mistral Large 4 with medium reasoning to explain the changed code in this branch. Return a concise reviewer guide covering behavior, assumptions, and verification.

How to set up Mistral Large 4 in Factory Droid

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

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid 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 Large 4

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

Then paste one of the prompts above: Factory Droid finds Mistral Large 4 on Spiral, shows the price and runs it.

Mistral Large 4 providers and prices

Spiral runs Mistral Large 4 through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Mistral: Mistral Large 4
mistralai/mistral-large-4-0

Settings you can ask for

Ask Factory Droid for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top p0 to 1
Logprobson or off
Max tokens1 to 262144

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Reasoning effortnone or highhigh

How much the model reasons.

Frequency penalty-2 to 2

Every API field of Mistral: Mistral Large 4 is on its tool page: open its card above.

What can you do with Mistral Large 4 in Factory Droid?

Turn repository context into explanations, proposed patches, and targeted checks with Mistral Large 4. Use it to trace behavior across files and develop a reviewable change.

Explain an unfamiliar repository

Trace a request through the code, identify the relevant modules, and produce an explanation with file references.

Investigate a software defect

Compare a bug report with the implementation, propose a focused patch, and identify tests that distinguish the fix from the previous behavior.

Review defensive security findings

Analyze supplied findings and code excerpts, explain the suspected weakness, and draft remediation steps for review.

Answer questions across documents

Compare supplied policy or technical documents and return answers with supporting passages and unresolved contradictions.

Extract consistent records

Turn supplied correspondence or document text into structured records, with missing values marked explicitly.

Prepare multilingual summaries

Summarize material written in several languages in one requested language, preserving names, dates, and specified terminology.

Compare financial explanations

Read supplied financial report excerpts, summarize changes between reporting periods, and separate stated explanations from proposed interpretations.

Questions about Mistral Large 4 in Factory Droid

Can Factory Droid use Mistral Large 4?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Mistral Large 4 like any built-in tool.

How much does Mistral Large 4 cost in Factory Droid?

Up to $0.011216 per run at the default inputs. $0.91 per 1M input tokens, $2.73 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.

Do I need an OpenRouter account to use Mistral Large 4 in Factory Droid?

No. Spiral runs Mistral Large 4 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 Large 4 in Factory Droid?

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

Does Factory Droid wait while Mistral Large 4 runs?

Mistral Large 4 runs in the background. Factory Droid starts the run, checks on it and gives you the text, json when it's ready.

What is Mistral Large 4 useful for?

Use it for repository questions, coding tasks, document analysis, and workflows that combine evidence with tool results. Finance and legal document review are documented applications.

How much context can Mistral Large 4 handle?

Mistral documents a 1 million-token context window. That figure describes context capacity, rather than the length of the final answer.

Can I turn off reasoning?

Mistral Large 4 always reasons. Choose low effort for simple requests, medium for everyday work, and high for difficult analysis.

Why might a response end before the answer?

Reasoning consumes the generation budget alongside the final answer. If the budget is too small, the response can finish during reasoning; allow more room or use less reasoning for a simpler task.

Can Mistral Large 4 work across languages?

Its training covered more than 160 languages, including every official EU language. For multilingual work, specify the desired answer language and supply a glossary for terms that must stay consistent.

Get started

Start using Mistral Large 4 in Factory Droid

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

Paste this into Factory Droid:

Set up Factory Droid

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