> 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/en-us/pre-basic/providers/minimax-coding-plan.md).

# MiniMax Coding Plan

**Coding Plan** is a cost-effective coding subscription service launched by MiniMax (such as the Starter/Plus plans). By configuring this plan in Cherry Studio, you can use it at a very low fixed cost (as low as ¥29/month) `MiniMax-M2.1` model.

{% hint style="success" %}
**Core advantages**

* **Who it's for**: Users who have a MiniMax Coding Plan subscription (Starter / Plus / Max).
* **Billing model**: The quota refreshes by time period (e.g. 40 prompts every 5 hours) rather than being billed by token, so you don't have to worry about usage being consumed too quickly.
  {% endhint %}

### 1. Preparation

Before you begin, make sure you've purchased the plan and obtained the key:

1. Log in [**MiniMax Open Platform**](https://platform.minimaxi.com/).
2. Enter [**Coding Plan** page](https://platform.minimaxi.com/subscribe/coding-plan?code=FYWiC6CtHy\&source=link), to make sure the plan has taken effect.

   <figure><img src="/files/86ac0c72d2c11063d1193fc1c7abf3fe1c5fb04e" alt=""><figcaption></figcaption></figure>
3. in **Coding Plan** copy your exclusive `API Key`(starting with `sk-` prefix).

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

### 2. Configuration steps

#### Step 1: Locate the provider

In Cherry Studio, click the **Settings** > **Model Services**, then find **MiniMax**.

{% hint style="info" %}
If the list is long, you can enter `mini` to quickly locate it.
{% endhint %}

<figure><img src="/files/62c0c38d246ccd80bde4dc16289bde07ef3d75c0" alt=""><figcaption></figcaption></figure>

#### Step 2: Fill in the configuration

**does not require**No need to modify the complex API address; just use the default configuration. Please fill in according to the instructions below:

<table><thead><tr><th width="128.20703125">Parameter</th><th>Instructions</th></tr></thead><tbody><tr><td><strong>API Key</strong></td><td>Paste your exclusive Coding Plan key<br><em>(Note: It must be the key generated after purchasing the plan; do not include extra spaces)</em></td></tr><tr><td><strong>API address</strong></td><td>Keep default <code>https://api.minimaxi.com/v1</code></td></tr><tr><td><strong>switch</strong></td><td>Click the switch in the upper-right corner to make sure it is <strong>green (ON)</strong></td></tr></tbody></table>

<figure><img src="/files/7a71dca91121c6e336902d30b3a3f710162f90b2" alt=""><figcaption></figcaption></figure>

#### Step 3: Add the specified model (key step)

The Coding Plan plan only supports specific models; choosing the wrong model will make it unusable or incur additional charges.

1. Click the **Manage (Manage)** button.

<figure><img src="/files/7cd2f1a9a47a0676e5ed6fe696ad96f80a0b4b23" alt=""><figcaption></figcaption></figure>

2. Find and add in the list **`MiniMax M2.1`**.

{% hint style="warning" %}
**Be sure to choose the correct model!**

* ✅ **Recommended**:`MiniMax M2.1` (the main model specified by Coding Plan).
  {% endhint %}

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

#### Step 4: Save and verify <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. Click the **Check (Check)** button.

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

2. If it shows green **Success**, it means your Coding Plan plan has been successfully connected!

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

### 3. Usage and limitations

The billing model of Coding Plan is completely different from that of a normal API, so be sure to understand the following mechanisms:

{% hint style="info" %}
**Quota refresh mechanism** The quota of Coding Plan is**refreshed periodically**. For example, the Starter plan:**every 5 hours** provides **40 times** conversation quota.

* **If it stops responding**: it means your current 5-hour quota has been exhausted.
* **Solution**: Take a break for a few hours and wait for the quota to automatically replenish; no extra payment is needed.
  {% endhint %}

### 4. Common troubleshooting

{% hint style="danger" %}
**Encountered `429 Too Many Requests` error?**

This is not a software malfunction, but rather it triggered **the Coding Plan rate limiting**.

* This means your current period's number of 'messages sent' has been used up.
* Please patiently wait for the next 5-hour cycle to refresh.
  {% endhint %}

{% hint style="warning" %}
**Encountered `401 Unauthorized` error?**

* Check whether the API key has extra spaces.
* Log in to the MiniMax official website to confirm whether your Coding Plan subscription has expired.
  {% endhint %}

***

### 💡 Get help and submit feedback

If you encounter any questions, bugs, or have suggestions for feature improvements during configuration or use, please refer to [Feedback and Suggestions](/docs/en-us/question-contact/suggestions.md) the official channels provided there.


---

# 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.cherry-ai.com/docs/en-us/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.
