Last verified November 10, 2026, against MiniMax’s official documentation and the M2-her research post.
MiniMax M2-her was a text-only language model built for character role-play, multi-turn dialogue, and story-driven conversations, and MiniMax’s official Model List shows it as retired. It was not simply another name for MiniMax-M2 or MiniMax-M2.7. MiniMax gave M2-her a separate model ID, a 64K context window, a dedicated set of role messages, and a documented maximum completion length of 2,048 tokens.
Status: MiniMax’s Model List shows M2-her in its Retired Models table, under the line “The following models have been retired and are no longer available,” and gives no retirement date. The same page lists MiniMax-M3.1-Flash and MiniMax-M3 as available text models. MiniMax describes both as multimodal coding models with a 1M-token context window, and neither has M2-her’s extra role-play roles, so this page shows how to rebuild an M2-her character on MiniMax M3.1 Flash with standard chat roles. Test the result on your own scenarios before moving users over; the MiniMax M3 guide covers the other option.
Evidence status: This article was checked against MiniMax’s Model List and its Retired Models table, the Chat Model guide that documented M2-her, the model invocation guide, the main model catalog, the OpenAI-compatible Chat Completions reference, the pricing and rate-limit pages, and the M2-her research post. The code was reviewed for syntax and consistency with those documents, but no paid request was executed for this article. Capability and benchmark statements attributed to MiniMax are MiniMax’s own claims, not this site’s test results.
M2-her quick facts
| Item | Verified detail |
|---|---|
| Status | Retired: listed in the Retired Models table of MiniMax’s Model List, with no retirement date given |
| API model ID | M2-her (retired) |
| Primary purpose | Role-play, multi-turn conversations, and dialogue scenarios |
| Context window | 64K tokens |
| Maximum completion | Up to 2,048 tokens in the dedicated M2-her guide |
| Input | Text only; mixed text-image input was not supported |
| Basic roles | system, user, and assistant |
| Role-play extensions | user_system, group, sample_message_user, and sample_message_ai |
| Published pay-as-you-go price | M2-her is not listed in MiniMax’s public pay-as-you-go table checked on the verification date |
| Published RPM/TPM | M2-her is not listed in MiniMax’s public LLM rate-limit table checked on the verification date |
| Current MiniMax text models | MiniMax-M3.1-Flash and MiniMax-M3, with text, image, and video input, a 1M-token context, and standard chat roles only |
Source note: MiniMax documented M2-her, its 64K context window, text-only input, role schema, and 2,048-token completion limit in a dedicated Chat Model guide, and this page keeps those details for reference and migration. Finding M2-her in that guide does not mean the model can be called, because the Model List is where MiniMax publishes official model status. M2-her is also absent from the main model catalog, the pricing overview, and the rate-limit table.
What is MiniMax M2-her?
M2-her was MiniMax’s specialized dialogue model. Its interface was designed to represent more than a generic assistant and a generic user. A developer could define the model character, define the user’s in-story identity, name the scene or conversation group, provide example exchanges, and resend conversation history on every turn.
That structure was useful for interactive fiction, non-player characters, character chat, branching narratives, simulations, and other applications where identity and continuity matter. It did not guarantee factual correctness, perfect memory, or permanent state. It gave the application a more expressive way to supply the information the model needed.
MiniMax introduced the model in a January 27, 2026 research post describing three goals: preserving the rules and identity of a fictional world, progressing a story without repetitive loops, and adapting to implicit user preferences. The official M2-her research post also explains the company’s Role-Play Bench and training approach.
M2-her versus MiniMax-M3.1-Flash and MiniMax-M3
| Question | M2-her (retired) | MiniMax-M3.1-Flash and MiniMax-M3 |
|---|---|---|
| Documented focus | Dialogue, role-play, and multi-turn character interaction | Coding, agent workflows, tool use, and long-context tasks; MiniMax-M3.1-Flash adds tunable thinking depth |
| Context | 64K | 1,000,000 tokens |
| Role schema | Includes character, user-persona, scene, and example-dialogue roles | Standard system, user, assistant, and tool roles |
| Image input | No | Yes, along with video input |
| Status | Listed as retired in MiniMax’s Model List | Listed as available in MiniMax’s Model List |
The biggest practical difference is the role schema. MiniMax’s Chat Completions reference lists four message roles for MiniMax-M3.1-Flash and MiniMax-M3: system, user, assistant, and tool. A character built for M2-her therefore has to be rewritten as a system prompt plus ordinary conversation turns; the role table below suggests where each part can go. MiniMax’s model invocation guide shows the basic calling pattern.
How the M2-her role system worked
| Role | What it represents | Example use | Suggested place on MiniMax-M3.1-Flash or MiniMax-M3 |
|---|---|---|---|
system | The model’s identity, behavior, knowledge boundaries, and style | Define a cautious starship navigator who speaks in concise log entries | The opening part of the system message |
user_system | The user’s identity inside the scenario | Define the user as the ship’s captain with stated responsibilities | A labeled user-persona line in the system message |
group | The conversation or scene name | Name the scene “Europa rescue briefing” | A labeled scene line in the system message |
sample_message_user | An example of how the user speaks | Demonstrate short commands or an in-world vocabulary | A style example in the system message, marked as not part of the story |
sample_message_ai | An example of the desired model response | Demonstrate tone, formatting, and response length | The character’s half of that style example |
user | A real user turn | The message that requires a response | user, unchanged |
assistant | A previous model response | Conversation history resent on a later request | assistant, unchanged |
In M2-her requests, system defined who the model was and user_system defined who the user was, so the two were not meant to carry competing instructions. The group message supplied scene-level context rather than another speaking character. Example messages taught a pattern, but MiniMax’s guide noted that they count toward input tokens and recommended one to three concise examples. The last column is this page’s suggestion, not a MiniMax migration rule: label each part of the new system message so the character, the user’s persona, and the scene stay as distinct as the separate roles kept them.
A practical character specification
- Identity: name, occupation, viewpoint, and relationship to the user.
- World rules: facts that must remain stable, including place, time, available technology, and physical constraints.
- Voice: vocabulary, sentence length, emotional range, and formatting.
- Agency boundary: state that the model must not decide the user’s actions or write the user’s dialogue.
- Story behavior: define whether the character should advance events, ask questions, or wait for direction.
- Uncertainty behavior: tell the character how to handle missing lore instead of inventing contradictory facts.
Put durable character rules first in the system message, followed by the user’s in-world identity that M2-her took in user_system. Use example exchanges for style, not for large quantities of lore. Facts buried in examples are harder to maintain and consume the same context budget as other messages.
Rebuild an M2-her character on MiniMax-M3.1-Flash with Node.js
Install the OpenAI JavaScript SDK and keep the API key on the server:
npm install openai
export MINIMAX_API_KEY="your-api-key"
This example keeps the starship setting from the role table. The character rules, the captain’s persona, the scene, and the style example all go into one system message, and every message uses a standard role:
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.MINIMAX_API_KEY,
baseURL: "https://api.minimax.io/v1",
});
const messages = [
{
role: "system",
content: [
"You are Lyra, navigator of the research ship Aster.",
"Speak in concise first-person dialogue followed by one short action beat.",
"Respect established ship logs and never decide the captain's actions.",
"If a fact is absent, ask the captain instead of inventing it.",
"User persona: the user is the captain of the Aster and makes all command decisions.",
"Scene: Aster bridge, approaching Europa during a communications failure.",
"Style example, not part of the story. Captain: 'Navigator, report our safest approach vector.'",
"Lyra: 'Vector seven keeps us outside the debris field. I mark it on the display and wait for your order.'",
].join("\n"),
},
{
role: "user",
name: "Captain",
content: "We lost the forward sensor array. Revise the plan.",
},
];
const response = await client.chat.completions.create({
model: "MiniMax-M3.1-Flash",
reasoning_effort: "low",
messages,
max_completion_tokens: 4096,
});
console.log(response.choices[0]?.message?.content || "No text returned");
Thinking cannot be switched off on MiniMax-M3.1-Flash, so the example sets reasoning_effort to low to keep it short on conversational turns. The accepted levels are low, medium, high, xhigh, and max; when the field is omitted, MiniMax uses max. MiniMax-M3 ignores reasoning_effort, so leave the field out if you switch the model ID.
Thinking tokens count toward max_completion_tokens, the length field MiniMax’s Chat Completions reference recommends in place of the deprecated max_tokens. Do not carry over a small M2-her-era value: a limit that is too low ends with finish_reason: "length" and empty content. The 4,096 here is a cap sized for short in-character replies; the same reference recommends 131,072 and says to raise the value if generation stops with length. The example also leaves out temperature and top_p, which MiniMax documents as having no effect on MiniMax-M3.1-Flash and MiniMax-M3.
Preserve the next turn
The API does not make the request itself a persistent memory store. MiniMax’s M2-her guide told developers to include the complete chronological user and assistant history in later requests. MiniMax’s Chat Completions reference for MiniMax-M3.1-Flash and MiniMax-M3 describes messages as the list that carries the conversation history, so the same pattern applies. After receiving a response, append both the user’s message and the assistant’s returned message before the next call:
const assistantText = response.choices[0]?.message?.content;
if (assistantText) {
messages.push({ role: "assistant", content: assistantText });
}
messages.push({
role: "user",
name: "Captain",
content: "Use the remaining sensors and give me two options.",
});
const nextResponse = await client.chat.completions.create({
model: "MiniMax-M3.1-Flash",
reasoning_effort: "low",
messages,
max_completion_tokens: 4096,
});
MiniMax-M3.1-Flash has a 1,000,000-token context window, far more than M2-her’s 64K, but every resent turn adds input tokens to each request. For a long session, track token usage and summarize older events. Preserve immutable character and world rules verbatim. A summary should record decisions, relationships, unresolved threads, locations, and physical state; it should not silently change canon. If you add tools later, MiniMax asks you to append the complete returned message, including tool_calls and reasoning_content, rather than the text alone.
Python example
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["MINIMAX_API_KEY"],
base_url="https://api.minimax.io/v1",
)
response = client.chat.completions.create(
model="MiniMax-M3.1-Flash",
reasoning_effort="low",
messages=[
{
"role": "system",
"content": (
"You are Lyra, navigator of the research ship Aster. Do not write the captain's actions.\n"
"User persona: the user is the captain and makes all command decisions.\n"
"Scene: Aster bridge during a communications failure near Europa."
),
},
{
"role": "user",
"name": "Captain",
"content": "Give me a concise status report.",
},
],
max_completion_tokens=4096,
)
print(response.choices[0].message.content)
Documented M2-her limits
64K context was not 64K of free story text
The context held every message sent with the request, including role definitions, example exchanges, and conversation history. MiniMax’s guide explicitly stated that example messages consume tokens, and the requested completion and any message formatting applied by the service needed room as well.
The model-specific output ceiling was 2,048 tokens
MiniMax’s dedicated M2-her parameter table set max_completion_tokens to a maximum of 2,048. After a migration the risk runs the other way: MiniMax-M3.1-Flash and MiniMax-M3 allow far longer outputs, and their thinking tokens count toward the same limit, so a ceiling sized for M2-her can end a reply before any visible text. If a response ends early, first check the requested limit and finish reason.
Text only
The FAQ in MiniMax’s M2-her guide said mixed text-image input was not supported. Both current models accept text, image, and video input through the same Chat Completions API.
Retired, with no published price or rate limit
M2-her had no row in the public LLM tables on the pricing page or the rate-limit page when this site checked them, so there is no published M2-her price or throughput figure to plan around. Budget a replacement from the MiniMax-M3.1-Flash or MiniMax-M3 rows instead; the MiniMax pricing guide summarizes them.
How to test a replacement for M2-her in a role-play product
In its January 2026 research post, MiniMax reported that M2-her ranked first overall in its Role-Play Bench across extended 100-turn sessions. The company said it sampled 100 NPC settings each in Chinese and English, ran 100 turns of model-on-model self-play three times per setting, and evaluated NPC-side outputs for world, story, and user-preference failures. It also reported fifth place for M2-her on the Stories dimension.
Those are MiniMax’s results for M2-her from a company-designed evaluation, not measurements produced by this site. They say nothing about the current models. Before moving users to a replacement, build a test set representing the application’s users, languages, safety boundaries, and story structure.
- Create fixed character cards and world rules before testing.
- Use scripted user turns that include reference changes, interruptions, time jumps, and multi-character scenes.
- Run long conversations instead of judging only the opening response.
- Score identity drift, reference confusion, repeated wording, invented user actions, lore violations, story progress, and recoverability after correction.
- Record request settings, prompt version, finish reason, input/output tokens, latency, and cost returned by the account.
- Repeat cases because sampling can change an answer even with the same prompt.
- Have human reviewers assess subjective qualities separately from objective continuity failures.
Do not publish MiniMax’s benchmark score as if it predicts a specific application. A dating simulation, classroom scenario, game NPC, and interactive novel have different success criteria.
Production safeguards
- Keep keys server-side: never expose a MiniMax API key in browser JavaScript or a downloadable app bundle.
- Separate data layers: store character definitions, user consent, chat history, and safety events according to the application’s own retention policy.
- Validate user-created characters: a role definition is still user input and can contain unsafe instructions or personal data.
- Moderate both directions: inspect user input and model output according to the audience and applicable law.
- Make fiction visible: users should understand that a character response is generated and may be inaccurate.
- Provide control: let users reset a scene, correct canon, delete stored history, and report an unsafe response where applicable.
- Test failure handling: define behavior for timeouts, throttling, empty choices, truncated outputs, and unavailable models.
Developers should also review MiniMax’s API Terms of Service and API Privacy Policy alongside their own legal, age, privacy, and content-safety requirements.
Frequently asked questions
Has MiniMax retired M2-her?
Yes. MiniMax’s official Model List shows M2-her in its Retired Models table and gives no retirement date. The details on this page describe what MiniMax documented for the model, kept for reference and migration.
What should I use instead of M2-her?
MiniMax lists MiniMax-M3.1-Flash and MiniMax-M3 as available text models. Both are general multimodal models for coding and agent work, and neither has M2-her’s role-play roles, so rebuild the character as a system prompt with standard roles, as in the examples above, and test it on long scripted conversations before switching users over.
Is M2-her the same model as MiniMax-M2?
No. MiniMax documented M2-her as a separate model optimized for role-play and dialogue, with its own model ID and limits. MiniMax’s Model List shows both MiniMax-M2 and M2-her as retired.
Does M2-her remember earlier API calls automatically?
The official M2-her guide told developers to include conversation history in chronological order on each request. Plan the same way on MiniMax-M3.1-Flash or MiniMax-M3: build storage and summarization in the application rather than assuming persistent server-side character memory.
Can M2-her accept images?
No. MiniMax documented text input only for M2-her. MiniMax-M3.1-Flash and MiniMax-M3 accept text, image, and video input.
Can I use function calling with M2-her?
No. The dedicated M2-her guide documented messages, sampling, completion length, and streaming, but not tool or function calling, and MiniMax lists the model as retired. For a tool loop, MiniMax documents function tools for MiniMax-M3.1-Flash and MiniMax-M3 through the tools parameter.
How much does M2-her cost?
There is no M2-her price to plan around: MiniMax lists the model as retired, and its public pay-as-you-go table did not include M2-her when this site checked it. For comparison, MiniMax-M3.1-Flash costs $0.15 per million input tokens, $0.60 per million output tokens, and $0.015 per million cache-read tokens on pay-as-you-go.
Is M2-her open-weight?
No. MiniMax documented M2-her as an API model only: the official M2-her pages checked for this article pointed to no weight repository or model license, and MiniMax has no public M2-her repository on Hugging Face. With the API model retired, there is no official M2-her to self-host.
For the models MiniMax lists as available, see the MiniMax M3.1 Flash guide and the MiniMax M3 model guide. For endpoint conventions and account setup, use the MiniMax API guide and verify charges against the MiniMax pricing guide before deployment.
Bottom line
MiniMax M2-her was a specialized text model for role-play, and MiniMax’s Model List shows it as retired. What carries over is its role schema: the character, the user’s persona, the scene, and a small number of example exchanges, each kept distinct. On MiniMax-M3.1-Flash or MiniMax-M3, that structure moves into a labeled system message with standard user and assistant turns. Resend history every turn, leave output room for thinking tokens, and test the rebuilt character on long scripted conversations before moving users, because MiniMax’s Role-Play Bench results were measured on M2-her.
