Skip to main content

Documentation Index

Fetch the complete documentation index at: https://platform.minimax.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Getting Started

1

Get your Token Plan Key

Visit Billing > Token Plan to view your Token Plan Key.
Important Notes:
  • The Token Plan Key is used for Token Plan quotas and 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 Token Plan subscription or Credits in your Default Team, or use resources assigned by your Team Owner or Admin.
3

Test API Call (Optional)

Quickly test MiniMax M2.7 via Compatible Anthropic API1. Install Anthropic 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-M2.7",
    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 M2.7 model capabilities

Claude Code

Cursor

Trae

OpenCode

Kilo Code

Cline

Roo Code

Grok CLI

Codex CLI

Droid

MCP Integration

Quickly integrate Token Plan MCP for Image Understanding and Web Search capabilities

MCP Guide

Learn how to configure and use Token Plan MCP

Learn More

Credits

Learn how Credits work with the Token Plan Key.

Team Access

Learn how Team seats and shared Credits work.

Best Practices

Quickly view MiniMax M2.7 usage tips and practical examples

M2.7 Usage Tips

Master efficient usage methods and tips for M2.7 model

Mini Agent

Build Agents with M2.7