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

# Grok 4 0709

> Grok 4 0709 | 文字生成

文字生成 · `grok-4-0709`

使用此完整 MixRoute 模型 ID 選擇路由。

`POST /v1/chat/completions`

請在 [MixRoute 模型廣場](https://console.mixroute.ai/models) 確認金鑰分組的可用性。列入目錄不代表路由已開放。

> [!WARNING]
>
> 此 ID 已列入目錄，但目前分組不一定有可用渠道。整合前請確認已開通；調整請求內容無法排除沒有可用渠道的錯誤。

## 快速範例

執行前請設定 `MIXROUTE_API_KEY`。

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

從 `choices[0].message.content` 讀取文字。

## 參數

| 欄位 | 說明 |
| - | - |
| `model` | `grok-4-0709`. 使用上方列出的完整模型 ID。 |
| `messages` | 範例中的輸入對話。 |

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