Felo API PlatformFelo API Platform
Back to models
Moonshot AImessages

MoonshotAI: Kimi K3.1 Pro API

Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model with a 1-million-token context window, built for long-horizon agentic work.

Kimi K3.1 Pro is the first model in Moonshot AI's K3.1 series and the post-trained successor to Kimi K3. It is a flagship open-weight multimodal reasoning model built on Kimi K3's Mixture-of-Experts design, with 2.8 trillion total parameters and 104 billion activated parameters per forward pass. The architecture incorporates Kimi Delta Attention and Attention Residuals, a Stable LatentMoE framework that activates 16 out of 896 experts, and MXFP4 weights with MXFP8 activations under quantization-aware training. A MoonViT-V2 vision encoder with 401 million parameters handles native image and video understanding alongside text. Full model weights are released under the Kimi K3 License.

The model accepts text, image, and video input and produces text output, with streaming, structured generation, and tool calling with configurable reasoning effort. It can run scripts for Blender and CAD software without MCP connectors and coordinate terminal tools. Compared with Kimi K3, Moonshot AI reports substantial gains in coding, 3D creation, financial research, and agentic capabilities, positioning the model for long-horizon engineering with minimal human supervision.

Kimi K3.1 Pro suits demanding knowledge work that spans many steps: long-horizon coding, GPU kernel optimization, compiler development, chip design, CAD and parametric modeling, vision-in-the-loop game development, financial research, and multi-step business workflow automation. It is available on Kimi.ai, Kimi Work, Kimi Code, and the Kimi API.

Updated:

MODEL ID

kimi-k3.1-pro
Context
1.049M
Max output
943.718K
Recommended API
messages
Input
text / image / video
Output
text
MoonshotAI: Kimi K3.1 Pro: a pelican riding a bicycle

See this model’s pelican

See what MoonshotAI: Kimi K3.1 Pro created from the same prompt.

Highlights

  • 1-million-token context window
  • Native text, image, and video input
  • 2.8 trillion total parameters, 104 billion activated
  • Runs Blender and CAD scripts without MCP connectors
  • Open weights under the Kimi K3 License

Providers

2 providers

Compare API prices across providers. Select a provider to view all charges and conditions.

Provider · Pricing details
Uptime
$4$20$0.2
$2$10$0.2

What $10 buys

Input
2.5M tokens
Output
500K tokens

Estimated from current input and output prices, before discounts.

Benchmarks

  • Financial Modeling

    point improvement over Kimi K3 on an internal benchmark

    7.2
  • Financial Research

    point improvement over Kimi K3 on an internal benchmark

    11.6
  • Business Operation

    times the performance of Kimi K3 on an internal benchmark

    4.2
  • Kimi Hallu Bench Hard

    claim-level hallucination rate, compared with 23.4% for Kimi K3

    8.3%
  • Kimi Hallu Bench Hard

    share of responses with at least one factual error relative to Kimi K3

    42.4%

Scores as published by the model provider.

Reasoning

Default effort
max
Enabled by default
Yes
Always enabled
No
Available effort levels
max / high / low / none

Quick Start

Drop-in code to call this model with Felo API Platform compatible APIs. Start in the Playground when you want to test prompts before writing code.

1

Get your API key

Create a key from your Felo API Platform account and set it as an environment variable.

export FELO_API_KEY="YOUR_API_KEY"
2

Make your first request

Use this model ID with the Felo API Platform endpoint. Optional request headers such as X-Request-Id can help troubleshooting.

kimi-k3.1-pro

This model is reasoning-capable. If your selected protocol and model route expose reasoning controls, preserve the returned reasoning metadata when continuing a conversation.

const response = await fetch("https://openapi.felo.ai/api/v1/messages", {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.FELO_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
  "model": "kimi-k3.1-pro",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ]
}),
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());

Using third-party SDKs

Use compatible SDKs by setting baseURL to https://openapi.felo.ai/api/v1. Use the Anthropic-compatible base URL for Claude-style clients. https://openapi.felo.ai/api.

3

Enable streaming

Add stream: true to receive responses as server-sent events.

curl -N https://openapi.felo.ai/api/v1/messages \
  -H "Authorization: Bearer $FELO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "kimi-k3.1-pro",
  "max_tokens": 1024,
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "stream": true
}'

Endpoint

Felo API Platform exposes compatible model-calling surfaces. Pick the surface your app or agent client already supports.

SurfaceMethodURL

Messages

Anthropic-compatible messages for Claude-style clients.

POST

https://openapi.felo.ai/api/v1/messages

Parameters

NameTypeDefaultDescription
modelstringkimi-k3.1-proPublic model ID to call.
max_tokensinteger—Maximum generated tokens.
messagesarray—Conversation messages for Chat Completions.
stop———
toolsarray—Tool calling definitions following compatible schema.
logprobs———
reasoning———
tool_choicestring or object—Controls whether a tool should be called.
top_logprobs———
response_formatobject—Request structured output when supported.
presence_penalty———
reasoning_effort———
frequency_penalty———
include_reasoning———
structured_outputs———

Frequently asked questions

What is MoonshotAI: Kimi K3.1 Pro?

Kimi K3.1 Pro is the first model in Moonshot AI's K3.1 series and the post-trained successor to Kimi K3. It is a flagship open-weight multimodal reasoning model built on Kimi K3's Mixture-of-Experts design, with 2.8 trillion total parameters and 104 billion activated parameters per forward pass. The architecture incorporates Kimi Delta Attention and Attention Residuals, a Stable LatentMoE framework that activates 16 out of 896 experts, and MXFP4 weights with MXFP8 activations under quantization-aware training. A MoonViT-V2 vision encoder with 401 million parameters handles native image and video understanding alongside text. Full model weights are released under the Kimi K3 License. The model accepts text, image, and video input and produces text output, with streaming, structured generation, and tool calling with configurable reasoning effort. It can run scripts for Blender and CAD software without MCP connectors and coordinate terminal tools. Compared with Kimi K3, Moonshot AI reports substantial gains in coding, 3D creation, financial research, and agentic capabilities, positioning the model for long-horizon engineering with minimal human supervision. Kimi K3.1 Pro suits demanding knowledge work that spans many steps: long-horizon coding, GPU kernel optimization, compiler development, chip design, CAD and parametric modeling, vision-in-the-loop game development, financial research, and multi-step business workflow automation. It is available on Kimi.ai, Kimi Work, Kimi Code, and the Kimi API.

How is usage billed?

Your bill depends on the provider you use, its prices and your usage. Longer inputs or other conditions may have different prices.

What input modalities does Kimi K3.1 Pro support?

It accepts text, image, and video input and produces text output. Native image and video understanding runs alongside text processing.

How large is its context window?

Kimi K3.1 Pro offers a 1-million-token context window. The provided material does not specify a separate maximum output length.

What tasks is it best suited for?

It is designed for long-horizon agentic work such as coding, GPU kernel optimization, compiler development, chip design, CAD and parametric modeling, financial research, and business workflow automation.

How does it differ from Kimi K3?

Kimi K3.1 Pro is the post-trained successor to Kimi K3 and the first model in the K3.1 series. Moonshot AI reports substantial improvements in coding, 3D creation, financial research, and agentic capabilities over Kimi K3.

What tools can it use without MCP connectors?

It can run scripts for Blender and CAD software without MCP connectors. It also coordinates terminal tools and supports tool calling with configurable reasoning effort.

Related models