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

# MiniMax Coding Plan

**Coding Plan** 係 MiniMax 推出嘅高性價比編程訂閱服務（例如 Starter/Plus 套餐）。透過喺 Cherry Studio 入面配置呢個套餐，你可以用極低嘅固定成本（最低 ¥29/月）使用 `MiniMax-M2.1` 模型。

{% hint style="success" %}
**核心優勢**

* **適用人群**：擁有 MiniMax Coding Plan 訂閱（Starter / Plus / Max）嘅用戶。
* **計費模式**：按時段刷新額度（例如每 5 小時 40 次 Prompt），而唔係按 Token 計費，唔使擔心消耗太快。
  {% endhint %}

### 1. 準備工作

喺開始之前，請確保你已經買咗套餐同埋攞到密鑰：

1. 登入 [**MiniMax 開放平台**](https://platform.minimaxi.com/)。
2. 進入 [**Coding Plan** 頁面](https://platform.minimaxi.com/subscribe/coding-plan?code=FYWiC6CtHy\&source=link)，確保套餐已生效。

   <figure><img src="/files/44985655fb8c965fef0016abbc5757cdfcbda6c2" alt=""><figcaption></figcaption></figure>
3. 喺 **Coding Plan** 喺入面複製你嘅專屬 `API Key`（以 `sk-` 開頭）。

<figure><img src="/files/20b60cfa3030bc0fc5eee3025c3b64c18f034c86" alt=""><figcaption></figcaption></figure>

### 2. 配置步驟

#### 第一步：定位服務商

入去 Cherry Studio，撳側邊欄嘅 **設定** > **模型服務**，喺列表入面搵到 **MiniMax**。

{% hint style="info" %}
如果列表較長，可以喺頂部嘅搜尋框輸入 `mini` 快速定位。
{% endhint %}

#### 第二步：填寫配置

**唔需要** 唔使改複雜嘅 API 地址，直接用預設配置就得，請參考以下說明填寫：

<table><thead><tr><th width="128.20703125">參數項</th><th>填寫說明</th></tr></thead><tbody><tr><td><strong>API Key</strong></td><td>貼上你嘅 Coding Plan 專屬密鑰<br><em>(注意：一定要係買咗套餐之後生成嘅 Key，唔好有多餘空格)</em></td></tr><tr><td><strong>API 地址</strong></td><td>保持預設 <code>https://api.minimaxi.com/v1</code></td></tr><tr><td><strong>開關</strong></td><td>撳右上角開關，確保係 <strong>綠色 (ON)</strong></td></tr></tbody></table>

<figure><img src="/files/db13d6b3eb452fd075b80f216eb4fe4d6da35fb7" alt=""><figcaption></figcaption></figure>

#### 第三步：加入指定模型（關鍵）

Coding Plan 套餐只支援特定模型，揀錯模型就會用唔到或者產生額外費用。

1. 撳配置頁底部嘅 **管理 (Manage)** 按鈕。

<figure><img src="/files/267df2411306c7d87ab5b7e97e7a98db2a6c5e6c" alt=""><figcaption></figcaption></figure>

2. 喺列表入面搵到並加入 **`MiniMax M2.1`**。

{% hint style="warning" %}
**請務必揀啱模型！**

* ✅ **推薦**：`MiniMax M2.1` (Coding Plan 指定主力模型)。
  {% endhint %}

#### 第四步：儲存並驗證 <a href="#headingcab61b6e3e264a4b8e56bc83923488d2-di-si-bu-bao-cun-bing-yan-zheng-0" id="headingcab61b6e3e264a4b8e56bc83923488d2-di-si-bu-bao-cun-bing-yan-zheng-0"></a>

1. 撳 API 密鑰輸入框旁邊嘅 **檢測 (Check)** 按鈕。
2. 如果顯示綠色 **Success**，就表示你嘅 Coding Plan 套餐已成功連接！

### 3. 用量同限制說明

Coding Plan 同普通 API 嘅計費模式完全唔同，請務必理解以下機制：

{% hint style="info" %}
**額度刷新機制** Coding Plan 嘅額度係 **週期性刷新** 嘅。例如 Starter 套餐：**每 5 個鐘** 提供 **40 次** 對話額度。

* **如果唔再回覆：**：就表示你而家 5 個鐘嘅額度已經用晒。
* **解決辦法**：休息幾個鐘，等額度自動恢復就得，唔使額外付費。
  {% endhint %}

### 4. 常見問題排查

{% hint style="danger" %}
**遇到 `429 Too Many Requests` 報錯？**

呢個唔係軟件故障，而係觸發咗 **Coding Plan 嘅頻率控制限制**。

* 呢表示你而家時段嘅「發訊息次數」已經用晒。
* 請耐心等待下一個 5 個鐘週期刷新。
  {% endhint %}

{% hint style="warning" %}
**遇到 `401 Unauthorized` 報錯？**

* 檢查 API Key 有冇多餘空格。
* 登入 MiniMax 官網確認你嘅 Coding Plan 訂閱係咪已經過期。
  {% 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, and the optional `goal` query parameter:

```
GET https://docs.cherryai.com.cn/docs/zhong-wen-fan-ti/pre-basic/providers/minimax-coding-plan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
