[Integrations](https://spiral.ai/integrations) › [Codex](https://spiral.ai/integrations/codex) › [Ministral 3 3B](https://spiral.ai/integrations/codex/ministral-3-3b)

# How to Use Ministral 3 3B in Codex

Use Ministral 3 3B for classification, data extraction, translation, and short drafts. Unlike Ministral 3 3B Reasoning, it is tuned for instruction-following tasks rather than extended reasoning.

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

## Prompts to try with Ministral 3 3B in Codex

- Use Ministral 3 3B to classify the issue descriptions in this project as bug, feature request, documentation, or other. Return JSON with the issue ID, category, and one supporting quote; do not edit the issues.
- Use Ministral 3 3B to extract order IDs, quantities, and requested dates from the sample customer messages in this project. Return JSON, preserve the original IDs, and use null for missing values.
- Use Ministral 3 3B to translate the English interface strings in this project into French and German. Preserve interpolation tokens, keys, product names, and URLs exactly.
- Use Ministral 3 3B to draft release notes from this project's completed change descriptions. Separate fixes from additions, write one sentence per change, and omit claims absent from the source.
- Use Ministral 3 3B to review this project's order-routing examples. For each request, choose order lookup, policy lookup, or clarification, and explain the choice in one sentence.

## How to set up Ministral 3 3B in Codex

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

### Use Spiral's MCP server

1. **Add the hosted server**

```bash
codex mcp add spiral --url https://api.spiral.ai/mcp
```

2. **Sign in**: Codex opens the browser: sign in to Spiral and click Authorize. No API key. `codex mcp list` then shows Spiral.

```bash
codex mcp login spiral
```

### Use the Spiral skill

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

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

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

## Ministral 3 3B tools and prices

- [Mistral: Ministral 3 3B 2512](https://spiral.ai/tools/openrouter/mistralai/ministral-3b-2512) (OpenRouter): Up to $0.000539 per run at the default inputs. $0.13 per 1M input tokens, $0.13 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 104857 | — | The most output tokens to generate. |
| temperature | 0 to 2 | — |  |

## What can you do with Ministral 3 3B in Codex?

Turn project text into issue labels, extracted records, translations, and release note drafts. Use Ministral 3 3B for focused tasks with explicit output requirements.

### Support ticket classification

Assign incoming messages to billing, delivery, account, or other. Return the ticket ID, chosen category, and a supporting phrase from the message.

### Order details from text

Extract order numbers, product names, quantities, and requested delivery dates from customer messages. Use null when a detail is missing.

### Multilingual support drafts

Translate approved support replies into French, Spanish, or German while preserving order IDs, links, and product names.

### Short product descriptions

Turn supplied product specifications into concise descriptions. Require every feature claim to come from those specifications.

### Release note drafts

Turn completed change descriptions into brief release notes organized by fixes and additions. Keep internal implementation details out of customer-facing copy.

### Focused tool selection

Choose between a small set of clearly described tools, such as order lookup and policy lookup. Request missing details before producing a tool call.

## Overview

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

## Ministral 3 3B in other agents

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

## More Codex guides

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

## Questions about Ministral 3 3B in Codex

**Can Codex use Ministral 3 3B?**

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

**How much does Ministral 3 3B cost in Codex?**

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

**Do I need an OpenRouter account to use Ministral 3 3B in Codex?**

No. Spiral runs Ministral 3 3B 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 3B in Codex?**

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

**Does Codex wait while Ministral 3 3B runs?**

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

**What is Ministral 3 3B good for?**

Mistral lists text classification, translation, data extraction, and short content generation as intended uses. Native JSON output and function calling also make it useful for turning text into records or tool requests.

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

Ministral 3 3B Instruct supports a 256k-token context window.

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

Mistral lists dozens of supported languages, including English, French, Spanish, German, Italian, Portuguese, Dutch, Chinese, Japanese, Korean, and Arabic.

**What temperature should I use?**

Mistral recommends a temperature below 0.1 for routine production use. Use that as a starting point for classification and extraction.

**Is Ministral 3 3B suited to difficult reasoning?**

For difficult reasoning, consider Ministral 3 3B Reasoning. Mistral positions its reasoning models for longer thinking when accuracy matters most, so classification, extraction, and short drafts are more conservative starting points for Ministral 3 3B.

