Skip to main content
Kimi K3.1 Pro is Moonshot AI’s K3.1 flagship model for long-horizon coding, 3D creation, financial research, and end-to-end agent workflows. It is a 3-trillion-parameter-class model with native vision understanding and a 1,048,576-token context window. Kimi K3.1 Pro Highspeed uses the same model positioning and context window, with Moonshot AI describing output speed as approximately 2–3× the standard model. Choose the standard model for the default price/speed balance and Highspeed when response latency is the priority.
The public model IDs are kimi-k3.1-pro and kimi-k3.1-pro-highspeed. Availability depends on the models enabled for your AnyFast project. This page follows the current Kimi API contract; confirm the IDs in your project’s model list before sending production traffic.

Model comparison

Both models support text, image, and video input, function tools, structured output, streaming, Partial Mode, and automatic prefix caching when the unchanged prefix is eligible. Use the same request shape for both variants; only change the model value.

Quick example

Reasoning effort

K3.1 Pro always reasons. Set the top-level reasoning_effort field to low, high, or max; the default is max. Do not send the K2.x thinking object to these models. Select the effort before a long conversation because changing it can prevent prefix-cache reuse.

Multimodal input

Send text, image, or video parts in a typed content array. AnyFast accepts public URLs and Base64 data URIs in the corresponding image_url or video_url part.

Tools and multi-turn conversations

Define function tools at the top level and use tool_choice with auto, none, or required. After executing a tool, append the complete assistant message and the matching role: "tool" result for each tool_call_id before the next request. For any multi-turn request, preserve the complete assistant message returned by AnyFast, including reasoning_content and tool_calls. Do not reconstruct the assistant message from only its visible text.

Parameters and limits

Sampling parameters are fixed for the K3 series: temperature is 1.0, top_p is 0.95, n is 1, and presence_penalty and frequency_penalty are 0. Omit them from requests.

API reference

View the request and response schema for both K3.1 Pro model IDs.

Official Kimi documentation

Compare the provider’s current model guide, API examples, and limits.