Models / Moonshot AI

Kimi K3.1 Pro

$2/Mtok in

Moonshot's 3T-class open-weight flagship with a 1M context window, built for coding, 3D and financial agents.

Playground

Try it in the browser

Playground$2 in / $10 out per 1M tokens

Facts

At a glance

Availability

Live

Pricing

$2 / M input · $10 / M output · $0.2 / M cached input

Endpoint

Chat Completions

/v1/chat/completions

Context window

1,048.576k tokens

API

Call it from code

import OpenAI from "openai"

const client = new OpenAI({
  baseURL: "https://api.companyfabric.com/v1",
  apiKey: process.env.COMPANYFABRIC_API_KEY,
})

const res = await client.chat.completions.create({
  model: "moonshotai/kimi-k3.1-pro",
  max_tokens: 1024,
  temperature: 0.7,
  messages: [{ role: "user", content: "Say hello from the fabric." }],
})

console.log(res.choices[0].message.content)

Prompt library

Example runs

Refactor this 300-line route handler into service + validation layers.

This exact run cost $0.007

FAQ

Frequently asked questions

How much does Kimi K3.1 Pro cost?

$2 / M input · $10 / M output · $0.2 / M cached input. The exact cost of each call is shown before you run it and metered to your prepaid balance, no subscription required.

Why use Kimi K3.1 Pro on CompanyFabric instead of going direct?

One key and one balance across every model in the library, at pricing at parity with or below the direct API. Switching models is a one-line change.

Is Kimi K3.1 Pro available through the OpenAI SDK?

Yes, point any OpenAI SDK at api.companyfabric.com/v1 and set model to "moonshotai/kimi-k3.1-pro".

Variants

Same family

One key. Every model. Exact prices.

Run Kimi K3.1 Pro with free starter credits. Free starter credits included, no subscription required.