# Minimax M2

Olive Song, MiniMax

AI Engineer Code 2025

[Talk page](https://ai.engineer/talks/lY1iFbDPRlw-minimax-m2) · [Video](https://www.youtube.com/watch?v=lY1iFbDPRlw)

## MiniMax M2: Training for the Environment Around the Model

Useful coding agents need more than strong benchmark scores: they must learn from developer feedback, recover from tool failures and keep working when their surrounding scaffold changes.

Familiarity with language-model tool calling and the basic idea of reinforcement learning will help you follow the training mechanisms.

### Building a model developers can work with

[0:35](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=35s)

What does a coding model need to learn to become useful inside a developer’s everyday workflow? At MiniMax, part of the answer comes from building both foundation models and the applications that use them. Olive Song, who works on reinforcement learning and model evaluation, describes a portfolio spanning text, vision-language, **Hailuo** video generation, speech and music generation, alongside in-house agent applications. Researchers and application developers work side by side, giving the model team firsthand feedback about what developers need.

**[MiniMax M2](https://github.com/MiniMax-AI/MiniMax-M2)** is the open-weight model built around that feedback, with coding and workplace agentic tasks as its targets. Song emphasizes its 10 billion active parameters and cost efficiency. The active count matters: the official repository describes a mixture-of-experts model with 230 billion total parameters, so “10 billion active” does not mean a 10-billion-parameter model’s storage or memory requirements.

![Slide with three columns describing approximately 10B activated parameters and open weights, agentic design for coding and workplace tasks, and fast, cost-efficient scaling.](https://ai.engineer/api/talk-essay-media/5241f601fbf085a3ca56c0d7cfeccf2c67da039163545586262b8287e2bd1e36)

MiniMax-M2’s introduction emphasizes open weights, coding and workplace tasks, and efficiency.

### Scores and everyday use

[2:09](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=129s)

A high-scoring model can still perform poorly when plugged into a particular development environment. Song presents M2 as a leading performer on intelligence and agentic benchmarks, tentatively placing it at the top of open models, but does not name scores in this discussion. Her practical concern is what happens after the benchmark: whether developers actually want the model in their workflow.

Song reports that M2 had the most downloads in its first week and reached the top three for token usage on OpenRouter. The download claim comes without a platform or comparison set; the OpenRouter statement is a historical adoption claim without a specified aggregation window. These signals motivate the rest of the presentation, which connects four characteristics to training choices: coding experience, long-horizon state tracking, generalization across agent scaffolds and multi-agent scalability.

### Scaling environments and expert feedback

[3:28](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=208s)

A coding agent needs practice in the languages and workflows developers actually use. MiniMax builds training environments from real internet data so that, during reinforcement learning, the model can act, observe the environment’s response and learn against **verifiable coding goals**. Scaling this process requires both more environments and the infrastructure to run them efficiently. The accompanying slide makes the inputs concrete: real GitHub repositories, issues and tests, supported by high-concurrency infrastructure.

![Slide titled “Scaled Multilingual Environments for Data & RL” with columns for multilingual coding, 100,000+ environments using real GitHub repositories, issues and tests, and high-concurrency infrastructure.](https://ai.engineer/api/talk-essay-media/212669ea1b2305ca354d671274eb5118d9d8082ef6bac10aab3fa8375c948c15)

Multilingual coding environments and high-concurrency infrastructure support data collection and reinforcement learning.

Song attributes M2’s full-stack, multilingual capability to this combination of data construction and reinforcement learning. But environments are only one source of feedback. MiniMax also brings in expert developers as reward models: people who help determine which problems are worth solving and what a good solution looks like.

Their involvement starts with problem definition, including bug fixing and repository refactoring. It continues through judgments about behavior: whether the model works in a way developers enjoy, find reliable and can trust. Finally, experts evaluate and reward both the process and the delivered result.

| Feedback source | What it contributes |
| --- | --- |
| Coding environment | Observable responses and verifiable goals |
| Expert developer | Task definition, behavior judgments and deliverable evaluation |

**Passing a check and being a useful collaborator are distinct training targets.** The expert feedback gives the training cycle a way to account for the latter. Song reports strong results across multiple languages in real use, without supplying language-specific measurements here.

### Reason again after the tool responds

[5:40](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=340s)

Long tasks introduce another requirement: the model must keep reasoning while it interacts with a complex environment. M2’s approach combines reinforcement learning with **interleaved thinking**. In the baseline sequence Song describes, the model receives tool information, a system prompt and a user prompt; reasons; calls one or more tools, potentially simultaneously; receives their responses; and then produces final reasoning and an answer.

That sequence is insufficient when a tool fails or returns something unexpected. Real environments are noisy and dynamic. A useful agent must inspect the feedback before deciding whether to continue with its original plan. Interleaved thinking repeats that decision inside the same user interaction:

1. Reason about the next action and call a tool.
2. Inspect the returned information, including errors or unexpected results.
3. Decide whether the information is sufficient to complete the task.
4. If it is not, choose another action or tool and repeat.

The critical step is reassessment: a tool response changes what the agent should do next.

Song describes tens to 100 tool-calling turns within a single user interaction. That is a description of the intended interaction pattern, not a measured completion rate. MiniMax’s accompanying [interleaved-thinking guidance](https://www.minimax.io/news/why-is-interleaved-thinking-important-for-m2) adds an integration detail: carry reasoning state forward between tool calls. Its November 2025 API examples are historical guidance, rather than verification of a current API contract.

Repeated reassessment lets an agent switch tools or decisions when a response is suboptimal. Song gives Gmail, Notion and Terminal as examples of tools that could participate in one automated workflow with minimal human intervention. Her description of initiating the work with one model call is best understood at the user-interaction level; the talk does not specify how the application orchestrates requests across the full tool loop.

### A changing market as an environment

[8:31](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=511s)

To illustrate adaptation, Song turns to a trading example inspired by the New York setting. She describes stock-market perturbations roughly in the preceding week and says M2 continued to perform stably as new information arrived. News and other trading policies appear as examples of changing environmental inputs. The illustration extends the tool-error problem: an agent may need to reconsider its actions even when its tools are working, because the world they describe has changed. No trading setup, stability metric or quantitative outcome is supplied, so the example supports the discussion of adaptation without establishing an investment-performance result.

### More tools did not solve scaffold changes

[9:12](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=552s)

MiniMax initially approached agent generalization as a tool-scaling problem. Train on enough tools—varied tools, new tools, even invented tools—and the model should learn to handle unseen ones. That worked initially. Then the team changed the **agent scaffold**, the surrounding system that packages prompts, tools and interactions, and the model failed to generalize. Familiarity with many tools had not made it robust to the system around them.

The broader target became adaptation across the model’s entire operational space. MiniMax’s [agent-generalization account](https://platform.minimax.io/docs/guides/text-m2-agent-generalization) describes the same shift. In the talk, Song identifies the dimensions that the data pipeline must vary:

- **Tool information:** the descriptions and interfaces the model receives.
- **System and user prompts:** the instructions and requests framing the task.
- **Chat templates:** the structure used to present the interaction.
- **Environments and tool responses:** the conditions the agent acts in and the feedback it receives.

MiniMax designs and maintains perturbation pipelines across these inputs. The goal is to prevent successful behavior from depending on one particular presentation of the task.

![Vertical pipeline of tool information, system prompt, user prompt, repeated thinking, content, tool calling and tool response blocks, ending in final thinking and final content. Pink arrows point to information, prompts and responses.](https://ai.engineer/api/talk-essay-media/177d9da7923e4f2023e325dfa21f7e2293e91906a11efda2c92595c82467d4ed)

The perturbation pipeline marks tool information, prompts, and tool responses as intervention points.

A small Python fixture illustrates one such perturbation: preserve the user’s task while changing how the environment reports a failed command. This constructs two evaluation inputs; it does not represent an agent completing the repair.

```python
from copy import deepcopy

baseline = {
    "user": "Fix the failing tests in this repository.",
    "tool": "terminal",
    "command": "pytest -q",
    "response": {
        "exit_code": 127,
        "stderr": "pytest: command not found",
    },
}

perturbed = deepcopy(baseline)
perturbed["response"] = {
    "status": "error",
    "message": "The command pytest is unavailable.",
}

cases = [baseline, perturbed]
assert cases[0]["user"] == cases[1]["user"]
assert cases[0]["response"] != cases[1]["response"]
```

Both responses report the same obstacle. An evaluation can then ask whether the agent recognizes it in either format and chooses an appropriate next action. This is one concrete dimension of the broader perturbation strategy, which also varies prompts, templates and environments.

### Multiple copies working in parallel

[10:40](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=640s)

The fourth characteristic is multi-agent scalability. Song connects M2’s small active parameter count and stated cost efficiency to the feasibility of running multiple copies for long tasks. In videos of MiniMax’s in-house agent application, she describes copies doing research, analyzing findings, writing a report and producing a frontend illustration. These activities can run in parallel, allowing the application to distribute work instead of assigning every step to one sequential agent. The demonstration also offers a QR code for trying the application.

### Memory, context and the next models

[11:42](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=702s)

M2 brings together environments, algorithms, data, expert judgments, architecture, inference and evaluation. The training story is therefore larger than any one technique: interactive environments supply feedback, experts shape useful behavior, repeated reasoning supports long tasks, and perturbations broaden the conditions under which those behaviors work.

For **M2.1** and **M3**, Song looks toward better coding, memory, context management, proactive workplace AI and vertical experts. MiniMax’s existing audio and video generation models also suggest possible multimodal integration. These are prospective directions in the presentation, not a list of capabilities already delivered by M2.

![Two groups of colored ovals connected by a red arrow, from MiniMax-M2 to MiniMax-M2.1 and M3. Future topics include better coding, memory and context, audio, video, “Proactive?”, AI for workplace and vertical experts.](https://ai.engineer/api/talk-essay-media/4cbc6d2714f06b01fc5c29427b5e994327f121000e333e47d882cdc6e2fca0ba)

MiniMax’s roadmap connects M2 foundations to proposed M2.1 and M3 capabilities.

The closing invitation returns to the developer feedback loop that shaped the model. MiniMax wants to combine these resources into models the community can use, and Song asks developers to contribute feedback about that use. The commitment is both to learn from the community and to share the resulting models with it.

## Resources

- [MiniMax-M2 official repository](https://github.com/MiniMax-AI/MiniMax-M2) — Official project repository for the 230B-total, 10B-active mixture-of-experts model built for coding and agentic workflows.
- [MiniMax M2 & Agent: Ingenious in Simplicity](https://www.minimax.io/blog/minimax-m2-en-1748600000) — The original M2 launch announcement, introducing its coding and agent capabilities and launch-time positioning.
- [Interleaved Thinking Unlocks Reliable MiniMax-M2 Agentic Capability](https://www.minimax.io/news/why-is-interleaved-thinking-important-for-m2) — MiniMax's explanation of reasoning-state preservation between tool calls, with benchmark ablations and historical integration guidance.
- [Aligning to What? Rethinking Agent Generalization in MiniMax M2](https://platform.minimax.io/docs/guides/text-m2-agent-generalization) — Explains why training on more tools was insufficient and how perturbing the wider agent environment shaped M2's post-training.
- [MiniMax M2.1: Post-Training Experience and Insights for Agent Models](https://www.minimax.io/news/post-training-experience-and-insights-for-agent-models) — A later account of M2.1 training, covering software-engineering environments, expert-driven app development and long-horizon task synthesis.

## Slides

### Who’s Heard or Tried MiniMax?

Olive Song asks the room who has heard of or tried MiniMax; a few people respond.

[0:40](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=40s) [MiniMax slide asking who has heard of or tried MiniMax.](https://assets.ai.engineer/sites/aiecode2025/sha256/1f354dc80769164e85d740a89c5ba79c9a03b01a752f145518efbfa5f72f5bdd.webp)

Who’s Heard/Tried MiniMax? 👋

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### MiniMax Models and Apps

MiniMax builds foundation models across text, video, speech and music alongside in-house apps. Song says researchers and developers work side by side. The slide reports 150M app users globally.

[0:55](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=55s) [Overview of MiniMax models and applications, including a claim of 150 million users globally.](https://assets.ai.engineer/sites/aiecode2025/sha256/0e3a993654db68c356cfd3c1ab4bd562c1ab2948fd0170ada1ad52f9936f179c.webp)

MiniMax: Global Leading Independent Model Lab + App Developer

Models:
Excel in all modalities

AI-native Apps:
150M users globally

Research
The new generation full-stack self-developed model family

MiniMax M2 — Text Model
An Efficient Model for the Agentic Era

Hailuo [illegible] — Video Model
Breathtaking Motion, Lifelike Emotion.

Speech 2.6
MiniMax Speech 2.6 — Audio Model
Real-Time Response | Intelligent Parsing | Fluent LoRA Voice

Music 2.0
MiniMax Music 2.0 — Music Model
Versatile, Agile Vocals | Precise Instrument Control | Professional-...

MiniMax MCP Server
MiniMax MCP Server — MCP
Video, Image, Speech generation and Voice Cloning Tools Now Available ...

Product
AI-native applications

MiniMax Agent
Minimize Effort, Maximize Intelligence

Hailuo Video
Your Stories, Amplified by AI

MiniMax Audio
Create Lifelike Speech

Hailuo Video Agent
Vibe Videoing with Zero-touch

Talkie
Create Characters You've Imagined

MINIMAX
Intelligence with Everyone

Interface text:
AIE/LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### MiniMax M2 Overview

MiniMax M2 is an open-weight model with ~10B activated parameters, designed for coding and workplace agent tasks. MiniMax presents it as fast, cost-efficient and ready to scale.

[1:50](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=110s) [Slide describes MiniMax M2 as open-weight, with approximately 10 billion activated parameters, and designed for coding and workplace tasks.](https://assets.ai.engineer/sites/aiecode2025/sha256/d612dc251e6ed240a7f2fa1181dbb1b02b78947aa8bd5e1e56e4e1e857aceb4f.webp)

MiniMax-M2:
Open-Weight. Coding-First. Best-in-Class.

• ~10B activated parameters, open-weight
• Agentic-by-design for coding and workplace tasks
• Fast, cost-efficient, and ready to scale

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### M2: Performance

MiniMax-M2 scores 61 on the Artificial Analysis Intelligence Index, behind four displayed entries. It leads the models shown on FinSearchComp-global, while other models lead several task benchmarks.

[2:11](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=131s) [Performance slide comparing MiniMax M2 with other models across an intelligence index and several benchmarks.](https://assets.ai.engineer/sites/aiecode2025/sha256/736c0769822eb3a34b7aa94a8991725debd69f8ba57b59721f59a7929e17d63c.webp)

M2: Performance

Artificial Analysis Intelligence Index
Artificial Analysis Intelligence Index v3.0 incorporates 10 evaluations: MMLU-Pro, GPQA Diamond, Humanity's Last Exam, LiveCodeBench, SciCode, AIME 2025, IFBench, AA-LCR, Terminal-Bench Hard, τ²-Bench Telecom

Artificial Analysis
Index chart, visible scores: 68, 68, 65, 63, 61, 60, 60
Visible labels: GPT-5 Codex (high), GPT-5 (high), Grok 4, Claude 4.5 Sonnet, MiniMax-M2, Grok 4 Fast, Gemini 2.5 Pro, [illegible]

Benchmark chart legend: MiniMax-M2; DeepSeek-V3.2; GLM-4.6; Kimi K2 0905; Gemini 2.5 Pro; Claude Sonnet 4.5; GPT-5 (thinking)
SWE-bench Verified: 69.4, 67.8, 68.0, 69.2, 63.8, 77.2, 74.9
Multi-SWE-Bench: MiniMax-M2 36.2; DeepSeek-V3.2 30.6; GLM-4.6 30.0; Kimi K2 0905 33.5; Claude Sonnet 4.5 44.3
Terminal-Bench: 46.3, 37.7, 40.5, 44.5, 25.3, 50.0, 43.8
ArtifactsBench: 66.8, 55.8, 59.8, 54.2, 57.7, 61.5, 73.0
τ²-Bench: 77.2, 66.7, 75.9, 70.3, 59.2, 84.7, 80.1
GAIA (text only): 75.7, 63.5, 71.9, 60.2, 60.2, 71.2, 76.4
BrowseComp: 44.0, 40.1, 45.1, 14.1, 9.9, 19.6, 54.9
FinSearchComp-global: 65.5, 26.2, 29.2, 29.5, 42.6, 60.8, 63.9

MINIMAX
Intelligence with Everyone

AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

[2:14](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=134s) [Artificial Analysis Intelligence Index chart comparing MiniMax M2 with other models.](https://assets.ai.engineer/sites/aiecode2025/sha256/53bf63507964658911294949dedc6615cea5119e610703386b967a17478a6137.webp)

M2: Performance

Artificial Analysis Intelligence Index
Artificial Analysis Intelligence Index v3.0 incorporates 10 evaluations: MMLU-Pro, GPQA Diamond, Humanity's Last Exam, LiveCodeBench, SciCode, AIME 2025, IFBench, AA-LCR, Terminal-Bench Hard, τ²-Bench Telecom

Artificial Analysis
GPT-5 Codex (high): 68
GPT-5 (high): 68
Grok 4: 65
Claude 4.5 Sonnet: 63
MiniMax-M2: 61
Grok 4 Fast: 60
Gemini 2.5 Pro: 60
Claude 4.1 Opus: 59
gpt-oss-120B (high): 58
Qwen3 235B A22B 2507: 57
DeepSeek V3.2 Exp: 57
GLM-4.6: 56
Qwen3 Max: 55
Claude 4.5 Haiku: 55
Gemini 2.5 Flash: 54
gpt-oss-20B (high): 52
Magistral Medium 1.2: 52
DeepSeek R1 0528: 52
Apriel-v1.5-15b-Thinker: 52
Kimi K2 0905: 50
[illegible]: 45
GPT-5 (minimal): 43
EXAONE 4.0 32B: 43
Llama 4 Maverick: 36

MINIMAX
Intelligence with Everyone

AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### Training Shapes M2 Behavior for Developers

Scaled environments let M2 learn from verifiable coding goals. Interleaved thinking and RL support long-horizon state tracking; perturbations aid scaffold generalization, while a small, cost-effective model enables multi-agent scaling.

[3:09](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=189s) [Four model characteristics are paired with scaled environments and experts, interleaved thinking and reinforcement learning, data and evaluation perturbations, and small, cost-effective models.](https://assets.ai.engineer/sites/aiecode2025/sha256/2c8e4d3382154f743989a3c649cdad122f774780fff8d377e4b3d40345204c3b.webp)

Training Shapes M2 Behavior for Developers

Model Characteristics ← Training
1. Coding & Dev Experience ← Scaled Environments & Experts
2. Long-Horizon State-tracking ← Interleaved Thinking & RL
3. Robust Scaffold Generalization ← Data & Eval Perturbations
4. Multi-Agent Scalability ← Small & Cost-effective

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

[3:28](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=208s) [Scaled environments and experts support coding and developer experience.](https://assets.ai.engineer/sites/aiecode2025/sha256/e42b1581ecd5eda2f6ca9d2e578e091a7eb5e94e3e3034211708106639c37174.webp)

Training Shapes M2 Behavior for Developers

Model Characteristics ← Training
1. Coding & Dev Experience ← Scaled Environments & Experts

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### Expert Developers as Reward Models

MiniMax uses in-house expert developers to shape problem definitions, identify desirable model behaviors, and evaluate and reward results, aiming for a model developers want to use.

[4:31](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=271s) [Expert developers provide feedback on problem definition, model behaviors, evaluation and reward, and environments.](https://assets.ai.engineer/sites/aiecode2025/sha256/1d8d1fd5cfeef4db6a53c1fdbc159983d8c215fe854650185521d5ad66a8ab38.webp)

Expert Developers as “Reward Models”

Expert developer
Frontend, Backend, data engineers, etc.

Feedback
Developer-Friendly Model

Problem Definition
Model Behaviors
Evaluation & Reward
Environments

MINIMAX
Intelligence with Everyone

Interface text:
AI Engineer
Engineering the future of AI

### Training Shapes M2 Behavior for Developers

MiniMax links coding experience to scaled environments and experts, and long-horizon state tracking to interleaved thinking and reinforcement learning for complex, multi-tool tasks.

[5:39](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=339s) [Coding experience is linked to scaled environments and experts; long-horizon state tracking is linked to interleaved thinking and reinforcement learning.](https://assets.ai.engineer/sites/aiecode2025/sha256/114dfdc902787b98a161d0fa3d70c72e7aef211a7d8b0795a08053de85e3d99f.webp)

Training Shapes M2 Behavior for Developers

Model Characteristics ← Training
1. Coding & Dev Experience ← Scaled Environments & Experts
2. Long-Horizon State-Tracking ← Interleaved Thinking & RL

MINIMAX
Intelligence with Everyone

Interface text:
AI Engineer
Engineering the future of AI

### Interleaved Thinking: Without

The baseline workflow thinks, runs two tool-call and response rounds without intervening thinking, then produces final thinking and content.

[6:05](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=365s) [A workflow shows thinking followed by tool calls and responses, then final thinking and content.](https://assets.ai.engineer/sites/aiecode2025/sha256/d02c6bc9de3466ffc157c37cca39a06475998889b4b6b94101d6d14fd3a63c73.webp)

Interleaved Thinking

Tools Information, System Prompt, User Prompt

Without
Thinking
Tool Calling
Tool Response
Tool Calling
Tool Response
Final Thinking
Final Content

MINIMAX
Intelligence with Everyone

Interface text:
AI Engineer
Engineering the future of AI

### Interleaved Thinking: With and Without

M2 revisits its reasoning after tool responses, using feedback to decide what to do next. The diagram contrasts this with consecutive tool calls followed by final thinking and content.

[7:11](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=431s) [Two workflows compare tool use without interleaved thinking against repeated thinking, content, tool calls, and responses.](https://assets.ai.engineer/sites/aiecode2025/sha256/acfa1618114a1ad1a747dde6bb50b5c2cd44fc5692982cbe649faeec57636400.webp)

Interleaved Thinking

Tools Information, System Prompt, User Prompt

Without:
Thinking
Tool Calling
Tool Response
Tool Calling
Tool Response
Final Thinking
Final Content

With:
Thinking
Content
Tool Calling
Tool Response
Thinking
Content
Tool Calling
Tool Response
...
Final Thinking
Final Content

MINIMAX
Intelligence with Everyone

Interface text:
AI Engineer
Engineering the future of AI

### Interleaved Thinking Enables...

Interleaved thinking lets a model adjust its tools as conditions change and stay focused on long tasks. The trading chart illustrates the claim: MiniMax M2 ends near $100,000 while several other accounts fall.

[7:56](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=476s) [The slide lists adaptation to environment noise and focus on long-horizon tasks beside a chart comparing AI trading account values.](https://assets.ai.engineer/sites/aiecode2025/sha256/9a4a7178456ff1d1bd6d14b725938013ec9b67b7ccf90cb9e021600e5461df17.webp)

Interleaved Thinking Enables...

1. Adaptation to Environment Noise
2. Focus on Long-Horizon Tasks

AI Stock
Tickers: ARM/ASML/CRWV/IREN/MU/NBIS/NVDA/PLT...
Rule: Max leverage 2x; Options not allowed
Prompt: General Model Ability

MiniMax M2 +0.02%
Gemini 2.5 Pro -2.35%
Claude Sonnet 4.5 -3.39%
GPT-5 -3.79%

TOTAL ACCOUNT VALUE
Status: US Market Live
Y-axis ticks: $108000, $102000, $95000, $88000, $81000
Timeline: 11/05 22:10, 11/07 01:50, 11/08 05:30, 11/11 17:30, 11/12 22:00, 11/14 01:38
Visible account values: $100024.07, $97649.12, $96205.52, $95122.39, $92405.68, [illegible], $90142.21, $82637.42

MINIMAX
Intelligence with Everyone

Interface text:
Back to Trading Hub
Vote Win
Copy Trading
AI Engineer
Engineering the future of AI

[8:49](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=529s) [Slide listing adaptation to environment noise and focus on long-horizon tasks alongside an AI stock trading chart.](https://assets.ai.engineer/sites/aiecode2025/sha256/775d187210710ea63c18c4c72224b8a0a70d69d7d126e055bb1d57814257b713.webp)

Interleaved Thinking Enables...

1. Adaptation to Environment Noise
2. Focus on Long-Horizon Tasks

AI Stock
Tickers: ARM/ASML/CRWV/IREN/MU/NBIS/NVDA/PLT...
Rule: Max leverage 2x; Options not allowed
Prompt: General Model Ability

MiniMax M2 +0.02%
Gemini 2.5 Pro -2.35%
Claude Sonnet 4.5 -3.39%
GPT-5 -3.79%

TOTAL ACCOUNT VALUE
Status: US Market Live
Y-axis ticks: $108000, $102000, $95000, $88000, $81000
Timeline: 11/05 22:10, 11/07 01:50, 11/08 05:30, 11/11 17:30, 11/12 22:00, 11/14 01:38
Visible account values: $100024.07, $97649.12, $96205.52, $95122.39, $92405.68, $90920.80, $90142.21, $82637.42

MINIMAX
Intelligence with Everyone

Interface text:
Back to Trading Hub
Vote Win
Copy Trading

### Training Shapes M2 Behavior for Developers

M2 pairs coding experience with scaled environments and experts, and long-horizon state tracking with interleaved thinking and RL. Song says data-pipeline perturbations support generalization across agent scaffolds.

[9:10](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=550s) [Diagram connects three model characteristics with training methods: coding experience, long-horizon state tracking, and scaffold generalization.](https://assets.ai.engineer/sites/aiecode2025/sha256/5c7a0e368eb78d48f42af03b353d86aa1838bd9495d273a10d14a0dbe00493e2.webp)

Training Shapes M2 Behavior for Developers

Model Characteristics ← Training
1. Coding & Dev Experience ← Scaled Environments & Experts
2. Long-Horizon State-tracking ← Interleaved Thinking & RL
3. Robust Scaffold Generalization ← Data & Eval Perturbations

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

[9:19](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=559s) [Three model characteristics are linked to their corresponding training approaches.](https://assets.ai.engineer/sites/aiecode2025/sha256/ae3099fce03808a65ce49c3fcc038c9ca54fb8f2e31a9023a25ad744dfa6a27d.webp)

Training Shapes M2 Behavior for Developers

Model Characteristics ← Training
1. Coding & Dev Experience ← Scaled Environments & Experts
2. Long-Horizon State-tracking ← Interleaved Thinking & RL
3. Robust Scaffold Generalization ← Data & Eval Perturbations

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### Agent Generalization and Tool Scaling

Scaling tools initially helped with unseen tools, but changing the agent scaffold exposed a generalization failure. Song defines agent generalization as adapting to perturbations across the model’s operational space.

[9:30](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=570s) [Slide asks about agent generalization and tool scaling.](https://assets.ai.engineer/sites/aiecode2025/sha256/55bb3e0dc3890b0109c4d5864aae9915e360dfaca6e4a75d1d4bb2c4bd683b16.webp)

Agent Generalization?
Tool Scaling?

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

[9:52](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=592s) [Agent Generalization? is shown as greater than Tool Scaling?](https://assets.ai.engineer/sites/aiecode2025/sha256/505e2adb88f9858600cd91f2909df6e798fb5eebcdfd95200ddb920c82983136.webp)

Agent Generalization? > Tool Scaling?

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### Perturbation Pipeline

MiniMax perturbs tool information, prompts and tool responses in its data to help the model generalize across agent scaffolds. The diagram places these changes throughout an interaction, including repeated tool calls and responses.

[10:18](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=618s) [A pipeline shows perturbations to tool information, system and user prompts, and tool responses across an agent interaction.](https://assets.ai.engineer/sites/aiecode2025/sha256/75ef5fc824623044642181ac95e5cbc91b4bba5c60e65da469ac1819c275f80b.webp)

Perturbation Pipeline

Tools Information
System Prompt
User Prompt
Thinking
Content
Tool Calling
Tool Response
Thinking
Content
Tool Calling
Tool Response
...
Final Thinking
Final Content

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY
Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

### What’s Next? MiniMax for Next-Gen Agentic Apps

MiniMax combines environments, data, training, architecture, evaluation and inference to build M2. For M2.1 and M3, Song outlines possible directions including better coding, memory, workplace AI and audio and video integration.

[11:40](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=700s) [MiniMax-M2 diagram listing environments, RL and RFT, data, expert values, model architecture, evaluation, and inference.](https://assets.ai.engineer/sites/aiecode2025/sha256/5661f36adb6e8533d8d09ee5589cbac7cb3e743008a07b245f6a2a837ea79b7a.webp)

What’s Next? MiniMax for Next-Gen Agentic Apps

MiniMax-M2

Environments
RL & RFT
Data
Expert Values
Model Architecture
Evaluation
Inference

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

[12:07](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=727s) [MiniMax-M2 development areas lead to proposed M2.1 and M3 directions including coding, memory and context, audio, video, workplace AI, and vertical experts.](https://assets.ai.engineer/sites/aiecode2025/sha256/2e4ab1694dc3ae412ab85788f4f3990d63f0d91115b35c466231be9a1dc2ee1a.webp)

What’s Next? MiniMax for Next-Gen Agentic Apps

MiniMax-M2

Environments
RL & RFT
Data
Expert Values
Model Architecture
Evaluation
Inference

MiniMax-M2.1 & M3

Better Coding
Memory & Context
Audio
Proactive?
Video
AI for Workplace
Vertical Experts

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

[12:26](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=746s) [Slide comparing MiniMax-M2 development resources with potential M2.1 and M3 capabilities, including coding, memory, audio, video and workplace applications.](https://assets.ai.engineer/sites/aiecode2025/sha256/21e914d57da066c8e0307aa4a8bd02d0a90562bab50606afbe3fccd76db8b4fb.webp)

What’s Next? MiniMax for Next-Gen Agentic Apps

MiniMax-M2

Environments
RL & RFT
Data
Expert Values
Model Architecture
Evaluation
Inference

MiniMax-M2.1 & M3

Better Coding
Memory & Context
Audio
Proactive?
Video
AI for Workplace
Vertical Experts

MINIMAX
Intelligence with Everyone

Interface text:
AIE / LEAD
PRESENTED BY Google DeepMind
MINIMAX M2
OLIVE SONG / Senior Research Engineer
MINIMAX

## Full transcript

[0:00](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=0s) [on-hold music] Hi.

[0:21](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=21s) Hi, everyone. Um, I'm Olive. It's my great honor here today to present on our new model, MiniMax M2. Um, I actually lived in New York City for six years, so it feels great to come back, um, but with a different role.

[0:35](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=35s) Um, I currently study reinforcement learning and model evaluation at MiniMax. Um, let me just get a quick sense of the room. Who here has heard or have tried of MiniMax before?

[0:47](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=47s) Oh, a couple of there. Yeah. Not everybody, but I, I guess, yeah. But here's the value, right? Of me standing here today. Um, so we are a global company that works on both foundation models and applications.

[1:02](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=62s) We develop multi mo- m- modality models, including text, um, vision-language models, our video generation model, Hailuo, and speech generation, music generation stuff. And we also have, um, many applications, including agents and stuff, um, in-house.

[1:20](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=80s) So that, that's the specific thing that's different from the other labs for other companies. So we both develop foundation models, um, and applications. So we have research and developers sitting, uh, sitting side by side working on things.

[1:36](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=96s) Um, so our difference would be that we have first-hand experience from, uh, uh, our, um, in-house developers into developing models that developers would really need in the community. And here, I want to introduce our MiniMax M2, um, which is an open-weight model, very small, with only 10 billion active parameters, um,

[2:01](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=121s) that was designed specifically for coding, uh, workplace agentic tasks. It's very cost efficient.

[2:09](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=129s) Um, let me just go over the benchmark performance 'cause people care about it. So, uh, we, uh, rank very top in both, um, intelligence benchmarks and also agentic benchmarks.

[2:23](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=143s) Uh, we-- I think we're on the top of the open source models. But then numbers don't tell everything because sometimes you get those super high number models, you plug into them, um, into your environment, and they suck, right?

[2:38](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=158s) So we really care about the dynamics in the community. And in our first week, we had the most downloads,

[2:46](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=166s) and also we climbed up to top three token usage on OpenRouter. So we're very glad that people in the community are really loving our model, um, into their development cycle.

[2:58](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=178s) So today, what I wanna share is how we actually shape these main model characteristics that made M2 so good in your coding experience. And I'm gonna present to you, um, the training be-behind it that supports each one of them, from coding experience, to long-horizon state tracking tasks, um, to robust generalization

[3:23](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=203s) to different scaffolds, to multi-agent sca- uh, scalability.

[3:28](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=208s) So first, let's talk about code experience, which we sca-- uh, which we supported with, um, scaled environments and scaled experts.

[3:38](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=218s) So, um, developers need a model that can actually work in the language they use and across the workflow that they deal with every day. So which means that we need to utilize the real data from, from the internet and then, um, scale the number of environments so that the model, when during training, for example, during reinforcement learning,

[4:00](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=240s) it can actually, um, reacts to the, uh, environment, it can actually target verifiable coding goals and to learn from it. So that's why we scaled both the number, uh, of environments and also our, um, infrastructure so that we can perform those training very efficiently.

[4:20](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=260s) So, um, with data construction and reinforcement learning, we were able to train the model so that it's very strong, um, it's full stack multilingual.

[4:33](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=273s) And what I wanna mention here is that besides scaling environment that everybody talks about, we actually s-scale something called expert developers, um, as reward models. So as I mentioned before, uh, we have a ton of, um, super expert developers in-house that could give us feedback to our model's performance.

[4:54](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=294s) So they participated closely into the model development and training cycle, including problem definition, for example, um, bugs, bug fixing, for example, um, repo refactoring and stuff like that. And also, they identify the model behaviors that developers enjoy, and they i-identify what's reliable and, uh, what developers would trust.

[5:18](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=318s) And they give precise reward and evaluation to the model's behaviors to the final, um, deliverables so that, um, it is a model that developers really want to work with and that can add efficiency to the developers.

[5:34](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=334s) So with that, we were able to lead in many, um, languages in real use.

[5:40](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=340s) And the second characteristic that MiniMax M2 has is it, it, it performs good in those long-horizon tasks, uh, those long tasks that require interacting with complex environments, that requiring, um, using multiple tools with reasoning.

[5:59](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=359s) And we supported that with the interleaved thinking pattern, um, and reinforcement learning.

[6:07](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=367s) So what is interleaved thinking? Um, so with a normal reasoning model that can use tools, it, it normally works like this. You have the tools information given to it, you have the system prompts, um, you have user prompts, and then the model would think, and then it calls tools.

[6:26](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=386s) It can be a couple of tools at the same time. And then they get the tool response from the environment, and then it performs a final thinking and deliver a final content.

[6:37](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=397s) But, but here's the truth, right? In real world, the environments are often noisy and dynamic. You can't really perform this one task just by once. You can get, um, tool errors, for example.

[6:50](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=410s) You can get, um, unexpected results from the environment and stuff like that. So, um, what we did is that we imagine how humans interact with the world. We, we, we look at something, we get feedbacks, and then we think about it.

[7:06](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=426s) We think if the feedback is good or not, and then we make other actions, make other decisions, and that's why we did the same thing with our M2 model.

[7:15](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=435s) So if we look at this, um, chart over a diagram on the right, so instead of just stopping, um, after one round of t- tool calling, it actually thinks again and reacts to the, uh, reacts to the environments to see if the information is enough for it to, uh, get what, what it wants.

[7:38](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=458s) So basically, we call the interleaved thinking, or people call it interleaved thinking because they interleave thinking with tool calling, um, a couple of time, it can be, you know, uh, tens to 100, um, turns of tool calling within just one user interaction turn.

[7:57](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=477s) So it helps, um, adaptation to environment noise. For example, uh, just like what I mentioned, the environment is, is, is not stable all the time, and then something is suboptimal, and then it can choose to use other tools or do other decisions.

[8:13](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=493s) It can focus on long horizon tasks, um, it can automate your workflow, um, using, for example, Gmails, Notions, um, Terminal all at the same time. You just need to, uh, maybe make one model call without minim- with minimal, um, human intervention.

[8:31](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=511s) It can do it all by itself. A- and here's a cool illustration on the right. Because it's New York City, I feel the vibe of, you know, trading and marketing.

[8:41](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=521s) Um, so you can see that there was some, um, there was some perturbations in the stock market, uh, I think last week, and then our model was able to keep it stable.

[8:53](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=533s) So just like I said, there's, like, environment noise, there's n- new information, there's, like, yeah, news. It looks like there, there's, like, other trading policies and stuff like that, but our model was able to, uh, to perform pretty stably in these kind of environments.

[9:12](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=552s) And the third characteristic is our robust, um, generalization to many agent scaffolds, which was supported by our perturbations in the data pipeline.

[9:24](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=564s) So we want our agent to generalize, but what is agent generalization? At first, we thought it was just tool scaling. We train the model with enough tools, various tools, kind of new tools.

[9:37](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=577s) We invent tools. Um, and then it would just perform good on unseen tools. Well, that was kind of the truth. It worked at first, uh, but then we soon realized that if we perturb the environment a little bit, for example, we change another agent scaffold, then it doesn't generalize.

[9:55](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=595s) So what is agent generalization? Well, we conclude that, um, it's adaptation to perturbations across the model's entire, uh, operational space. If we, uh, think back, what's the model's, um, operational space that we talked about, it can be tool information, it can be system prompts, it can be user prompts.

[10:19](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=619s) They can all, all be different. They can be the chat template. They can be the environment. They can be the tool response. So what we did is that we designed and maintained perturbation pipelines of our data so that, um, our model can actually gen- generalize to a lot of agent scaffolds.

[10:40](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=640s) And the fourth characteristic that I want to mention is the multi-agent sca- scalability, um, which is very possible with M2 because it's very small and cost-effective.

[10:54](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=654s) I have a couple of videos here. Um, this is M2 powered by our own MiniMax agent, uh, app. Uh, we actually have a QR code down side, so i- if you want, you can just scan and try it.

[11:07](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=667s) So it's like an agent app we, we, we developed, and here we can see different copies of M2, right? It can do research. Um, it can write the, uh, write the research results and analyze it and put it in a re- report.

[11:22](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=682s) It can put it in some kind of front end i- illustration, and they can work in parallel. So because it is so small, um, and so cost-effective, it can really, um, support those long-run agentic tasks and tasks that maybe, um, require some kind of parallelism.

[11:42](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=702s) So what's next, right? For MiniMax M2, from what I've introduced, we gathered environments, um, algorithms, data, expert values, model architecture, inference, evaluation, all this stuff to build a model, um, that was, you know, f- fast, that was, uh, intelligent, that could use tools, that generalizes.

[12:06](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=726s) What's next? For, um, M2.1 and M3, we're in the future. We think of better coding, maybe memory work, context management, proactive, AI for workplace, vertical experts, and because we have those great audio generation, video generation, uh, models, maybe we can integrate them.

[12:30](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=750s) But all our mission is that we're committed to bring all these resources, whatever is on the screen and maybe more, uh, yeah, and values, and put them all together to develop models for, uh, the community to use.

[12:45](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=765s) So, um, we really need feedback from the community if possible, because we want to build this together and, you know, this is kind of a race that e- everyone needs to participate.

[12:57](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=777s) And then, um, we com- we are committed to share it with the community. Yeah.

[13:05](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=785s) And that's all the insights for today. Um, we really hope, again, we really hope you to try the model 'cause it's pretty good, and then we can contact, contact us up there.

[13:17](https://www.youtube.com/watch?v=lY1iFbDPRlw&t=797s) You can try the models by scanning the QR code. Yeah, basically, that's it. Thank you all for listening. [upbeat music]
