# Mistral Medium

> Mistral AI's mid-tier multimodal model (Medium 3.5) for agentic and coding workloads.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `mistral/mistral-medium-latest`
- Live status and providers as JSON, no key needed: https://api.ohmygpt.com/v1/models/mistral/mistral-medium-latest
- Released: 2026-04-28
- Context: 256K tokens
- Max output: 131K tokens
- Input: image, text; output: text

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | $1.65 | per 1M tokens |
| Output | $8.25 | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:mistral/mistral-medium-latest`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Mistral AI | `mistral:mistral/mistral-medium-latest` | France | $1.65 | $8.25 | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `mistral/mistral-medium-latest` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `mistral/mistral-medium-latest` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `mistral/mistral-medium-latest` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/mistral/mistral-medium-latest:generateContent | `mistral/mistral-medium-latest` |

## Example

```bash
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral/mistral-medium-latest",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/mistral/mistral-medium-latest
