File size: 5,480 Bytes
24d898a
 
 
2bbb5a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24d898a
2bbb5a5
 
 
 
 
 
 
 
 
 
 
 
771b6ba
2bbb5a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
---
license: other
license_name: minimax-community
license_link: https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash
pipeline_tag: image-text-to-text
base_model: MiniMaxAI/MiniMax-M3.1-Flash
tags:
- minimax
- minimax-m3.1
- multimodal
- mixture-of-experts
- moe
- agent
- coding
- computer-use
- long-context
- conversational
- openai-compatible
- serverless-inference
- llm-api
- token-factory
- packet-ai
---
 
# MiniMax-M3.1-Flash — Serverless API on Token Factory by packet.ai
 
Run **MiniMax-M3.1-Flash** through a **serverless, OpenAI-compatible API** with **pay-per-token** billing. [Token Factory](https://packet.ai/token-factory) by [packet.ai](https://packet.ai) serves open-weight models behind an OpenAI-compatible endpoint, so you can switch your existing OpenAI SDK code by changing only the base URL and API key.
 
This card describes the hosted API for [`MiniMaxAI/MiniMax-M3.1-Flash`](https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash), MiniMax's native multimodal mixture-of-experts model — an agentic model for coding and computer use.
 
## Why use MiniMax-M3.1-Flash on Token Factory
 
- **OpenAI-compatible endpoint** — works with existing OpenAI SDKs.
- **Streaming, JSON mode and tool calling** supported on chat completions.
- **Pay per token** — input and output tokens are metered separately; nothing is charged while idle.
- **Free for one month at launch (till Dec 16th)**, then billed per 1M tokens. See [current pricing](https://packet.ai/token-factory).
- **Scale to dedicated GPUs** — move the model to a dedicated GPU running vLLM while keeping the same endpoint shape.
 
## Good for
 
MiniMax describes M3.1-Flash as built for:
 
- **Coding**
- **Agentic workflows**
- **Computer use**
- **Cybersecurity**
 
## Model overview
 
| Property | Value |
|---|---|
| Model | MiniMax-M3.1-Flash |
| Developer | MiniMax |
| Type | Native multimodal mixture-of-experts (MoE) |
| Builds on | MiniMax-M3 |
| Attention | MiniMax Sparse Attention (MSA) |
| Context window | Up to 1M tokens (usable length depends on serving configuration) |
| Input | Text, image, video |
| Output | Text |
| Reasoning effort levels | low, medium, high, xhigh, max |
| Recommended sampling | temperature = 1.0, top_p = 0.95 |
| License | MiniMax Community License |
 
## Benchmarks
 
Selected results reported by MiniMax for the official MiniMax-M3.1-Flash weights. See the [original model card](https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash) for the full table and comparisons.
 
| Benchmark | MiniMax-M3.1-Flash |
|---|---|
| DeepSWE v1.1 | 73.7 |
| NL2Repo-Bench | 61.2 |
| Terminal Bench 4.0 | 38.1 |
| OSWorld 2.0 | 61.7 |
| Automation-Bench v1.0.6 | 62.8 |
| BankerToolBench | 76.2 |
| CyberGym | 82.2 |
| LOCA-Bench 256K | 60.3 |
| BabyVision (with tools) | 91.0 |
| CharXiv RQ | 82.5 |
| HLE (without tools) | 43.4 |
 
## Quickstart
 
### 1. Get an API key
 
Sign up at [dash.packet.ai](https://dash.packet.ai/signup) and create an API key.
 
### 2. Call the API (Python, OpenAI SDK)
 
```python
from openai import OpenAI
 
client = OpenAI(
    api_key="PACKET_API_KEY",
    base_url="https://api.packet.ai/v1",
)
 
response = client.chat.completions.create(
    model="MINIMAX_MODEL_ID_FROM_DASHBOARD",
    messages=[{"role": "user", "content": "Implement Hello World"}],
)
print(response.choices[0].message.content)
```
 
Replace `PACKET_API_KEY` with your API key. Full API documentation: [dash.packet.ai/docs](https://dash.packet.ai/docs)
 
## Other models on Token Factory
 
| Model | Highlights |
|---|---|
| [`nvidia/DeepSeek-V4.1-Flash-NVFP4`](https://huggingface.co/nvidia/DeepSeek-V4.1-Flash-NVFP4) | Reasoning model, 1M-token context, image input |
| [`Qwen/Qwen2.5-1.5B-Instruct`](https://huggingface.co/tokenfactorypacketai/Qwen2.5-1.5B-Instruct) | Small, fast model for classification and extraction, 32K context, 29+ languages |
 
See the full, up-to-date list at [packet.ai/token-factory](https://packet.ai/token-factory).
 
## Run it yourself
 
Prefer to self-host? Use the original weights from MiniMax: [`MiniMaxAI/MiniMax-M3.1-Flash`](https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash). MiniMax recommends SGLang, vLLM or TokenSpeed for serving.
 
## About packet.ai
 
[packet.ai](https://packet.ai) is a hosted·ai project operated by HOSTED AI Inc., 2880 Zanker Rd, Suite 203, San Jose, CA 95134. Alongside Token Factory, packet.ai offers GPUs (B200, RTX PRO 6000, A100, RTX 4090), dynamic and dedicated GPUs, and bare metal/clusters, billed by the minute.
 
- Website: [packet.ai](https://packet.ai)
- Token Factory: [packet.ai/token-factory](https://packet.ai/token-factory)
- Docs: [dash.packet.ai/docs](https://dash.packet.ai/docs)
- Talk to an engineer: [packet.ai/contact](https://packet.ai/contact)
- X: [@packet_ai](https://x.com/packet_ai) · LinkedIn: [packet-dot-ai](https://www.linkedin.com/company/packet-dot-ai) · GitHub: [hosted-ai](https://github.com/hosted-ai)
 
## License and attribution
 
MiniMax-M3.1-Flash is developed by [MiniMax](https://huggingface.co/MiniMaxAI) and released under the MiniMax Community License; see the [original model card](https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash) for the license terms. Token Factory provides hosted inference for this model. Use of the API is subject to packet.ai's [Terms](https://packet.ai/terms) and [Privacy Policy](https://packet.ai/privacy).
 
## Citation
 
MiniMax Sparse Attention paper: [arXiv:2606.13392](https://arxiv.org/abs/2606.13392)