# Mistral Small 3.1 24B Instruct

> Building upon Mistral Small 3 (2501), Mistral Small 3.1 (2503) adds state-of-the-art vision understanding and enhances long context capabilities up to 128k tokens without compromising text performance. With 24 billion parameters, this model achieves top-tier capabilities in both text and vision tasks.

**ID**: `mistralai/mistral-small-3.1-24b-instruct`  
**Creator**: Mistral AI  
**Category**: text  
**Context**: 131K tokens  
**Pricing**: $0.10 / $0.30 per 1M · billed by your provider (BYOK)  
**Released**: 2025-03-18  
**Web page**: https://anyrouter.dev/model/mistralai/mistral-small-3.1-24b-instruct

**Input modalities**: text  
**Output modalities**: text  

**Capabilities**: chat, streaming, function-calling

**Supported parameters**: max_tokens, temperature, top_p, stop, tools, tool_choice, response_format

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/chat/completions`

```bash
curl https://anyrouter.dev/api/v1/chat/completions \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "mistralai/mistral-small-3.1-24b-instruct",
  "messages": [
    {
      "role": "user",
      "content": "Say hi in 3 words."
    }
  ]
}'
```

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| mistral-byok | $0.10/M (list) | $0.30/M (list) |
| openrouter-byok | $0.35/M (list) | $0.56/M (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.
