Skip to main content
Let M4 do the thinking, let M3.1 Flash do the work, and use the reasoning level to fine-tune each step. You’ll get more done with the same M Plan credits.
In MiniMax Code, different stages of a task can use different models and reasoning levels. Trade-offs, hard debugging, and pre-commit review need deep judgment — give those to M4. When the direction is already clear, hand implementation, search, and batch work to M3.1 Flash, which is faster and uses fewer credits.
Three principles
  1. Split work by stage: M4 handles “thinking” and “review”; M3.1 Flash handles “lookup” and “execution.”
  2. Escalate from light to heavy: If the result isn’t good enough, raise the reasoning level first, then bring in the M4 advisor, and only then switch models.
  3. Switch by stage, not back and forth: After you switch models or reasoning levels, the full context has to be recomputed. One switch per stage is usually worth it; switching back and forth within the same task burns more credits instead.

1. Two knobs: model and reasoning level

Pairing only takes two knobs: the model sets the ceiling; the reasoning level sets how much thinking this step gets. First locate the task on the chart, then pick a combination.
Two knobs: model × reasoning level
MiniMax-M3 and custom models added through BYOK can be part of this mix as well. M4 and M3.1 Flash are available on every paid M Plan tier. You can check your current tier and remaining credits in Settings → Usage & model.
For most tasks, the default context window is enough (400K for M4, 512K for M3.1 Flash). Switch to 1M when you need to analyze a large number of files or a very long log in one go.When a session gets long, first type / while the task is idle and choose Compact, or start a new session with the conclusions in hand. That’s usually more economical than continually enlarging the window.

2. Split work by stage: M4 thinks and reviews, M3.1 Flash looks up and builds

Take “add status filters to the order list” as an example. A typical request has four stages:
Four stages of a request
  1. Settle the approach (M4 · high): Whether filtering belongs on the client or the server depends on data volume, pagination, and compatibility with the existing API.
  2. Scout the codebase (M3.1 Flash · low, subagent): Lookups such as “which pages call this list API” can be handed to several subagents in parallel; they should bring only their conclusions back to the main session.
  3. Implement and test (M3.1 Flash · medium): Follow the agreed plan to change components, parameters, and tests. When you hit a judgment call, ask the M4 advisor to check it.
  4. Pre-commit review (M4 · high, new session): Review the actual changes in a clean context.
For other common situations, use this table:

3. From light to heavy: how to escalate when the result isn’t good enough

If you’re not sure which combination to use, start with the most economical one and move up a level if the result isn’t good enough:
From light to heavy: raise the reasoning level first, then switch models
  1. M3.1 Flash · medium: The starting point for most everyday work.
  2. M3.1 Flash · high / max: If the result is too thin or edge cases were missed, raise the reasoning level first.
  3. M3.1 Flash + M4 advisor: Flash still drives the main line; ask M4 to check only at particular points (see the next section).
  4. M4 · high / max: If you’re still reworking the same ground, or the whole task needs cross-module trade-offs, switch the main model to M4. When the context is already long, start a new session with the conclusions, then switch — that uses fewer credits.
It works the other way too: once M4 has settled the approach, you don’t have to run the rest of the job on it. Hand execution to M3.1 Flash. If only a few small fixes remain, just finish them on M4; there’s no need to switch models or reasoning levels for that.

Advisor: Flash does the work, M4 checks it

The advisor lets one session use two models at once. The main model does the work; at a key decision, after repeated failures, or when you’re ready to wrap up, it “consults the advisor”: the full conversation is handed to the advisor model, and the main model continues with the advice. You don’t have to switch the main model, and you don’t have to hand off to a new session. The combination you’ll use most is main model M3.1 Flash (medium) + advisor M4 (high / max): everyday execution keeps Flash’s speed and efficiency, and you only bring in M4 at the points that need deeper judgment.
Advisor: M3.1 Flash does the work, M4 checks it

Turn on the advisor

  1. Turn on the Advisor switch in Settings.
  2. Open the model menu in the message box, choose an advisor model on the Advisor row, and set the advisor’s own reasoning level and context window.
  3. Choose None to turn the advisor off for the current session. The advisor you pick on the home page becomes the default for new sessions; existing sessions keep their own choice.
The advisor can step in in two ways. You can switch them in Settings under Advisor intervention: Consultations appear in the conversation as Consulting advisor; you can expand the row to read the advice.

When to turn the advisor on

  • The main line is moving forward on M3.1 Flash, but a few design decisions along the way need to be weighed.
  • The same issue has been fixed for two or three rounds and still hasn’t passed; you need another pair of eyes.
  • Long-running Goal work: drive it with M3.1 Flash, and let M4 suggest adjustments when it drifts or gets stuck.
  • Before wrapping up, have the advisor check the original plan for gaps.
