Lain Budget Vision Operational · 100% success (24h)

MiniMax M3.1 Flash API: pricing, code samples & live stats

MiniMax M3.1 Flash from the Lain family, Budget class. Call it with one BangunWeb API key in OpenAI or Anthropic format. No credit card needed, and usage is billed in prepaid tokens.

Model ID

minimax-m3.1-flash

Sign up with Google, no payment. API key ready instantly.

Price per 1M tokens

Input tokens$0.079
Output tokens$0.079
Base fee per request
$0.0001
Example request (1,000 in + 500 out)
$0.0002
One coding-agent step (~20k input tokens)
$0.0017

Based on the Saver package. Bigger packages cost less: from $0.047 per 1M input tokens on Raja.

Packages from $0.55. Pay with QRIS, Indonesian bank transfer, or crypto (USDT). Tokens never expire.

Top Model rank

Real usage, last 7 days

From customer requests through the BangunWeb gateway, not vendor numbers. Refreshed every 15 minutes.

#24Top Model rank
7Active users
298Requests
100.0%Success
5.0 sAvg response time

Time to first reply (fastest route probe): 0.9 s. See the Top Model board →

API

Use MiniMax M3.1 Flash in one minute

Base URL https://router.bangunweb.com/v1, an API key from your dashboard, and model ID minimax-m3.1-flash. Copy, swap the key, run.

curl
curl https://router.bangunweb.com/v1/chat/completions \
  -H "Authorization: Bearer bwr_live_..." \
  -H "Content-Type: application/json" \
  -d '{"model": "minimax-m3.1-flash", "messages": [{"role": "user", "content": "Hi, introduce yourself briefly."}]}'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://router.bangunweb.com/v1",
    api_key="bwr_live_...",
)

r = client.chat.completions.create(
    model="minimax-m3.1-flash",
    messages=[{"role": "user", "content": "Hi, introduce yourself briefly."}],
)
print(r.choices[0].message.content)

One line installs OpenCode (terminal coding agent) with this model as default:

OpenCode
curl -fsSL https://bangunweb.com/install | BANGUNWEB_MODEL=minimax-m3.1-flash sh

API docs →Beginner guide →

Similar models

One API key for all of them. Just change the model ID.

See all 65 models →

Questions about the MiniMax M3.1 Flash API

How much does the MiniMax M3.1 Flash API cost?

$0.079 per 1M input tokens and $0.079 per 1M output tokens (Saver package), plus a $0.0001 base fee per request. Bigger packages are cheaper per token.

How do I pay?

Buy a token package in the dashboard, from $0.55. Pay with QRIS, Indonesian bank transfer, or crypto (USDT). No credit card needed.

Does MiniMax M3.1 Flash work with the OpenAI SDK?

Yes. Set base_url to https://router.bangunweb.com/v1, use your BangunWeb API key and model="minimax-m3.1-flash". The Anthropic format (/v1/messages) is supported too.

Can I use it in Claude Code or OpenCode?

Yes. Run the one-line installer above, or set the base URL and API key in the tool yourself. Cursor, Cline, n8n and other OpenAI-compatible tools work too.

Is there a free trial?

Sign up with a Google account to get 2M free trial tokens, enough to test this model before buying.

Try it free today

2M free tokens for new Google accounts. Start telling an AI to build your app right away.