AI City Remix$11,500 prize pool. Pick a city, let AI tell its story, Oct 22 – 28.Join now

MoonshotAI: Kimi K3.1 Pro

moonshotai/kimi-k3.1-pro

Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model, a post-trained successor to Kimi K3 with a 1M-token context window. It accepts text, image and video input and is built for long-horizon coding, agentic tool use and visual software work.

Input price
$2.00USD / 1M tokens
Output price
$10.00USD / 1M tokens
Context window
1M
Max output
131.1K
Production route

Try the model

Playground

Open playground
Input⌘ / Ctrl + Enter

Try a prompt

1M context131.1K max outputVision
Input$2.00/MOutput$10.00/MCache read$0.20/MCache write$2.00/M
OutputReady

Your response will appear here

Choose an example or write a prompt, then click Run.

Model card

Specifications

Pricing

Input
$2 / 1M tokens
Output
$10 / 1M tokens
Cache read
$0.20 / 1M tokens
Cache write
$2 / 1M tokens

Context & modalities

Context window
1,048,576 tokens
Max output
131,072 tokens
Input
Text, image
Output
Text

Capabilities

Chat
Supported
Vision
Supported
Reasoning
Supported
Structured output
Supported
Function calling
Supported
Audio input
Not supported

Access

Provider
Moonshot AI
Model ID
moonshotai/kimi-k3.1-pro
Execution
sync
Base URL
https://api.sandbase.ai
API
Chat Completions API
Endpoint
/v1/chat/completions

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Chat Completions API endpoint
https://api.sandbase.ai/v1/chat/completions
Model ID
moonshotai/kimi-k3.1-pro
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/chat/completions" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "moonshotai/kimi-k3.1-pro",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Choose your model

Compare models

All language models
ModelContextInput / 1MOutput / 1MReleased
Kimi K3.1 ProThis model
Moonshot AI
1M$2.00$10.00Oct 23, 2026
Moonshot AI1M$3.00$15.00Jul 26, 2026
Moonshot AI256K$0.95$4.00Apr 20, 2026
Moonshot AI256K$0.60$3.00Jan 27, 2026

Questions

FAQ

How do I call Moonshot AI Kimi K3.1 Pro through SandBase?

Create a SandBase API key, then send requests with the model ID "moonshotai/kimi-k3.1-pro" to Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

How much does Moonshot AI Kimi K3.1 Pro cost?

$2 per 1M input tokens and $10 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

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

1M tokens of context, with up to 131.1K output tokens per response.

Which features does Moonshot AI Kimi K3.1 Pro support?

Moonshot AI Kimi K3.1 Pro supports vision (image input), reasoning, function calling, structured output. See Specifications above for the full list.

Do I need a separate Moonshot AI account?

No. One SandBase API key and balance gives you access to Moonshot AI Kimi K3.1 Pro and the other models in the catalog; you do not need to sign up with Moonshot AI separately.