Minimax M3.1 Flash API pricing and code examples

Minimax M3.1 Flash is a MiniMax model you can call through LivRouter's OpenAI-compatible endpoint. There is no separate MiniMax account and no separate invoice: one LivRouter API key reaches Minimax M3.1 Flash alongside every other model on the platform, billed per token from prepaid credits.

Minimax M3.1 Flash API at a glance

Compare Minimax M3.1 Flash API pricing, model ID, and OpenAI-compatible examples through LivRouter.

Model ID
minimax-m3.1-flash
Provider
MiniMax
API format
OpenAI-compatible
Billing
Per token from LivRouter credits
Common integration focus
MiniMax API integrations

Minimax M3.1 Flash pricing

Rates are in USD per 1M tokens. The reference row is the provider base rate recorded in LivRouter's catalog; the plan rows show the published rates for each eligible plan.

PlanInput / 1MOutput / 1MCached input / 1M
Reference (MiniMax)$0.05$0.25$0.0025
Start$0.05$0.25$0.0025
Max MiniMax−84%$0.008$0.04$0.0004
Pro MiniMax−76%$0.012$0.06$0.0006

Lowest listed LivRouter rate for Minimax M3.1 Flash: $0.008 per 1M input tokens on the Max MiniMax plan — about 84% below the MiniMax reference rate. See every plan and rate.

Source: LivRouter model catalog. Catalog checked .

What does a Minimax M3.1 Flash request cost?

One million uncached input tokens plus 100,000 output tokens at the listed Max MiniMax rates cost $0.012. This example excludes subscription fees and assumes the selected plan is active. Actual charges depend on input, output, and cached-token usage.

Compare plan fees and credit allowances

Call Minimax M3.1 Flash with the OpenAI SDK

Minimax M3.1 Flash follows the OpenAI chat completions format, so existing OpenAI client code keeps working — change the base URL and the model name.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.livrouter.com/v1",
  apiKey: process.env.LIVROUTER_API_KEY,
});

const completion = await client.chat.completions.create({
  model: "minimax-m3.1-flash",
  messages: [{ role: "user", content: "Hello" }],
});

console.log(completion.choices[0].message.content);

Prefer plain HTTP? The same request over curl:

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

Frequently asked questions about Minimax M3.1 Flash

How much does minimax-m3.1-flash cost through LivRouter?

minimax-m3.1-flash is metered per token. The MiniMax reference rate is $0.05 per 1M input tokens and $0.25 per 1M output tokens. On the Max MiniMax plan LivRouter charges $0.008 per 1M input tokens, about 84% below the MiniMax reference rate. Cached input is $0.0004 per 1M tokens.

Can I call minimax-m3.1-flash with the OpenAI SDK?

Yes. minimax-m3.1-flash is reachable through the OpenAI-compatible endpoint at https://api.livrouter.com/v1. Keep your existing OpenAI client code and change the base URL and the model name to "minimax-m3.1-flash".

Do I need a separate MiniMax account?

No. LivRouter routes the request for you. You only need a LivRouter API key and credits — no separate MiniMax subscription.

Is minimax-m3.1-flash available on the Start tier?

Yes. minimax-m3.1-flash is reachable from the Start tier group, billed pay-as-you-go at the rates shown above.

Other MiniMax models on LivRouter

View all model pricingMiniMax API overviewQuickstart guide