> ## 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 Turbo Preview 1106

> 使用 MixRoute 的 Chat Completions 請求格式呼叫 GPT-4 Turbo Preview 1106 快照 ID。

GPT-4 Turbo Preview 1106 是 OpenAI 的 GPT-4 Turbo 快照。請求中請使用完整的 MixRoute 模型 ID `gpt-4-1106-preview`。

> [!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-1106-preview",
    "messages": [{"role":"user","content":"Reply with OK only."}],
    "max_tokens": 64
  }'
```

## API 參考

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


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