> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Mistral

> Mistral AI builds open-weight and proprietary models (Mistral Large, Mistral Medium, Mistral Small, Ministral, Codestral) with strong multilingual performance and a commitment to European AI sovereignty.

Mistral offers 20 models through Lava's AI Gateway, supporting Chat Completions, Embeddings. Authentication uses `Authorization: Bearer`. See the [Mistral API docs](https://docs.mistral.ai/api) for provider-specific parameters.

> [!NOTE]
>
> Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.

## Quick Start

```typescript theme={null}
const response = await fetch('https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.mistral.ai%2Fv1%2Fchat%2Fcompletions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${forwardToken}`,
  },
  body: JSON.stringify({
    model: 'mistral-small-2603',
    messages: [{ role: "user", content: "Hello!" }],
  }),
});
```

## Chat Completions

**Target URL:** `https://api.mistral.ai/v1/chat/completions`

| | |
| - | - |
| **Content Type** | `application/json` |
| **Streaming** | Yes (set `stream: true` in request body) |

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| mistral-medium-latest | \$1.50 | \$7.50 |
| mistral-medium | \$1.50 | \$7.50 |
| mistral-medium-2604 | \$1.50 | \$7.50 |
| mistral-medium-3-5 | \$1.50 | \$7.50 |
| mistral-medium-3 | \$1.50 | \$7.50 |
| mistral-large-4 | \$1.36 | \$4.18 |
| mistral-large-4-0 | \$1.36 | \$4.18 |
| mistral-large-latest | \$0.50 | \$1.50 |
| codestral-latest | \$0.30 | \$0.90 |
| codestral-2508 | \$0.30 | \$0.90 |
| codestral-2412 | \$0.30 | \$0.90 |
| codestral-2411-rc5 | \$0.30 | \$0.90 |
| ministral-14b-2512 | \$0.20 | \$0.20 |
| ministral-14b-latest | \$0.20 | \$0.20 |
| mistral-small-2603 | \$0.15 | \$0.60 |
| ministral-8b-2512 | \$0.15 | \$0.15 |
| mistral-small-latest | \$0.15 | \$0.60 |
| ministral-8b-latest | \$0.15 | \$0.15 |
| ministral-3b-latest | \$0.10 | \$0.10 |

## Embeddings

**Target URL:** `https://api.mistral.ai/v1/embeddings`

| | |
| - | - |
| **Content Type** | `application/json` |
| **Streaming** | No |

| Model | Input / 1M tokens | Output / 1M tokens |
| - | - | - |
| mistral-embed | \$0.10 | Free |

## Next Steps

> [card] [All Providers](https://lava.so/docs/gateway/supported-providers.md)
>
> Browse all supported AI providers

> [card] [Forward Proxy](https://lava.so/docs/gateway/forward-proxy.md)
>
> Learn how to construct proxy URLs and authenticate requests


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.