Skip to content

Talk to our sales team

Custom pricing for production workloads

Thanks for reaching out

We'll be in touch soon.

Close
Something went wrong. Please try again.

Kimi K3.1 Pro

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, Image
Text
In / Out price
$2/$10per 1M
Context window
1.05M tokens
Released
Oct 23, 2026

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

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.

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.

Capabilities

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

Benchmarks by Artificial Analysis

See how Kimi K3.1 Pro compares in intelligence, generation speed, cost per task and latency.

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.

Pricing

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

Compare 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

Build with your agent

Give your agent the model details, code and documentation.

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

Frequently asked questions

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.

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.

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."
    }
  ]
}'