Kimi K3.1 Pro API

Kimi K3.1 Pro API is Moonshot AI's most capable 3T-class open-weight model with a 1M token context window, reasoning, vision and parallel tool calling, built for full-project coding and long-horizon agentic work.

Modalities
Text, ImageText
In / Out price
$2/$10per 1M
Context window
1.05M tokens
Released
Oct 23, 2026

Kimi K3.1 Pro overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Kimi K3.1 Pro through AI/ML API

Kimi K3.1 Pro by Moonshot AI

Kimi K3.1 Pro is Moonshot AI's most capable 3T-class open-weight model, a post-trained upgrade of Kimi K3 with a 1,048,576-token context window, reasoning, parallel tool calling, vision and structured outputs.

Kimi K3.1 Pro specs

Model ID
moonshot/kimi-k3-1-pro
Developer
Moonshot AI
Context window
1,048,576 tokens
Max output
1,048,576 tokens
Input
Text, Image
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What is Kimi K3.1 Pro API?

Kimi K3.1 Pro is Moonshot AI's most capable 3T-class open-weight model and the first release in the K3.1 series. It is a post-trained version of Kimi K3, trained with substantially more post-training compute, and is built for full-project coding, long-horizon agent work, research and professional knowledge work. On AI/ML API it is available through the OpenAI-compatible chat completions endpoint.

Technical specifications

  • Architecture: Mixture-of-Experts, 2.8T total / 104B active parameters
  • Context window: 1,048,576 tokens
  • Capabilities: reasoning, tool calling (parallel), vision, structured output, streaming
  • Release date: October 23, 2026

Performance benchmarks

Figures reported by Moonshot AI at launch:

  • Kimi Code Bench 3.0 Long-horizon: 61.2% (Kimi K3: 55.95%)

Where to use Kimi K3.1 Pro

Full-project coding
Multi-file features, refactors and long-running engineering tasks across large repositories.

3D and game development
Moonshot AI positions the model for work in Blender, Unreal Engine, Unity, Godot and CAD tools.

Financial analysis and research
Financial modeling, document cross-referencing and investment research with long context.

Agentic workflows
Multi-step tool use where the model plans, calls tools and keeps context over long sessions.

Use cases

Kimi K3.1 Pro is built for full-project coding, including multi-file features, refactors and long-horizon engineering tasks across large repositories.

Moonshot AI positions it for 3D modeling and game development, with direct work in Blender, Unreal Engine, Unity, Godot and CAD software.

It is suited to financial modeling, investment research and other knowledge work that requires cross-referencing many documents in a single context.

With reasoning, parallel tool calling and a 1M-token context window, it fits agentic workflows that run many steps with minimal supervision.

Capabilities

  • Reasoning
  • Function calling
  • Vision
  • Structured outputs
  • Streaming

Kimi K3.1 Pro benchmarks by Artificial Analysis

See how Kimi K3.1 Pro compares in intelligence, generation speed, cost per task and latency. Data retrieved Nov 3, 2026.

Intelligence

Index v5.0

Speed

Output tokens / second

Cost per task

USD / benchmark task

Benchmark results

Compare 7 models available on AI/ML API across 4 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Kimi K3.1 Pro API pricing

Kimi K3.1 Pro pricing in US dollars
UsagePriceUnit
Input$21M tokens
Output$101M tokens
Cached input$0.21M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Kimi K3.1 Pro vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Kimi K3.1 Pro$2$10
Kimi K2.7 Code$0.95$4
Kimi K2.7 Code HighSpeed$1.9$8
Kimi K3$3$15
Kimi K3.1 Pro Highspeed$4$20

How to use the Kimi K3.1 Pro API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "moonshot/kimi-k3-1-pro",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Kimi K3.1 Pro FAQ

What is Kimi K3.1 Pro?

Kimi K3.1 Pro is Moonshot AI's most capable 3T-class open-weight model and the first model in the K3.1 series. It is a post-trained version of Kimi K3, built for coding, research and agentic tool use, with a 1,048,576-token context window.

What inputs and outputs does Kimi K3.1 Pro support?

Kimi K3.1 Pro takes text and image input and returns text. It supports reasoning, tool calling (including parallel tool calls), vision, structured output and streaming.

What is the context window of Kimi K3.1 Pro?

Kimi K3.1 Pro has a 1,048,576-token context window, enough to keep large codebases, long documents and multi-step agent sessions in a single request.

How much does Kimi K3.1 Pro cost on AI/ML API?

Kimi K3.1 Pro costs $2 per 1M input tokens, $0.20 per 1M cached input tokens and $10 per 1M output tokens. Reasoning tokens are billed at the output rate.

How is Kimi K3.1 Pro different from Kimi K3?

Kimi K3.1 Pro keeps the Kimi K3 architecture (2.8T total / 104B active parameters, 1M context) and adds substantially more post-training. Moonshot AI reports gains in long-horizon coding (61.2% vs 55.95% on Kimi Code Bench 3.0 Long-horizon), financial modeling and research, and a lower price than Kimi K3.

How do I call Kimi K3.1 Pro via API?

Send a request to the OpenAI-compatible chat completions endpoint https://api.aimlapi.com/v1/chat/completions with the model ID moonshot/kimi-k3-1-pro and your AI/ML API key.

What is the Kimi K3.1 Pro model ID?

Use moonshot/kimi-k3-1-pro as the model parameter. Requests go to the OpenAI-compatible endpoint with your AI/ML API key.

Start building with Kimi K3.1 Pro

Kimi K3.1 Pro API

moonshot/kimi-k3-1-pro

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "moonshot/kimi-k3-1-pro",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'