Skip to main content

Getting Started

1

Get your Subscription Key

Visit Billing > Token Plan to view your Subscription Key.
Important Notes:
  • The Subscription Key is used for Token Plan subscriptions and purchased Credits.
  • It is not interchangeable with pay-as-you-go API Keys.
  • The key can exist before you have any paid resources. It becomes usable when you have an assigned Token Plan seat or Credits access.
  • Please protect your API Key. We recommend exporting it as an environment variable or saving it to a config file.
2

Get resources

Buy an individual Plus, Max, or Ultra Token Plan subscription or a Credits package in your Default Team, or use resources assigned by your Team Owner or Admin.
3

Test API Call (Optional)

Quickly test MiniMax M3 with the Claude SDK1. Install Claude SDK
pip install anthropic
2. Configure Environment Variables
export ANTHROPIC_BASE_URL=https://api.minimax.io/anthropic
export ANTHROPIC_API_KEY=${YOUR_API_KEY}
3. Call API
Python
import anthropic

client = anthropic.Anthropic()

message = client.messages.create(
    model="MiniMax-M3",
    max_tokens=1000,
    system="You are a helpful assistant.",
    messages=[
        {
            "role": "user",
            "content": [
                {
                    "type": "text",
                    "text": "Hi, how are you?"
                }
            ]
        }
    ]
)

for block in message.content:
    if block.type == "thinking":
        print(f"Thinking:\n{block.thinking}\n")
    elif block.type == "text":
        print(f"Text:\n{block.text}\n")
4

Integrate with AI Coding Tools

Choose your preferred AI coding tool from the options below to experience the latest MiniMax M-series model capabilities

Claude Code

Cursor

Trae

OpenCode

Kilo Code

Grok CLI

Codex CLI

Droid

MCP Integration

Quickly integrate Token Plan MCP for Web Search capability

MCP Guide

Learn how to configure and use Token Plan MCP

Learn More

Token Plan Pricing

View subscription and Credits rules.

FAQ

Review common questions on usage, billing, switching, and refunds.

Best Practices

Quickly view MiniMax Token Plan prompting patterns and practical examples

M-series Usage Tips

Master prompt templates, tool-use patterns, and long-context workflows for Token Plan models

Mini Agent

Build Agents with M-series Models