Skip to main content

Obtain Authentication Credentials

  • GroupID is the unique identifier for your account, linked to your account’s privileges. It is associated with your top-ups, billing, and throughput usage.
  • API key is essential for securely accessing the API. Make sure to store it in a secure location, such as an encrypted text file on your computer, to prevent unauthorized access.
Follow these steps to obtain them:

1. Get the GroupID

  • Go to the Account tab and select Your Profile from the left menu.
  • Locate the GroupID field in the basic information. This is a 19-digit number. You can use the copy icon to copy the GroupID.
GroupID

2. Generate an API Key

  • In the left menu, click on API Keys, then select Create New Secret Key.
API Keys
  • Enter a name for the key in the provided field, then click Create.
Create Key
  • A dialog box will appear. Before clicking Confirm, use the copy icon to securely save the API key, as it will not be displayed again.
Save API Key

Usage

1. Call the MiniMax-M2 Model via API

The MiniMax-M2 model can be accessed through Anthropic or OpenAI-compatible API endpoints.

2. Use the MiniMax-M2 Model in AI Coding Tools

You can directly select and use the MiniMax-M2 model within supported AI coding tools.