The advisor can be combined with “Approach 2: review in a new M4 session” below: the advisor checks in as needed during the work and shares the same conversation as the main model; a separate review uses a clean context to re-check the final changes, and is less likely to be pulled along by the main line of thinking.

What to know before you use the advisor

  • Each consultation sends the full conversation (including tool results, and images when the advisor model supports them) to the advisor model, and counts against that model. The advisor is cheaper than switching models back and forth, but it isn’t free — save it for the points that actually need judgment.
  • A single consultation can last up to 5 minutes; sending a message while you wait interrupts it. After a timeout, the main model continues working.
  • The advisor does not enlarge the main session’s context window. If the conversation exceeds the advisor model’s input limit, the advisor sees the system prompt, the first message, and the most recent messages.

4. Switch by stage: switch less, hand off more

Pairing models saves credits because the agent rereads the full context on every step. A task often runs for dozens of steps, and using a more economical model on each of those steps adds up to a large difference. But the cache is bound to the model and the reasoning level: after you switch models or change the reasoning level, the first step has to recompute the full context. The longer the context, the more that one step costs.
The credit math of switching models (illustrative)
  • One switch per stage is usually worth it: After M4 settles the approach, switch to M3.1 Flash. You only pay the extra recompute on the switch itself, and a few execution steps will earn that back.
  • Switching back and forth during execution is usually not worth it: By the second half of a run, the context may already be hundreds of thousands of tokens. Every time you switch back to M4 for a discussion, you first pay for a recompute, then run several steps at M4 prices. After a few of those round trips, little of the savings is left.
  • The same goes for the reasoning level: When you need to change it, try to do it at a stage boundary, rather than repeatedly mid-run.
  • When you need M4’s help, there are cheaper options: Turn on the M4 advisor and let it give advice while the main model keeps executing; or pick M4 in a Side Chat and discuss there, leaving the main session untouched. If you really do need to change the main model, start a new session and hand off as described below.

Cross-session handoff

When to use it: A session has already gone on for a long time, the context is long, and you now want to switch models. For example, after a long discussion M4 has finally settled the approach, and the next step is for M3.1 Flash to implement it; or Flash is stuck halfway through execution and you want M4 to take over. Why not just switch in the same session: Switching models in place means that long conversation has to be recomputed once, and every later step still carries it. The new model only needs the conclusions, not the entire discussion. So the more economical approach is: have the current model write the conclusions up as a short handoff brief, then start a new session from that brief.
Cross-session handoff: take the conclusions, not the history
Three concrete steps:
  1. In the original session, send: “Write the current conclusions up as a handoff brief, including the goal, the agreed approach, the change scope, and the acceptance criteria.”
  2. Start a new session, and pick the model and reasoning level you want in the model selector.
  3. Paste the handoff brief in, then tell it what to do, for example “Implement this plan and run the relevant tests.”
For the order-list filter example, a handoff brief looks roughly like this:
Goal: add status filters to the order list Agreed approach: filter on the server; add an optional status parameter to the list API; when it is omitted, behavior stays the same as today Change scope: only the order-list component, the list API, and the corresponding tests; leave pagination logic untouched Acceptance criteria: all related tests pass; when status is omitted, the API response matches today’s behavior
You can use the same method when you finally ask M4 to review: start a new session, attach this handoff brief, the actual changes, and the test results, and M4 can check the original plan for gaps.

Temporary discussion, without interrupting the main line

  • Side Chat: Type / and choose Side Chat, or select text in a message and choose Add to side chat. A Side Chat can use its own model — for example, pick M4 to discuss “is there a simpler way to write this” — and the main session’s model and cache are unaffected. Once you have a conclusion, bring it back to the main session.
  • Fork session: Type / and choose Fork session to branch off with the current context and try another approach; the original session stays untouched. If you switch models or change the reasoning level on the branch, the full context still has to be recomputed once.

Compact model: save the cost of summarization when you stay in the same session

When you keep going in the original session without switching the main model, a growing context will trigger automatic compaction, and you can also type / while the task is idle and choose Compact. A compaction has to read the full history and then write a summary; if the main session is on M4, that step is also billed at M4 rates. In the desktop app, under Settings → General, you can set Compact model to M3.1 Flash, with the reasoning level at low or medium (the default, Auto follows the current session’s model). After compaction, the main session continues on its original model:
  • If the cache is still valid, keep using the current session’s model: If you compact shortly after a conversation, reusing the current model’s existing cache is cheaper than switching to another model and recomputing the full history.
  • If the cache has expired or you just switched models, automatically use the compact model: If you come back to a session after leaving it for a while, the old cache is already invalid. M3.1 Flash then writes the summary, so M4 doesn’t have to recompute the full history.
