[Integrations](https://spiral.ai/integrations) › [ChatGPT](https://spiral.ai/integrations/chatgpt) › [Mistral Medium 3.1](https://spiral.ai/integrations/chatgpt/mistral-medium-3-1)

# How to Use Mistral Medium 3.1 in ChatGPT

Mistral Medium 3.1 suits coding, document questions, and structured extraction. It updates Mistral Medium 3 with improvements to tone and performance.

|  |  |
| --- | --- |
| Model | Mistral Medium 3.1 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.010668 per run at the default inputs. $0.52 per 1M input tokens, $2.60 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Mistral Medium 3.1 in ChatGPT

- Use Mistral Medium 3.1 to compare the two specification texts supplied in this conversation. Make a table of changed requirements, contradictions, and unanswered questions, with a supporting excerpt for each finding.
- Use Mistral Medium 3.1 to turn the order email supplied here into a JSON object containing the customer name, order reference, requested items, and delivery date. Use null for missing information and choose low randomness.
- Use Mistral Medium 3.1 to explain the engineering problem supplied here to a new graduate. State the assumptions and units, work through the calculation, and identify steps I should verify with a calculator.
- Use Mistral Medium 3.1 to translate the customer message supplied here into French, German, and Spanish. Preserve product names and numbers, follow the supplied glossary, and flag wording that has more than one interpretation.
- Use Mistral Medium 3.1 to draft three replies to the customer question supplied here using only the accompanying policy text. Make one direct, one reassuring, and one formal; include the policy passage supporting each reply.

## How to set up Mistral Medium 3.1 in ChatGPT

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

### Use the ChatGPT connector

1. **Add a custom MCP server**: In ChatGPT open Plugins, then Add › Add custom MCP server. Name it Spiral, paste this URL and keep Authentication on OAuth. Tick I understand and want to continue, then click Create.

```text
https://api.spiral.ai/mcp
```

2. **Click Connect**: ChatGPT asks to connect Spiral. Connect takes you to Spiral in your browser.

3. **Sign in to Spiral and approve**: Sign in, pick the organization ChatGPT should use and click Authorize. Spiral gives the connection its own API key; ChatGPT never sees it, and you can remove the connection under Settings › Connected apps.

### Use the Spiral skill

1. **Send ChatGPT 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 Medium 3.1**: 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-medium-3.1",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: ChatGPT finds Mistral Medium 3.1 on Spiral, shows the price and runs it.

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

## Mistral Medium 3.1 tools and prices

- [Mistral: Mistral Medium 3.1](https://spiral.ai/tools/openrouter/mistralai/mistral-medium-3.1) (OpenRouter): Up to $0.011736 per run at the default inputs. $0.572 per 1M input tokens, $2.86 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 Mistral Medium 3.1 in ChatGPT?

Turn supplied technical material into explanations, document answers, and multilingual drafts with Mistral Medium 3.1. State the audience and desired format, and ask for supporting passages when the answer depends on a document.

### Review a code change

Give Mistral Medium 3.1 a diff and the intended behavior. Ask for concrete failure cases, a suggested correction, and tests that would expose the problem.

### Turn a bug report into regression tests

Supply the failing behavior and relevant code. Request tests for the reported failure, boundary conditions, and the expected result after a fix.

### Answer questions about technical documents

Provide the document text and ask targeted questions about requirements, exceptions, or dependencies. Request a supporting passage for each answer and an explicit acknowledgment of missing evidence.

### Extract records from business text

Convert supplied order emails, service requests, or meeting notes into structured records. Define the required structure and use null for information the source does not contain.

### Localize customer communications

Draft French, German, Spanish, or Italian versions of supplied customer messages. Provide a terminology guide and ask to preserve product names, numbers, and commitments.

### Prepare support reply drafts

Combine a customer's message with the relevant policy text to draft a response. Ask for the supporting policy passage and flag questions the supplied information cannot answer.

### Explain a technical calculation

Supply the problem, assumptions, and units. Request a proposed solution, intermediate calculations, and checks that a person or calculator can verify.

### Compare requirements across documents

Provide two specification texts and ask for changed requirements, conflicts, and unanswered questions. Request short supporting excerpts so a reviewer can check each finding.

## Overview

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

## Mistral Medium 3.1 in other agents

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

## More ChatGPT guides

- [Mistral Medium 3](https://spiral.ai/integrations/chatgpt/mistral-medium-3)
- [Mistral Medium 3.5](https://spiral.ai/integrations/chatgpt/mistral-medium-3-5)
- [Mistral Large 4](https://spiral.ai/integrations/chatgpt/mistral-large-4)
- [Mistral NeMo](https://spiral.ai/integrations/chatgpt/mistral-nemo)
- [Mistral Large 3](https://spiral.ai/integrations/chatgpt/mistral-large-3)
- [Mistral Saba](https://spiral.ai/integrations/chatgpt/mistral-saba)

## Questions about Mistral Medium 3.1 in ChatGPT

**Can ChatGPT use Mistral Medium 3.1?**

Yes. Add Spiral to ChatGPT as an MCP server, and ChatGPT can find and run Mistral Medium 3.1 like any built-in tool.

**How much does Mistral Medium 3.1 cost in ChatGPT?**

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

**Do I need an OpenRouter account to use Mistral Medium 3.1 in ChatGPT?**

No. Spiral runs Mistral Medium 3.1 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 Medium 3.1 in ChatGPT?**

About two minutes: add a custom MCP server, then click Connect, then sign in to Spiral and approve.

**Does ChatGPT wait while Mistral Medium 3.1 runs?**

Mistral Medium 3.1 runs in the background. ChatGPT starts the run, checks on it and gives you the text, json when it's ready.

**What is Mistral Medium 3.1 good at?**

Coding and STEM reasoning are documented strengths. Practical tasks include reviewing code, explaining technical problems, and extracting structured information from supplied text.

**How much text can Mistral Medium 3.1 handle?**

Its context window is 131,072 tokens, commonly labeled 128k. Input and generated output share that space, so leave room for the answer when supplying long documents.

**Can I rely on Mistral Medium 3.1 to return the exact JSON structure I need?**

JSON mode ensures valid JSON but does not guarantee your required structure. Specify the expected format, prefer schema-constrained output when available, and validate the result before using it.

**Can Mistral Medium 3.1 work in languages besides English?**

Yes. Mistral's language documentation lists French, German, Spanish, Portuguese, Italian, Dutch, Polish, and Czech, among others; test your terminology and tone with representative examples.

**Which temperature should I use for Mistral Medium 3.1?**

Start around 0.2 for extraction and focused technical answers. Try around 0.7 when you want more variation in drafts; these are starting points from Mistral's general guidance.

