● MiniMax · chat
MiniMax M3.1 Flash
MiniMax M3.1 Flash — fast 1M-context multimodal coding and agent model.
Input / 1M tokens$0.15
Output / 1M tokens$0.60
Context1M
Example: 1M input + 1M output tokens = $0.75
Call MiniMax M3.1 Flash
OpenAI-compatible. Use any OpenAI SDK with the Keyra base URL and your key.
curl
curl https://api.keyra.ai/v1/chat/completions \
-H "Authorization: Bearer $KEYRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "minimax/minimax-m3.1-flash", "messages": [{"role": "user", "content": "Hello"}]}'Python · openai SDK
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.keyra.ai/v1", api_key=os.environ["KEYRA_API_KEY"])
reply = client.chat.completions.create(
model="minimax/minimax-m3.1-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)Related models
| Model | Creator | Type | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|---|
| DeepSeek V4 Flash 0731 | DeepSeek | chat | 1M | $0.11 | $0.33 |
| GLM 5.3 Flash | Z.ai | chat | 1M | $0.105 | $0.35 |
| DeepSeek V4.1 Flash | DeepSeek | chat | 1M | $0.075 | $0.30 |