Loading

Kimi K3.1 Pro

Available

Moonshot AI's Kimi K3.1 Pro for reasoning, long-context coding, and multi-step tool use.

Input
$2.60
Cached input
$0.26
Output
$13.00

per 1M tokens

Context
1.1M
Max output
8.2K
Tool callingJSON outputOpenAI Chat CompletionsOpenAI ResponsesAnthropic Messages

Quickstart

Base URL
Model ID
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":"kimi-k3.1-pro"}'

Set REDROUTER_API_KEY to a key from API Keys.

Supported parameters

modelmessagesstreamstream_optionsmax_tokensmax_completion_tokenstemperaturetop_pstoppresence_penaltyfrequency_penaltyseedtoolstool_choiceparallel_tool_callsresponse_formatuserreasoning_effortreasoningenable_thinkingthinkingthinking_budgetchat_template_kwargsoutput_config

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