Skip to content

Kimi K3.1 Pro

Kimi K3.1 Pro is Moonshot AI's flagship open-weight multimodal reasoning model and a post-trained successor to Kimi K3, with a 1M-token context window.

Pricing

Input
$2.10per 1M tokens
Output
$10.50per 1M tokens
Cache read
$0.21per 1M tokens
Max output
943,718tokens

OpenRouter's price plus OpenRouter's 5% platform fee. Deference adds no markup.

opencode.json

{
  "provider": {
    "deference": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "https://deference.si/v1", "apiKey": "{env:DEFERENCE_API_KEY}" },
      "models": { "moonshotai/kimi-k3.1-pro": { "limit": { "context": 1048576, "output": 943718 } } }
    }
  }
}
OpenCode, set up for Kimi K3.1 Pro

Find us on