# 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 an extremely low fixed cost (starting from ¥29/month) `MiniMax-M2.1` model.

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

* **Applicable users**: Users with a MiniMax Coding Plan subscription (Starter / Plus / Max).
* **Billing model**: Quota refreshes by time period (for example, 40 prompts every 5 hours), rather than token-based billing, so you don’t have to worry about consuming it too quickly.
  {% endhint %}

### 1. Preparation

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

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

   <figure><img src="/files/86ac0c72d2c11063d1193fc1c7abf3fe1c5fb04e" alt=""><figcaption></figcaption></figure>
3. In **Coding Plan** copy your exclusive `an API Key`in `sk-` at the beginning).

<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**in the sidebar, and find **MiniMax**.

{% hint style="info" %}
If the list is long, you can type `mini` in the search box at the top to quickly locate it.
{% endhint %}

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

#### Step 2: Fill in the configuration

**API key by default.**&#x59;ou do not need to modify the complex API address; just use the default configuration and fill in according to the following instructions:

<table><thead><tr><th width="128.20703125">Parameter</th><th>Instructions</th></tr></thead><tbody><tr><td><strong>an API Key</strong></td><td>Paste your exclusive Coding Plan key<br><em>(Note: it must be the Key generated after purchasing the plan, with no 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>Toggle 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)

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

1. Click **Manage (Manage)** button in the upper-right corner.

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

2. at the bottom of the configuration page, find and add **`MiniMax M2.1`**.

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

* ✅ **Recommended**:`MiniMax M2.1` (the designated main model for 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 in the upper-right corner.

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

2. If it shows green **Success**, your Coding Plan subscription 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 regular API. Be sure to understand the following mechanisms:

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

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

### 4. Common troubleshooting

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

This is not a software malfunction, but a trigger of **the Coding Plan rate limit**.

* This means the “number of messages sent” for the current period has been exhausted.
* Please wait patiently for the next 5-hour cycle to refresh.
  {% endhint %}

{% hint style="warning" %}
**Encountering `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 %}


---

# Agent Instructions: 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/en-us/pre-basic/providers/minimax-coding-plan.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.
