> For the complete documentation index, see [llms.txt](https://docs.cherry-ai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherry-ai.com/docs/zhong-wen-fan-ti/pre-basic/providers/grok.md).

# Grok

Grok 係 xAI 推出嘅大模型，以「語氣更隨意 + 接入 X (Twitter) 實時數據」著稱。

## 拎 API Key

* 去 [xAI Console](https://console.x.ai/) 註冊帳號
* `API 金鑰` → `建立 API 金鑰`，複製 `xai-...` 密鑰

## 喺 Cherry Studio 設置

* 打開 `設定 → 模型服務`，搵到 **Grok** Provider 入去詳情頁
* **API 密鑰** 填入 `xai-...`
* **API 地址** 預設 `https://api.x.ai`，唔使修改
* 撳 **獲取模型列表**，加埋 `grok-4`、`grok-4-fast` 等模型

## 推薦用法

| 模型            | 適合場景        |
| ------------- | ----------- |
| `grok-4`      | 綜合最強，複雜任務首選 |
| `grok-4-fast` | 高吞吐、低延遲場景   |
| `grok-3-mini` | 低成本日常對話     |

## 連網搜尋

部分 Grok 模型自帶連網能力，模型名後面會顯示小地球圖示。可直接喺對話框開啟「連網」使用，詳見 [聯網模式](/docs/zhong-wen-fan-ti/pre-basic/websearch.md)。

{% hint style="info" %}

* Grok 需要海外網絡訪問，國內用戶請配代理
* xAI 提供免費額度（按月刷新），日常體驗夠用
  {% endhint %}

***

### 💡 獲取幫助同提交反饋

如果您喺配置或使用過程中遇到任何疑問、Bug 或有功能改進建議，請參考 [反饋同建議](/docs/zhong-wen-fan-ti/question-contact/suggestions.md) 入面提供嘅官方渠道。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/zhong-wen-fan-ti/pre-basic/providers/grok.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
