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

# GPT-4 0613

> 使用 MixRoute 的 Chat Completions 请求格式调用 GPT-4 0613 快照 ID。

GPT-4 0613 是 OpenAI 的 GPT-4 快照。请求中使用完整的 MixRoute 模型 ID `gpt-4-0613`。

> [!NOTE]
>
> 此型号 已列入 MixRoute 公开目录，但目录收录不保证 API Key 所属分组有可用渠道。若返回 HTTP `503` 并提示无可用渠道，表示当前分组暂时无法调用该模型。

## 请求示例

运行示例前，请设置 `MIXROUTE_API_KEY`。

`POST /v1/chat/completions`

```bash theme={null}
curl --fail-with-body --request POST 'https://api.mixroute.ai/v1/chat/completions' \
  --header "Authorization: Bearer $MIXROUTE_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gpt-4-0613",
    "messages": [{"role":"user","content":"Reply with OK only."}],
    "max_tokens": 64
  }'
```

## API 参考

* [Chat Completions](https://mixroute.ai/docs/zh-Hans/api-reference/endpoint/chat-openai.md)


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