Loading
RedRouterRedRouter

MiniMax M3.1 Flash

minimax-m3.1-flashAvailable

MiniMax's M3.1 Flash for text chat and automatic tool use. Forced tool choices, disabling tools with tool_choice, and structured output are unsupported.

Input
$0.19
Cached input
$0.019
Output
$0.76

per 1M tokens

Context
1M
Max output
8.2K
Tool callingJSON output unavailableOpenAI Chat CompletionsOpenAI ResponsesAnthropic Messages

Quickstart

Base URLhttps://redrouter.org/v1
Model IDminimax-m3.1-flash
curl 'https://redrouter.org/v1/chat/completions' \
  -H "Authorization: Bearer $REDROUTER_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{"messages":[{"content":"Hello","role":"user"}],"model":"minimax-m3.1-flash"}'

Set REDROUTER_API_KEY to a key from API Keys.

Supported parameters

modelmessagesstreamstream_optionsmax_tokensmax_completion_tokenstemperaturetop_pstoppresence_penaltyfrequency_penaltyseedtoolstool_choiceparallel_tool_callsuserreasoning_effortreasoningenable_thinkingthinkingthinking_budgetchat_template_kwargsoutput_config

Other parameters return HTTP 400; user is accepted but not forwarded. Request fields and limits.