[Integrations](https://spiral.ai/integrations) › [goose](https://spiral.ai/integrations/goose) › [Mistral Large 4](https://spiral.ai/integrations/goose/mistral-large-4)

# How to Use Mistral Large 4 in goose

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.

|  |  |
| --- | --- |
| Model | Mistral Large 4 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.011216 per run at the default inputs. $0.91 per 1M input tokens, $2.73 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Mistral Large 4 in goose

- 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.
- 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 goose

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

### Use Spiral's MCP server

1. **Add the extension**: In goose Desktop, open the sidebar, click Extensions, then Add custom extension. Enter:

2. **Sign in**: When goose first connects to Spiral, your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key. If the browser does not open, goose prints the link to open yourself.

### Use the Spiral skill

1. **Send goose 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 Large 4**: 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-large-4-0",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

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

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

## Mistral Large 4 tools and prices

- [Mistral: Mistral Large 4](https://spiral.ai/tools/openrouter/mistralai/mistral-large-4-0) (OpenRouter): Up to $0.011216 per run at the default inputs. $0.91 per 1M input tokens, $2.73 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| logprobs |  | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |

## What can you do with Mistral Large 4 in goose?

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.

## Overview

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

## Mistral Large 4 in other agents

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

## More goose guides

- [Mistral Large 3](https://spiral.ai/integrations/goose/mistral-large-3)
- [Mistral Medium 3](https://spiral.ai/integrations/goose/mistral-medium-3)
- [Mistral Large 2407](https://spiral.ai/integrations/goose/mistral-large-2407)
- [Mistral Medium 3.1](https://spiral.ai/integrations/goose/mistral-medium-3-1)
- [Mistral Large](https://spiral.ai/integrations/goose/mistral-large)
- [Mistral Medium 3.5](https://spiral.ai/integrations/goose/mistral-medium-3-5)

## Questions about Mistral Large 4 in goose

**Can goose use Mistral Large 4?**

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

**How much does Mistral Large 4 cost in goose?**

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

**Do I need an OpenRouter account to use Mistral Large 4 in goose?**

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 goose?**

About two minutes: add the extension, then sign in.

**Does goose wait while Mistral Large 4 runs?**

Mistral Large 4 runs in the background. goose 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.

