---
title: "MiniMax M3.1 Flash API Pricing & Context | Inference.net"
description: "Run MiniMax M3.1 Flash by MiniMax on Inference.net: $0.10/1M input, $0.50/1M output, 1M context. OpenAI-compatible API quickstart."
url: "https://inference.net/models/minimax-m3-1-flash/"
---

# MiniMax M3.1 Flash

Run MiniMax M3.1 Flash by MiniMax on Inference.net through a serverless, OpenAI-compatible API at $0.10 per 1M input tokens and $0.50 per 1M output tokens. Built on a Mixture-of-Experts architecture with a 1M-token context window with reasoning, vision, and tool calling support, it streams low-latency responses with Zero Data Retention enabled by default.

MiniMax Reasoning Model Mixture-of-Experts 1M context US residency

[Get started](https://inference.net/register/) [Documentation](https://inference.net/docs/api/quickstart/)`minimax-m3.1-flash`

MODEL API PRICING

PER 1M TOKENS

Input

$0.10

Cache read

$0.005

Output

$0.50

[See all pricing](https://inference.net/subscription/)

LIVE PERFORMANCE LIVE

MEDIAN · LAST 15 MIN

Time to first token (p50)

204 ms

Output throughput (p50)

134 tok/s

[Live benchmarks](https://inference.net/benchmarks/)

MODEL SPEC

Developed by

MiniMax

Model family

MiniMax M3.1 Flash

Size

Not disclosed

Architecture

Mixture-of-Experts

Context window

1M tokens

Max output

524K tokens

License

MIT

Overview

MiniMax M3.1 Flash is a reasoning model from MiniMax built on a Mixture-of-Experts architecture, available through the Inference.net serverless API. Use the same OpenAI-compatible request shape across the catalog and switch models by changing a single identifier.

The API supports streaming responses and project-scoped credentials. Usage, token volume, and spend appear in the dashboard automatically, so the model can move from evaluation to production without a second integration path.

QUICKSTART [Get API key](https://inference.net/dashboard/api-keys/)

```typescript
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.inference.net/v1',
  apiKey: process.env.INFERENCE_API_KEY,
})

const completion = await client.chat.completions.create({
  model: 'minimax-m3.1-flash',
  messages: [{ role: 'user', content: 'Hello' }],
})
```

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inference.net/v1",
    api_key=os.environ["INFERENCE_API_KEY"],
)

completion = client.chat.completions.create(
    model="minimax-m3.1-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
```

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

## PRICING & TOKEN RATES

USD per 1M tokens

| Token type | Rate (per 1M) | Details |
| --- | --- | --- |
| Input | $0.10 | Standard prompt tokens |
| Cache read | $0.005 | 95% savings vs. standard input |
| Output | $0.50 | Generated completion tokens |

## SPECIFICATIONS & CAPABILITIES

minimax-m3.1-flash

| Specification | Value |
| --- | --- |
| Maker | MiniMax |
| Architecture | Mixture-of-Experts |
| Parameters | |
| Quantization | fp4 |
| Context window | 1M tokens (1,000,000) |
| Max output | 524K tokens (524,288) |
| Input modalities | Text, Image |
| Output modalities | Text |
| Tool calling | Supported |
| Structured outputs | Supported |
| JSON object mode | Supported |
| Logprobs | Not specified |
| Reasoning efforts | Supported (low, medium, high, xhigh, max) |
| Supported wire endpoints | `/v1/chat/completions``/v1/responses``/v1/messages` |
| Data residency | Global (`api.inference.net`) US in-region (`us.api.inference.net`) |
| License | MIT |
| Hugging Face repository | [`MiniMaxAI/MiniMax-M3.1-Flash`](https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash) |
| Release date | Oct 19, 2026 |

AGENT INTEGRATIONS [View all](https://inference.net/docs/integrations/overview/)

[### Claude Code Native Anthropic /v1/messages. Six model slots for every Claude Code workload. `fast claude on`](https://inference.net/docs/integrations/claude-code/) [### Codex OpenAI-compatible Responses API with a reversible Codex configuration. `fast codex on`](https://inference.net/docs/integrations/codex/) [### Grok Chat completions with a catalog-backed section for each supported alias. `fast grok on`](https://inference.net/docs/integrations/grok/) [### OpenCode Chat completions with Inference.net models registered as an OpenCode provider. `fast opencode on`](https://inference.net/docs/integrations/opencode/) [### Pi Chat completions with model and provider settings written for Pi Agent. `fast pi on`](https://inference.net/docs/integrations/pi/) [### Hermes Hermes provider configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/hermes/) [### OpenClaw OpenClaw provider routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/openclaw/) [### Fx Fx gateway configuration is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/fx/) [### Cursor Cursor base URL routing is documented while its CLI adapter is in preview. `CLI adapter in preview`](https://inference.net/docs/integrations/cursor/)

FAQ

## Frequently asked questions about MiniMax M3.1 Flash

### How much does MiniMax M3.1 Flash cost on Inference.net, and is prompt caching supported?

On Inference.net, MiniMax M3.1 Flash is priced at $0.10 per 1M input tokens and $0.50 per 1M output tokens. Cached input reads are $0.005 per 1M tokens (95% less than standard input).

### What are the context window and max output token limits for MiniMax M3.1 Flash?

MiniMax M3.1 Flash supports a 1M tokens (1,000,000) input context window and up to 524K tokens (524,288) output tokens per request. It accepts text and image input and produces text output.

### What capabilities and API endpoints does MiniMax M3.1 Flash support?

MiniMax M3.1 Flash supports tool calling, structured outputs (JSON Schema), JSON object mode, configurable reasoning (low, medium, high, xhigh, max effort levels), and image vision inputs. It is callable over /v1/chat/completions, /v1/responses, and /v1/messages on Inference.net.

### Does Inference.net offer Zero Data Retention and US data residency for MiniMax M3.1 Flash?

Yes. Zero Data Retention (ZDR) is enabled by default for new accounts on Inference.net, so prompts and outputs sent to MiniMax M3.1 Flash are not retained after processing. Inference.net is SOC 2 Type 2 compliant; see our [ZDR policy](https://inference.net/zero-data-retention/) for full details. For US data residency, send requests to the US-pinned endpoint at us.api.inference.net alongside the global api.inference.net host.

### Can I call MiniMax M3.1 Flash with the standard OpenAI SDK?

Yes. Point the official OpenAI TypeScript or Python SDK (or any OpenAI-compatible coding agent) to https://api.inference.net/v1 with your Inference.net API key and set model to "minimax-m3.1-flash".

Head-to-head comparisons

[All comparisons](https://inference.net/compare/)

[**MiniMax M3.1 Flash vs DeepSeek V4.1 Flash**Two speed-optimized flash models compared live on per-1M pricing, prompt caching, context limits, and agent fit. Live pricing & telemetry](https://inference.net/compare/minimax-m3-1-flash-vs-deepseek-v4-1-flash/)

Related models

[See all models](https://inference.net/models/)

[**GLM-5.3-Flash**Z.ai 1M context Vision Tools Reasoning In **$0.10** Out **$0.35**](https://inference.net/models/glm-5-3-flash/) [**DeepSeek V4.1 Flash**DeepSeek 1M context Vision Tools Reasoning In **$0.103** Out **$0.60**](https://inference.net/models/deepseek-v4-1-flash/) [**GPT-6 Luna**OpenAI 922K context Vision Tools Reasoning In **$0.10** Out **$0.50**](https://inference.net/models/gpt-6-luna/) [**DeepSeek V4.1 Flash 1017**DeepSeek 1M context Vision Tools Reasoning In **$0.08** Out **$0.635**](https://inference.net/models/deepseek-v4-1-flash-1017/)

Ready when you are

## Start building with MiniMax M3.1 Flash today

Serverless, OpenAI-compatible, and billed per token. No commitments.

[Get started](https://inference.net/register/) [Read the docs](https://inference.net/docs/api/quickstart/)
