> ## 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 Small, Pixtral) with strong multilingual performance and a commitment to European AI sovereignty.

Mistral offers 34 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.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

## 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 |
| -------------------------- | ----------------- | ------------------ |
| magistral-medium-latest    | \$2.00            | \$5.00             |
| pixtral-large-latest       | \$2.00            | \$6.00             |
| pixtral-large-2411         | \$2.00            | \$6.00             |
| mistral-large-pixtral-2411 | \$2.00            | \$6.00             |
| mistral-medium-latest      | \$1.50            | \$7.50             |
| mistral-medium             | \$1.50            | \$7.50             |
| mistral-medium-2604        | \$1.50            | \$7.50             |
| mistral-large-latest       | \$0.50            | \$1.50             |
| magistral-small-latest     | \$0.50            | \$1.50             |
| mistral-medium-2508        | \$0.40            | \$2.00             |
| mistral-medium-2505        | \$0.40            | \$2.00             |
| codestral-latest           | \$0.30            | \$0.90             |
| codestral-2508             | \$0.30            | \$0.90             |
| codestral-2501             | \$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-saba-latest        | \$0.20            | \$0.60             |
| mistral-saba-2502          | \$0.20            | \$0.60             |
| 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             |
| pixtral-12b                | \$0.15            | \$0.15             |
| pixtral-12b-latest         | \$0.15            | \$0.15             |
| pixtral-12b-2409           | \$0.15            | \$0.15             |
| open-mistral-nemo          | \$0.15            | \$0.15             |
| open-mistral-nemo-2407     | \$0.15            | \$0.15             |
| mistral-tiny-2407          | \$0.15            | \$0.15             |
| mistral-tiny-latest        | \$0.15            | \$0.15             |
| ministral-3b-latest        | \$0.10            | \$0.10             |
| devstral-small-latest      | \$0.10            | \$0.30             |

## 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

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
