minimax/minimax-m3.1-flash
The generally available Flash model in MiniMax's M3.1 line, released on October 19, 2026 to replace the September preview. Built for speed and cost in everyday development and agent work: bug fixes, feature builds and agentic coding. 1M-token context, text and image input, tool calling and prompt cache. Thinking is always on and cannot be disabled; reasoning effort takes low / medium / high / xhigh / max (default: max).
Cache read $0.0045/M · Cache write —/M
Use either ID to call this model via the API.
minimax/minimax-m3.1-flashMiniMax-M3.1-FlashYou can use these names directly in the request model field.
Replace the ONEHOP_KEY placeholder with your API key. Create one →
from openai import OpenAI
client = OpenAI(
base_url="https://api.onehop.ai/v1",
api_key="<ONEHOP_KEY>",
)
completion = client.chat.completions.create(
model="minimax/minimax-m3.1-flash",
messages=[{"role": "user", "content": "What is the meaning of life?"}],
)
print(completion.choices[0].message.content)