Skip to content
++++
Back to catalog
Moonshot

kimi-k2

Kimi K2

Moonshot mixture-of-experts language model optimized for coding and reasoning.

Get an API key
Input price from
$0.114/1M tokens
Output price from
$0.46/1M tokens
Context window
131072
Modalities

Pricing

API access80% OFF
Input
$0.114
$0.5780% off
Output
$0.46
$2.3080% off

Cache writes: not charged

All prices are per million tokens and already include the discount shown above.

These public prices exclude group discounts. Your billed price may be lower based on your group.

Stability & performance

Success rate

0%

Latency

P50 latency368ms
P95 latency368ms

Throughput

No data yet

Prompt cache hit rate

No data yet

24-hour status

24 hours agoNow

Based on billed requests over the past 24 hours.

Integration & capabilities

Supported protocols

Compatible format
OpenAI
Routes
POST /v1/chat/completionsGET /v1/models
Features
StreamingPrompt cachingFunction callingSystem messages
Request parameters
modelmessagestemperaturetoolsstream

Connect your tool

Cursor

Cursor

BASE URL
https://api.unbar.sh/v1
MODEL
kimi-k2
  1. Create your key on the keys page.
  2. Open Settings → Models and turn on Override OpenAI Base URL; set it to https://api.unbar.sh/v1.
  3. Paste that key into the OpenAI API Key field.
  4. Add a custom model named kimi-k2 and select it.

Supported capabilities

Function callingSupported

The model can call tools you define and return structured arguments to run them.

Tool choiceNot supported

You can require, allow, or forbid tool use for a single request.

Structured outputsNot supported

The model can return JSON that matches a schema you supply.

ReasoningNot supported

The model can work through a problem step by step before it answers.

Prompt cachingNot supported

Repeated context is cached, so you pay less for tokens the model has already read.

VisionNot supported

The model can read and describe images sent with a prompt.

PDF inputNot supported

The model can read PDF documents sent with a prompt.

Computer useNot supported

The model can drive a computer interface to complete a task.

Context & limits

Context window
131072
Max output tokens
98304
++