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

Claude Code · LLMReleased 2025-12-02

How to Use Ministral 3 8B in Claude 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.

Prompts to try with Ministral 3 8B in Claude Code

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

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.

Ministral 3 8BClaude Code
Try asking
  • 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 Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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.

    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.

    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: Claude Code finds Ministral 3 8B on Spiral, shows the price and runs it.

Ministral 3 8B providers and prices

Spiral runs Ministral 3 8B through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Mistral: Ministral 3 8B 2512
mistralai/ministral-8b-2512

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top p0 to 1
Max tokens1 to 209715

The most output tokens to generate.

Temperature0 to 2
Presence penalty-2 to 2
Frequency penalty-2 to 2

Every API field of Mistral: Ministral 3 8B 2512 is on its tool page: open its card above.

What can you do with Ministral 3 8B in Claude 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.

Questions about Ministral 3 8B in Claude Code

Can Claude Code use Ministral 3 8B?

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

How much does Ministral 3 8B cost in Claude 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 Claude Code plan is separate.

Do I need an OpenRouter account to use Ministral 3 8B in Claude 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 Claude Code?

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

Does Claude Code wait while Ministral 3 8B runs?

Ministral 3 8B runs in the background. Claude 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.

Get started

Start using Ministral 3 8B in Claude Code

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

Paste this into Claude Code:

Set up Claude Code

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