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

# Mistral Large 4

> MixRoute で Mistral Large 4 を呼び出す OpenAI 互換の例です。

Mistral Large 4 は、指示への応答と推論を組み合わせた Mistral のオープンウェイトモデルです。公式モデルカードによると、コンテキストは 1M トークンです。以下の MixRoute の例はテキストの入出力を扱います。

Console では `mistral-large-4` のエンドポイントとして `POST /v1/chat/completions` が掲載されています。レスポンスにプロバイダーの別名が表示されても、リクエストではこの MixRoute モデル ID を指定してください。

## リクエスト例

実行前に `MIXROUTE_API_KEY` を設定してください。

```bash theme={null}
curl https://api.mixroute.ai/v1/chat/completions \
  -H "Authorization: Bearer $MIXROUTE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral-large-4",
    "messages": [{"role": "user", "content": "MODEL_OK のみを返してください。"}],
    "max_tokens": 512
  }'
```

## 参考資料

* [Console のモデルエンドポイント一覧](https://mixroute.ai/docs/ja/api-reference/model-endpoints.md)
* [Chat Completions（OpenAI）](https://mixroute.ai/docs/ja/api-reference/endpoint/chat-openai.md)
* [Mistral Large 4 のモデルカード](https://docs.mistral.ai/models/mistral-large-4-0)


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