---
title: "MiniMax M3.1 Flash API pricing"
canonical: https://uplinkswitch.ai/models/minimax-m3.1-flash
generated: 2026-10-22T19:59:11.702Z
source: https://api.uplinkswitch.com/v1/catalog
base_url: https://api.uplinkswitch.com/v1
---

# MiniMax M3.1 Flash API pricing

MiniMax M3.1 Flash API at $0.045/M input and $0.18/M output tokens, 70% under MiniMax's list price. 1,000,000-token context window. Works with the OpenAI SDK.

## Price per million tokens (USD)

| Tokens | MiniMax list price | UplinkSwitch | Under list |
| --- | --- | --- | --- |
| Input | $0.15 | $0.045 | 70% |
| Cached input | $0.015 | $0.0045 | 70% |
| Output | $0.60 | $0.18 | 70% |

## Model

- Model id: `minimax-m3.1-flash`
- Formats: OpenAI SDK
- Base URL: https://api.uplinkswitch.com/v1
- Context window: 1,000,000 tokens
- Max output: 65,536 tokens
- Input: text and image
- Daily real-model check: Same fingerprint since Oct 21 (https://uplinkswitch.ai/proof#minimax-m3.1-flash)

## Request

### Python · OpenAI SDK

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.uplinkswitch.com/v1",
    api_key="sk-uplink-live-...",
)

completion = client.chat.completions.create(
    model="minimax-m3.1-flash",
    messages=[{"role": "user", "content": "Summarize this in one line."}],
)
print(completion.choices[0].message.content)
```

### TypeScript · OpenAI SDK

```typescript
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.uplinkswitch.com/v1',
  apiKey: 'sk-uplink-live-...',
});

const completion = await client.chat.completions.create({
  model: 'minimax-m3.1-flash',
  messages: [{ role: 'user', content: 'Summarize this in one line.' }],
});
console.log(completion.choices[0].message.content);
```

### curl

```bash
curl https://api.uplinkswitch.com/v1/chat/completions \
  -H "authorization: Bearer sk-uplink-live-..." \
  -H "content-type: application/json" \
  -d '{"model":"minimax-m3.1-flash","messages":[{"role":"user","content":"Hello"}]}'
```

## Questions

### What is MiniMax M3.1 Flash?

MiniMax M3.1 Flash is a model from MiniMax, with a 1,000,000-token context window, taking text and image input. Through UplinkSwitch it answers the OpenAI SDK on one key as minimax-m3.1-flash.

### How much does the MiniMax M3.1 Flash API cost?

$0.045 per million input tokens and $0.18 per million output tokens, with cached input at $0.0045. MiniMax's list price is $0.15 and $0.60, so this is 70% under MiniMax's list price.

### Is MiniMax M3.1 Flash free?

It is pay as you go: prepaid credit from $10, with no subscription or monthly fee, billed per token. A 1,000-token prompt with a 500-token reply costs about $0.0001.

### What is the MiniMax M3.1 Flash context window?

MiniMax M3.1 Flash has a 1,000,000-token context window, with up to 65,536 output tokens per request. It takes text and image input.

### What is the MiniMax M3.1 Flash model id?

minimax-m3.1-flash. Send it as the model through the OpenAI SDK with base URL https://api.uplinkswitch.com/v1.

### How do I get a MiniMax M3.1 Flash API key?

Create one in the console at uplinkswitch.ai/console: prepaid credit from $10, no subscription, and the key is live at once. The same key calls MiniMax M3.1 Flash and every other model in the catalog; send it as the bearer token with base URL https://api.uplinkswitch.com/v1.

### Is it the real MiniMax M3.1 Flash?

Every day each model gets the same test prompt, and a model always counts that prompt the same way; a swapped one would not. MiniMax M3.1 Flash's latest result: Same fingerprint since Oct 21.

## Related

- MiniMax API pricing: https://uplinkswitch.ai/pricing/minimax
- Cursor setup: https://uplinkswitch.ai/guides/cursor
- Cline setup: https://uplinkswitch.ai/guides/cline
- Roo Code setup: https://uplinkswitch.ai/guides/roo-code
- Kilo Code setup: https://uplinkswitch.ai/guides/kilo-code
- SDKs setup: https://uplinkswitch.ai/guides/sdks
- Every model and price: https://uplinkswitch.ai/llms-full.txt
- Machine catalog: https://uplinkswitch.ai/ai-catalog.json
