Kimi K3.1 Pro

by Moonshot AI
moonshotai/kimi-k3.1-pro

Kimi K3.1 Pro is a text-input model by Moonshot AI, available through the AgentSky API as moonshotai/kimi-k3.1-pro at $2.20 per million input tokens and $11.00 per million output tokens, with a 1M context window.

Kimi K3.1 Pro is Moonshot AI's flagship reasoning model and a post-trained successor to Kimi K3, with a 1M-token context window. AgentSky's certified public API route currently accepts text input only.

Run Kimi K3.1 Pro with an agent

Each guide pairs this model with a compatible agent and opens the composer with both selected.

Pricing

USD per million tokens, using your plan when signed in.
MeterPer 1M tokens
InputPrice: $2.20
OutputPrice: $11.00
Cache readPrice: $0.22
Cache writePrice: $2.20

Every response carries its own cost. Balance and per-call records: /v1/credits and /v1/generation.

Use it

Point your client at the gateway and pass this model id. Nothing else changes.
import Anthropic from "@anthropic-ai/sdk";

const client = new Anthropic({
  baseURL: "https://gateway.agentsky.dev",
  apiKey: process.env.AGENTSKY_API_KEY, // ast_…
});

const message = await client.messages.create({
  model: "moonshotai/kimi-k3.1-pro",
  max_tokens: 256,
  messages: [{ role: "user", content: "Summarise this ticket." }],
});
console.log(message.usage.cost); // USD, in the response

Questions