This currently works for local sessions on the desktop app. Cloud tasks in the web app and SSH sessions are not supported yet. If the compact model you chose is unavailable, compaction will prompt you to go to Settings and pick another one; it will not silently fall back to the main session’s model.

5. Putting it to work on the desktop app

Approach 1: M4 plans, M3.1 Flash executes

  1. In the model selector in the message box, choose M4, and set the reasoning level to high or max.
  2. Type / , choose Plan, then describe the task, for example: “Compare client-side and server-side filtering, check pagination and compatibility with the existing API, and produce a change scope and acceptance cases.”
  3. Review the plan, follow up if you have questions, and start work only after you’ve confirmed it.
  4. Before you start, switch the model to M3.1 Flash and the reasoning level to medium, and have it change the code according to the plan and run the relevant tests. If the planning discussion is already long, start a new session to execute, following Cross-session handoff in section 4, so every later step has less context to read.
If something new comes up during execution, send a message and choose Steer to put the extra requirement into the current task, without stopping to start over. If you hit a difficulty the plan didn’t cover, ask the M4 advisor for advice first, or discuss it with M4 in a Side Chat, and try not to switch models back and forth in the main session.

Approach 2: M3.1 Flash implements, M4 reviews in a new session

  1. In the development session, complete the implementation with M3.1 Flash (medium / high) and run the relevant tests.
  2. In the same workspace, start a new session, choose M4, and set the reasoning level to high or max.
  3. Type / , choose Code Review, review the current uncommitted local changes, and state what to focus on, for example “Pay special attention to pagination edge cases and compatibility with the existing API.”
  4. Go back to the development session, pick out the comments that need action, and have M3.1 Flash fix them and rerun the tests.
The review session starts from scratch and only reads this set of changes. It doesn’t inherit the long context of the development session, so using M4 won’t cost much.

Approach 3: M4 in the main session, M3.1 Flash subagents investigate

  1. Use M4 in the main session and continue working through the design of the filter API.
  2. Delegate in a message, and specify the model and reasoning level: “Dispatch a subagent on M3.1 Flash at reasoning level low. In read-only mode, find the pages that call the order-list API and any existing pagination tests, and list the file paths. I’ll keep designing the filter parameters.”
  3. The subagent brings only conclusions and file locations back to the main session. M4 then combines the callers and test coverage to decide whether to change the public API.
For roles you use often (for example “caller investigation” or “add tests”), you can create a custom Agent in Agent Team in the sidebar, set its model to M3.1 Flash, and write its instructions. After that, mention it with @ in the message box. When you also hand adding tests to a subagent, give it one test file and the corresponding test command, and have it report the changes and the run results, so it doesn’t edit the same file at the same time as the main session. A subagent’s main value is isolating context: it reads files and runs commands in its own session, and brings only conclusions back to the main session, so the main session’s context isn’t inflated by a large amount of intermediate work. But more splits aren’t always better — each subagent also uses credits.

Long-running work and automation

  • Goal: First have M4 draft the goal, spelling out the completion criteria, how it will be verified, the working boundaries, and the blocking conditions. After you confirm it, switch to M3.1 Flash (medium) to drive the work, and turn on the M4 advisor so it can suggest adjustments when the work drifts or gets stuck. A Goal runs for many turns in a row and uses substantially more than a one-time prompt. You can set a budget in the message box with /goal budget=50K , and you can pause or edit it at any time.
  • Scheduled tasks: When you create a scheduled task, you can choose a model just for it. For fixed workflows such as daily reports or inspections, M3.1 Flash at a low or medium reasoning level is usually enough.
  • Custom Agents: Each custom Agent can be bound to its own model — for example, an architecture-review Agent on M4, and documentation or add-tests Agents on M3.1 Flash.
  • Custom models (BYOK): In Settings, enter the endpoint URL, API Key, and model name. After you add it, it appears in the selector alongside the built-in models, and can serve as another point of view during review.

Quick reference: a checklist for saving credits

  • Five things affect consumption: the model, the reasoning level, context length, the number of execution steps, and whether the cache hits.
  • Leave M4 for “thinking” and “review,” and hand the bulk of execution to M3.1 Flash.
  • Switch the model or reasoning level once per stage. When you need M4 during execution, prefer the advisor or a Side Chat; when the context is already long, start a new session and hand off.
  • Switching models, changing the reasoning level, or compacting the context all cause the next request to recompute the full context.
  • Under Settings → General, set Compact model to M3.1 Flash: when the cache is valid, keep reusing the current model’s cache; when it has expired, let Flash write the summary.