Skip to main content
1

Register or Login

Access MiniMax API Platform, register or login .
2

Create an API Key

After generating an API key, we recommend you export it as an environment variable in terminal or save it to a .env file.
# Compatible Anthropic API (Recommended)
export ANTHROPIC_BASE_URL=https://api.minimax.io/anthropic
export ANTHROPIC_API_KEY=${YOUR_API_KEY}
3

Recharge Account

Access Billing/Balance page to top up if needed.