MiniMax M3.1 Flash API
Text$0.06 / 1M tokens · $0.24 / 1M tokens

MiniMax M3.1 Flash API

Turn code, issue reports and screenshots into implementation plans, patches and technical explanations. MiniMax M3.1 Flash combines a 1M-token working context with reasoning and tool calling for iterative engineering tasks.

set up https://beatapi.io/SKILL.md

Give this to your agent

  • Claude Code
  • Codex
  • Hermes
  • OpenClaw
  • Manus
  • Grok Bot
  • WorkBuddy
Context window
1M
Input
$0.06 / 1M tokens
Output
$0.24 / 1M tokens
Cached input
$0.006 / 1M tokens

Playground

Chat with MiniMax M3.1 Flash here. Every message is a real request, billed to your balance at the same price as the API.

MiniMax M3.1 Flash Pricing

Charges use the rates below and your actual usage.

Specifications and pricingbeatapi
MiniMax M3.1 FlashInput · per 1M tokens
$0.06
/ 1M tokens
MiniMax M3.1 FlashCached input · per 1M tokens
$0.006
/ 1M tokens
MiniMax M3.1 FlashOutput · per 1M tokens
$0.24
/ 1M tokens

Models related to MiniMax M3.1 Flash

Compare context specifications and published pricing, with links to model details and API documentation.

MiniMax M3.1 Flash family comparison

MiniMax

ComparisonMiniMax M4MiniMax M3.1 FlashMiniMax M3
Context window1M1M1M
InputsText · ImageText · ImageText
Price from$0.40/1M tokens$0.06/1M tokens$0.12/1M tokens

MiniMax M3.1 Flash for code, screenshots and debugging

M3.1 Flash works with code, images and tool results in the same conversation. Its 1M-token context can accommodate related modules and test feedback as an engineering task develops.

Connect code changes across modules

A bug can involve a caller, a shared type and a test fixture. Give M3.1 Flash those files with the bug report. The model can trace their dependencies, propose changes across the files and explain the new behavior.

Use screenshots as engineering evidence

Send a screenshot with the relevant UI code. M3.1 Flash can connect a clipped label or misplaced control to that code. It returns a written diagnosis or a proposed code change.

Continue a tool-driven investigation

Return compiler errors, failed assertions and command output to M3.1 Flash. The model uses those results to revise its diagnosis or patch. Your application executes tool calls, sets permissions and decides when to stop.

Turn acceptance criteria into test cases

Give M3.1 Flash the requirements, existing tests and proposed patch. The model can draft edge-case tests and explain each assertion. Use those tests to check the patch against the requirements. Your application runs the tests.

MiniMax M3.1 Flash: coding and agent benchmarks

BenchmarkMiniMax M3.1 FlashDeepSeek-V4.1-Flash-1017DeepSeek-V4.1-FlashKimi-K3GLM-5.3GPT-5.6 SolOpus 5
Automation-Bench v1.0.662.860.554.846.748.845.850.3
BankerToolBench76.2—73.769.174.574.676.2
GDP.pdf AA20.8—12.822.011.227.221.6
Terminal Bench 4.038.142.331.212.637.939.951.8
LOCA-Bench 256K60.3——49.750.360.053.7
Agents' Last Exam29.6——28.3—30.632.2
OSWorld 2.061.7—54.358.3—65.770.6
PostTrain Bench v1.139.3—30.536.637.536.240.4
DeepSWE v1.173.777.074.267.566.973.074.0
NL2Repo-Bench61.268.265.458.058.056.875.3
SWE Refactor Bench23.0—11.819.510.428.531.0
CyberGym82.2——80.084.583.6—
BabyVision (w/tools)91.092.589.685.7—88.994.1
HLE (w/o tools)43.444.039.243.542.349.555.6
CharXiv RQ82.5—69.084.8—85.283.7

M3.1 Flash scores 73.7 on DeepSWE v1.1 and 62.8 on AutomationBench v1.0.6 in MiniMax's October 19, 2026 evaluation. DeepSWE uses mini-SWE-agent 2.4.5 with a 512K context limit. AutomationBench covers 600 public tasks. Blank cells mean no reported result, not zero.

MiniMax M3.1 Flash for bug fixes and code reviews

Resolve an issue with regression coverage

Supply the failing test, reproduction steps and relevant code. M3.1 Flash can draft a focused patch, explain the cause and add a regression test. Return the test results so the model can revise any remaining failures.

Investigate a slow interface

Send component code and browser profiling results. M3.1 Flash can identify a likely cause, such as repeated rendering or duplicate requests. It can propose a code change and measurements to check. Run those measurements in your browser to confirm the result.

Review a release across many files

Provide the release requirements, code diff and test summaries. M3.1 Flash can review the changes for regressions and missing tests. Ask for file references and an explanation of the affected behavior with each finding.

Implement a change from an API contract

Supply an endpoint specification, the current client code and representative responses. M3.1 Flash can draft the client changes and tests for successful and failed requests. Review the result against the contract before connecting it to a live service.

Compare MiniMax M3.1 Flash with other models

Compare published specifications and evaluate output quality on your own workload.

ComparisonMiniMax M3.1 FlashGLM 5.3 FlashMiMo V2.6 Flash
Context window1M1M1M
InputsText · ImageText · Image · VideoText
Price from$0.06/1M tokens$0.06/1M tokens$0.056/1M tokens

Connect the MiniMax M3.1 Flash API in six steps

Set the model ID to MiniMax-M3.1-Flash. Open the API tab for SDK examples, request fields and response formats.

Open the Dashboard

Sign up or sign in to open the Dashboard. Check your balance and open the credits page if you need to add funds.

Open Dashboard

Why choose MiniMax M3.1 Flash?

A practical option for coding agents that repeatedly read context, reason, call tools and revise their work.

Estimate costs without a long-prompt price jump

Flash keeps the same token rates across prompt lengths. MiniMax M3 raises whole-request rates above 512K input tokens; Flash does not. You can estimate a larger request using the same input, cache and output rates.

Match reasoning depth to the change

Choose a lower reasoning effort for a focused edit or a higher effort for a complex investigation. Reasoning stays enabled at every setting. The output budget must cover reasoning tokens and the final code or explanation.

Pay less for context that qualifies for caching

An agent may send the same instructions and source files across several turns. Reported cache hits use Flash's lower cached-input rate. Check the usage returned by each request: repeated text alone does not guarantee a cache hit.

Analyze related code and test results together

A cross-module bug needs more context than one function. Flash's 1M-token window gives you room for the issue, related source files and test results. Include the files needed to trace the problem, rather than the entire repository.

MiniMax M3.1 Flash API questions

Public model ID, token pricing, context window, compatible formats, and account behavior.

MiniMax M3.1 Flash is a reasoning and multimodal model for coding and agent tasks. BeatAPI provides it as MiniMax-M3.1-Flash through the Text API, with a 1M-token context window, image input and tool calling. It returns text, including code and structured task results.

Use MiniMax M3.1 Flash with a BeatAPI key

Use the compatible request format your application already speaks, with one account for every BeatAPI model.