Back to models
MiniMax

MiniMax M3.1 Flash

Quick Stats

Context

—

Max Output

33K

Provider

MiniMax

Specs

1

Modalities

in textin imagein videoout text

Specs & Platform Price (per 1M tokens)

Quality
Input $0.15Output $0.6Cache read $0.015Cache write 5m $0

Recommended Plan

MiniMax M3.1 Flash Starter Plan

Pay-as-you-go after top-up; $1 free credit for new users.

Buy Plan

API Endpoint

Model IDminimax/m3.1-flash

cURL

curl https://intertoken.ai/v1/chat/completions \
  -H "Authorization: Bearer $TOKENPORTAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "minimax/m3.1-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Python (openai SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://intertoken.ai/v1",
    api_key="$TOKENPORTAL_API_KEY",
)

resp = client.chat.completions.create(
    model="minimax/m3.1-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

Start using this model

Sign up free, get an API key, and make your first call in 30 seconds.