MiniMax logo

MiniMax M3.1 Flash

by MiniMax
minimax/minimax-m3.1-flash

MiniMax M3.1 Flash is a text and image and video-input model by MiniMax, available through the AgentSky API as minimax/minimax-m3.1-flash at $0.165 per million input tokens and $0.66 per million output tokens, with a 1M context window.

A fast, always-thinking MiniMax model with image and video understanding, tool calling and adjustable reasoning effort.

Run MiniMax M3.1 Flash with an agent

Each guide pairs this model with a compatible agent and opens the composer with both selected.

Pricing

USD per million tokens, using your plan when signed in.
MeterPer 1M tokens
InputPrice: $0.165
OutputPrice: $0.66
Cache readPrice: $0.0165
Cache writePrice: $0.165

Every response carries its own cost. Balance and per-call records: /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://gateway.agentsky.dev/v1",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const completion = await client.chat.completions.create({
  model: "minimax/minimax-m3.1-flash",
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(completion.usage.cost); // USD, in the response

Questions