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.
HarnessModel
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.
| Meter | Per 1M tokens |
|---|---|
| Input | Price: $0.165 |
| Output | Price: $0.66 |
| Cache read | Price: $0.0165 |
| Cache write | Price: $0.165 |
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