Back to Models
minimax logoMiniMax
minimax-m3.1-flash

MiniMax M3.1 Flash

MiniMax M3.1 Flash is a fast model from MiniMax, released on October 19, 2026, for agentic work, coding, computer use and cybersecurity. MiniMax reports inference nearly three times faster than its predecessor, output above 200 tokens per second, 73.7% on DeepSWE v1.1 and 61.7 on OSWorld V2. It reasons before answering, accepts text and images, and has a 1M-token context.

10/19/2026
1,048,576 tokens
Input: $0.1583/M
Output: $0.633/M

Specifications

Modalities

Input
text
image
Output
text

Max Output Tokens

1,048,576

Data policy

Prompt retention
Unknown — we could not confirm
Training
Unknown — not declared

"Unknown" does not mean "safe". It means we could not confirm it.

Whether a provider trains on prompts is a declared value from our terms with them. Retention is determined from the upstream listing for every host this model can reach. Neither is guessed.

Code Examples

curl https://api.fastmetal.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "minimax-m3.1-flash",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

How MiniMax M3.1 Flash actually answers

Real responses to our standard prompts, recorded on FastMetal.

Count the number of 'r's in 'strawberry'

Count the number of 'r's in 'strawberry'. Explain your reasoning step by step.

1. Spell **strawberry**: **s – t – r – a – w – b – e – r – r – y** 2. Count the letter **r**: it appears at positions **3, 8, and 9**. **Total: 3 “r”s.**
3.0s response193 output tokens

Debug This Error

I'm getting the following error in my Node.js application: TypeError: Cannot read properties of undefined (reading 'map') at UserList (/app/components/UserList.js:12:25) at renderWithHooks (/app/node_modules/rea…

The error occurs because `users` is `undefined` when `UserList` renders. Calling `.map()` on `undefined` causes the `TypeError`. This commonly happens when: - `<UserList />` is rendered without passing the `users` prop. - The prop has a different name, such as `user`. - Data is still loading and the parent initializes its state as `undefined`. - An API response is accessed before it exists. ### Immediate fix Provide a default empty array: ```jsx function UserList({ users = [] }) { return ( <ul> {users.map(user => ( <li key={user.id}>{user.name}</li> ))} </ul> ); } ``` Then pass the actual data from the parent: ```jsx const [users, setUsers] = useState([…
7.3s response744 output tokens

Code Review

Please review the following Python function and suggest improvements for readability, performance, and best practices: def get_data(url, retries=3): import requests import time for i in range(retries):…

The function is understandable, but it has a few important issues: - `except:` catches programming errors such as `KeyError`, `TypeError`, and even `KeyboardInterrupt`. - Every non-200 response is retried, including permanent failures such as 400, 401, and 404. - It sleeps after the final failed attempt. - Returning `[]` makes a failed request indistinguishable from a successful response containing no active records. - A fixed delay can cause clients to retry simultaneously; exponential backoff and `Retry-After` are preferable. - `item["active"] == True` should be `item.get("active") is True` if the API contract says it is a JSON boolean. - A `Session` can reuse connections, while `requests…
146.5s response

Compare these answers side by side with other models →

Frequently asked questions

How much does the MiniMax M3.1 Flash API cost?
On FastMetal, MiniMax M3.1 Flash is billed per token: $0.1583 per 1M input tokens and $0.633 per 1M output tokens on a US-dollar account, before tax. Usage is drawn from a prepaid balance; there is no subscription or monthly fee.
Can I call MiniMax M3.1 Flash with the OpenAI SDK?
Yes. Point base_url at https://api.fastmetal.ai/v1 and pass "minimax-m3.1-flash" as the model; existing OpenAI-style code works unchanged, including streaming, tool calls and structured output.
What is the context window of MiniMax M3.1 Flash?
1,048,576 tokens, shared between the prompt and the response.
What do I need to try MiniMax M3.1 Flash?
Create an account and add credit; the model is then available both in the browser chat and over the API. There is no contract or minimum spend.

Try MiniMax M3.1 Flash right now

MiniMax M3.1 Flash is available on FastMetal through one API key. Start in the browser, or call it from the OpenAI SDK.