Skip to content

How to Obtain the API Key for Large Models

I. Preparatory Notes

1.1 What is an API Key

An API Key is your identity credential on the third-party large model platform. OpenClaw calls MiniMax's large model services through it to implement AI functions. The API Key is equivalent to your account password; please keep it properly and do not disclose it to others.

1.2 List of Supported Models

PlatformAvailable ModelsBilling Method
MiniMax CN (China Region)MiniMax M2.7, MiniMax M2.5Billed by Token; prepayment required before use
MiniMax Global (Global Region)MiniMax M2.7, MiniMax M2.5Billed by Token; credit card payment supported

1.3 Fee Notes

  • The OpenClaw application itself is free to use.
  • All fees for large model calls are directly collected by the MiniMax platform.
  • You can view the usage volume and balance in real time on the MiniMax console.
  • It is recommended to set up consumption alerts to avoid unexpected excessive charges.

II. Obtain the API Key for MiniMax CN (China Region)

2.1 Register and Log in to a MiniMax Account

  1. Open a browser and visit the official MiniMax website: https://www.minimaxi.com
  2. Complete registration and login using a mainland China mobile phone number.
  3. Complete real-name authentication (Real-name authentication must be completed to obtain an API Key).

Image 00

2.2 Create an API Key

  1. After logging in, select "API Keys" in the left navigation bar.
  2. Click the "Create a new API Key" button.

Image 01

  1. In the pop-up dialog box: Enter the API Key name.
  2. Click "Create API Key".

Image 02

  1. After successful creation, click to copy.

Image 03

2.3 Token Plan & Points

  1. After logging in, select "API Keys" in the left navigation bar.
  2. Locate "Token Plan & Points", then click "Copy".

Image 04

2.4 Recharge Account Balance & Subscribe to Token Plan

Either a recharged account balance or an active Token Plan is sufficient for use

2.4.1 Recharge Account Balance

  1. Click "Balance" in the left navigation bar, then click "Recharge Now".

Image 05

  1. Enter the recharge amount.
  2. Complete the payment via WeChat.
  3. After successful recharge, the balance will be displayed at the top of the page immediately.

2.4.2 Subscribe to Token Plan

  1. Click "Token Plan" in the left navigation bar, then click "Purchase".

Image 06

  1. Select a subscription plan that suits your current needs.
  2. Complete the payment via WeChat/Alipay.
  3. After successful subscription, the Token Plan will be displayed at the top of the page immediately.

III. Obtain the API Key for MiniMax Global (Global Region)

3.1 Register and Log in to a MiniMax Global Account

  1. Open a browser and visit the MiniMax Global official website: https://www.minimax.io/
  2. Complete registration using an email address.
  3. Verify your email address.
  4. Log in to your global region account.

Image 07

3.2 Create an API Key

  1. After logging in, select "API Keys" in the left navigation bar.
  2. Click the "Create new API Key" button.

Image 08

  1. In the pop-up dialog box: Enter the API Key name.
  2. Click "Create API Key".

Image 09

  1. After successful creation, click to copy.

Image 10

3.3 Token Plan

  1. After logging in, select "API Keys" in the left navigation bar.
  2. Locate "Token Plan", then click "Copy".

Image 11

3.4 Recharge Account Balance & Subscribe to Token Plan

Either a recharged account balance or an active Token Plan is sufficient for use

3.4.1 Recharge Account Balance

  1. Click "Balance" in the left navigation bar, then click "Recharge".

Image 13

  1. Enter the recharge amount.
  2. Complete the payment via bank card/Alipay.
  3. After successful recharge, the balance will be displayed at the top of the page immediately.

3.4.2 Subscribe to Token Plan

  1. Click "Token Plan" in the left navigation bar, then click "Purchase".

Image 14

  1. Select a subscription plan that suits your current needs.
  2. Complete the payment via bank card/Alipay.
  3. After successful subscription, the Token Plan will be displayed at the top of the page immediately.

Released under the MIT License.