MiniMax M3.1 Flash
An open-weights, low-priced model from MiniMax with a 1M-token context window and image and video input. It has no benchmark results in the registry, so its profile rests on specifications and price.
Spec sheet
- Family
- MiniMax
- Released
- 19 Oct 20261 months ago
- Weights
- Open
- Context window
- 1M tokens
- Largest response
- 524k tokens
- Accepts
- text, image, video
- Supports
- tools, reasoning, structured output
- Knowledge cutoff
- –
- Intelligence index
- –
- Input price
- $0.15 / 1M
- Output price
- $0.6 / 1M
- Blended price (3:1)
- $0.26 / 1M
- Index points per $
- –
- Speed
- 124.5 tokens/sec#24
- Popularity
- #6 of 194by usage
- Providers
- 3
- Weights on
- MiniMaxAI/MiniMax-M3.1-Flash
Benchmarks
Score · rank among models testedNo results yet on the benchmarks we track.
The tick on each bar marks the registry median; hover over a bar for the numbers. Sources and how the index is computed: methodology.
Providers and prices
$ per 1M tokens · from genai-prices| Provider | Gateway | Pydantic AI model string | Input | Cached input | Output | Blended |
|---|---|---|---|---|---|---|
| MiniMax | BYOK | – | $0.15 | $0.015 | $0.6 | $0.26 |
| Novita | BYOK | – | $0.15 | $0.015 | $0.6 | $0.26 |
| Together AI | BYOK | together:MiniMaxAI/MiniMax-M3.1-Flash | $0.15 | $0.015 | $0.6 | $0.26 |
Every provider charges the same. Blended price assumes three input tokens for each output token.
Example code
# /// script # dependencies = ["pydantic-ai"] # /// import os from pydantic_ai import Agent os.environ['TOGETHER_API_KEY'] = '...' agent = Agent('together:MiniMaxAI/MiniMax-M3.1-Flash', instructions='Be concise, reply with one sentence.') result = agent.run_sync('Where does "hello world" come from?') print(result.output)
# /// script # dependencies = ["pydantic-ai"] # /// import os from pydantic import BaseModel from pydantic_ai import Agent os.environ['TOGETHER_API_KEY'] = '...' class CityLocation(BaseModel): city: str country: str agent = Agent('together:MiniMaxAI/MiniMax-M3.1-Flash', output_type=CityLocation) result = agent.run_sync('Where were the olympics held in 2012?') print(result.output) #> city='London' country='United Kingdom'
# /// script # dependencies = ["pydantic-ai"] # /// import os import random from pydantic_ai import Agent, RunContext os.environ['TOGETHER_API_KEY'] = '...' agent = Agent( 'together:MiniMaxAI/MiniMax-M3.1-Flash', deps_type=str, instructions="You're a dice game, roll the die and see if it matches the user's guess.", ) @agent.tool_plain def roll_dice() -> str: """Roll a six-sided die and return the result.""" return str(random.randint(1, 6)) @agent.tool def get_player_name(ctx: RunContext[str]) -> str: """Get the player's name.""" return ctx.deps result = agent.run_sync('My guess is 4', deps='Anne') print(result.output)
# /// script # dependencies = ["pydantic-ai"] # /// import asyncio import os from pydantic_ai import Agent os.environ['TOGETHER_API_KEY'] = '...' agent = Agent('together:MiniMaxAI/MiniMax-M3.1-Flash') async def main(): async with agent.run_stream('Explain prompt caching in three bullet points.') as response: async for text in response.stream_text(delta=True): print(text, end='', flush=True) asyncio.run(main())
export TOGETHER_API_KEY='...' uvx pax --model 'together:MiniMaxAI/MiniMax-M3.1-Flash'
# npm install -g @earendil-works/pi-coding-agent export TOGETHER_API_KEY='...' pi --model 'together/MiniMaxAI/MiniMax-M3.1-Flash'
# npm install -g @openai/codex export TOGETHER_API_KEY='...' codex --model 'MiniMaxAI/MiniMax-M3.1-Flash' \ -c model_provider='together' \ -c model_providers.together.name='MiniMax' \ -c model_providers.together.base_url='https://api.together.example/v1' \ -c model_providers.together.env_key='TOGETHER_API_KEY'
// npm install ai @ai-sdk/openai-compatible import { createOpenAICompatible } from '@ai-sdk/openai-compatible' import { generateText } from 'ai' process.env.TOGETHER_API_KEY = '...' const together = createOpenAICompatible({ name: 'together', baseURL: 'https://api.together.example/v1', apiKey: process.env.TOGETHER_API_KEY, }) const { text } = await generateText({ model: together('MiniMaxAI/MiniMax-M3.1-Flash'), system: 'Be concise, reply with one sentence.', prompt: 'Where does "hello world" come from?', }) console.log(text)
Ask MiniMax M3.1 Flash a question with a Pydantic AI agent and print the answer. Run it with uv run hello.py.
Get validated, typed output from MiniMax M3.1 Flash by giving the agent a Pydantic model. Run it with uv run structured_output.py.
Give MiniMax M3.1 Flash two tools to call, one of which reads the agent's dependencies. Run it with uv run tools.py.
Stream MiniMax M3.1 Flash's reply to the terminal as it is generated. Run it with uv run streaming.py.
Chat with MiniMax M3.1 Flash in your terminal using pax, the TUI for pydantic-ai-harness. Coming soon.
Use MiniMax M3.1 Flash as the model behind the pi coding agent, with your own MiniMax key.
Run OpenAI's Codex CLI on MiniMax M3.1 Flash, which MiniMax serves over an OpenAI-compatible API.
Call MiniMax M3.1 Flash from TypeScript with the Vercel AI SDK.
Compare
Score against blended price per 1M tokens (log scale). MiniMax M3.1 Flash DeepSeek V4.1 Flash other models
About MiniMax M3.1 Flash
Description written by an LLM from the data on this pageAn open-weights, low-priced model from MiniMax with a 1M-token context window and image and video input. It has no benchmark results in the registry, so its profile rests on specifications and price.
MiniMax M3.1 Flash is an open-weights model released in October 2026. It is priced at the low end of the registry, at $0.15 per million input tokens and $0.60 per million output tokens, giving a blended price of about $0.26 per million tokens against a registry median of about $1.01. It ranks 38th of 194 on price, where 1 is the cheapest.
The model has a context window of 1M tokens and can return responses of up to 524k tokens. It accepts text, image and video input and supports tool calling, reasoning mode and structured output. It is served by MiniMax, Novita and Together AI. Its popularity rank of 6th of 194 is high relative to the rest of the registry.
The registry holds no benchmark results for this model, and no intelligence index score, so its quality relative to other models cannot be judged from the data given. Its knowledge cutoff is not recorded.
Strengths
- Input costs $0.15 per million tokens, well below the registry median blended price
- Context window of 1M tokens with responses up to 524k tokens
- Accepts text, image and video input, with tool calling and structured output
- Ranks 6th of 194 for popularity among models in the registry
Weaknesses
- No benchmark results, so output quality cannot be compared with other models
- Available from three providers, with no built-in Pydantic AI Gateway support
- No intelligence index or value rank is available
Best for
Cost-sensitive agents that process long documents or mixed text, image and video input, where benchmark evidence is not required.