New version available

Refresh to update

Could not apply changes

Kimi K3

moonshot
moonshotai/kimi-k3

Moonshot AI flagship multimodal reasoning model for long-horizon coding, knowledge work, and agentic workflows. Supports vision, reasoning, and function calling with a 1M-token context window; available through the Cloudflare AI model catalog.

Quick start

TypeScript
cURL
import OpenAI from 'openai'

const openai = new OpenAI({
  apiKey: process.env.CODEPLATFORM_API_KEY,
  baseURL: 'https://ai.codeplatform.net/v1',
})

const response = await openai.chat.completions.create({
  model: 'moonshotai/kimi-k3',
  messages: [{
    role: 'user',
    content: 'Hello world',
  }],
})

API details

Send requests to the OpenAI-compatible /v1/chat/completions endpoint.

Capabilities

Pricing

Input tokens (per 1M)$3.00
Output tokens (per 1M)$15.00
Cached input (per 1M)$0.30

Limits

Context length1,048,576 tokens
Max output1,048,576 tokens