[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Ministral 3 8B](https://spiral.ai/integrations/muse-code/ministral-3-8b)

# How to Use Ministral 3 8B in Muse Code

Ministral 3 8B suits document questions, multilingual drafts, and focused coding tasks. Unlike Ministral 3 8B Reasoning, it is tuned for instruction following rather than extended reasoning.

|  |  |
| --- | --- |
| Model | Ministral 3 8B |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.000806 per run at the default inputs. $0.195 per 1M input tokens, $0.195 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Ministral 3 8B in Muse Code

- Use Ministral 3 8B to inspect the request-validation code in this project. Explain the validation sequence, identify unhandled inputs with file references, and propose the smallest repair.
- Use Ministral 3 8B to compare this project's README with its command-line argument parser. List documentation mismatches and draft corrections based only on implemented behavior.
- Use Ministral 3 8B at temperature 0.05 to extract configuration requirements from the project's documentation. Return JSON containing setting, purpose, documented default, and source path; use null for undocumented defaults.
- Use Ministral 3 8B to draft tests for the date parser using the existing test framework. Cover accepted formats, invalid dates, and empty input, and explain which documented behavior each test checks.
- Use Ministral 3 8B to translate the project's English help text into French and German. Preserve command names, flags, interpolation tokens, and terminology already used in the localization files.

## How to set up Ministral 3 8B in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 Ministral 3 8B**: 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/ministral-8b-2512",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Ministral 3 8B on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Ministral 3 8B tools and prices

- [Mistral: Ministral 3 8B 2512](https://spiral.ai/tools/openrouter/mistralai/ministral-8b-2512) (OpenRouter): Up to $0.000806 per run at the default inputs. $0.195 per 1M input tokens, $0.195 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| max_tokens | 1 to 209715 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |

## What can you do with Ministral 3 8B in Muse Code?

Turn project code and documentation into explanations, focused edits, and structured findings with Ministral 3 8B. Give the agent a bounded task, relevant files, and a concrete definition of success.

### Answers from supplied documents

Ask Ministral 3 8B to answer policy or product questions from supplied passages, quote supporting text, and flag unanswered questions.

### Structured text extraction

Use Ministral 3 8B to turn meeting notes or customer requests into JSON containing dates, owners, requested actions, and missing information.

### Multilingual support drafts

Give Ministral 3 8B a customer message and approved guidance, then request a reply in the customer's language with product names preserved.

### Translation with a glossary

Ask Ministral 3 8B to translate product copy between supported languages while preserving terminology from a supplied glossary.

### Request classification

Provide Ministral 3 8B with category definitions and labeled examples to classify incoming requests and flag ambiguous cases.

### Focused code maintenance

Use Ministral 3 8B to explain a function, propose a small repair, or draft tests from an explicit behavior description.

### Daily operational summaries

Have Ministral 3 8B condense supplied updates into decisions, blockers, owners, and next actions, keeping a reference to each source.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Ministral 3 8B in other agents

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

## More Muse Code guides

- [Ministral 3 3B](https://spiral.ai/integrations/muse-code/ministral-3-3b)
- [Mistral Large](https://spiral.ai/integrations/muse-code/mistral-large)
- [Ministral 3 14B](https://spiral.ai/integrations/muse-code/ministral-3-14b)
- [Mistral Large 2407](https://spiral.ai/integrations/muse-code/mistral-large-2407)
- [MiniMax M3.1 Flash](https://spiral.ai/integrations/muse-code/minimax-m3-1-flash)
- [Mistral Large 3](https://spiral.ai/integrations/muse-code/mistral-large-3)

## Questions about Ministral 3 8B in Muse Code

**Can Muse Code use Ministral 3 8B?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Ministral 3 8B like any built-in tool.

**How much does Ministral 3 8B cost in Muse Code?**

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

**Do I need an OpenRouter account to use Ministral 3 8B in Muse Code?**

No. Spiral runs Ministral 3 8B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Ministral 3 8B in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Ministral 3 8B runs?**

Ministral 3 8B runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.

**What is Ministral 3 8B useful for?**

Use it for document questions, multilingual drafting, focused coding tasks, and tool-assisted work. Give it a clear task and the source material needed to answer.

**How much context can Ministral 3 8B handle?**

It supports up to 256K tokens of context. That is a context-window specification, not a promise of a 256K-token answer.

**Which languages does Ministral 3 8B support?**

Mistral lists English, French, Spanish, German, Italian, Portuguese, Dutch, Chinese, Japanese, Korean, and Arabic among its supported languages. Specify the output language when the source contains several languages.

**Is Ministral 3 8B a reasoning model?**

The listed model is instruction-tuned. Mistral offers Ministral 3 8B Reasoning separately and points to reasoning models for difficult problems where accuracy matters most.

**What temperature should I use?**

Mistral recommends below 0.1 for routine and production tasks. Start there for extraction, classification, and answers grounded in supplied text.

