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

> Mistral Large 4 的 MixRoute OpenAI 兼容调用示例。

Mistral Large 4 是 Mistral 的开放权重指令和推理混合模型，厂商型号页公布的上下文窗口为 1M Token。下方 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/zh-Hans/api-reference/model-endpoints.md)
* [创建对话请求（OpenAI）](https://mixroute.ai/docs/zh-Hans/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.