Moonshot AI · Kimi
Kimi-k2.5 API
The 2.5 release of the Kimi K2 series.
Kimi-k2.5 is made by Moonshot AI. On PixCode it is billed at the upstream official list price with zero markup: $0.60 input and $3.00 output per million tokens, with a 256K context window.
It speaks both the Anthropic and OpenAI protocols, so Claude Code, opencode, Cline and Zed can all use it directly.
256K
Context window
$0.60
Input / 1M tokens
$3.00
Output / 1M tokens
Anthropic + OpenAI
Protocols
Rates
USD per million tokens, read live from the gateway — the same data your charges come from.
| Item | Standard |
|---|---|
| Cache read | $0.10 |
| Input | $0.60 |
| Output | $3.00 |
Which tools can use it
It depends on the protocol. Claude Code only speaks Anthropic; Roo Code, Kilo Code and Goose use OpenAI; opencode, Cline, Zed and Factory Droid can be configured either way.
- Claude CodeAnthropic endpoint
- opencodeAnthropic endpoint
- ClineAnthropic endpoint
- Roo CodeOpenAI endpoint
- Kilo CodeOpenAI endpoint
- Factory DroidAnthropic endpoint
- ZedAnthropic endpoint
- GooseOpenAI endpoint
Setup
Replace sk-px-... with the API key from your dashboard. Other tools are covered in the docs.
export ANTHROPIC_BASE_URL="https://api.pixcode.ai/anthropic"
export ANTHROPIC_AUTH_TOKEN="sk-px-..."
export ANTHROPIC_MODEL="kimi-k2.5"
export API_TIMEOUT_MS=3000000
claude{
"provider": {
"pixcode": {
"npm": "@ai-sdk/anthropic",
"name": "PixCode",
"options": {
"baseURL": "https://api.pixcode.ai/anthropic/v1",
"apiKey": "sk-px-..."
},
"models": {
"kimi-k2.5": { "name": "Kimi-k2.5" }
}
}
},
"model": "pixcode/kimi-k2.5"
}curl https://api.pixcode.ai/v1/chat/completions \
-H "Authorization: Bearer sk-px-..." \
-H "Content-Type: application/json" \
-d '{"model": "kimi-k2.5", "messages": [{"role": "user", "content": "Hello"}]}'Across the family
Every Kimi model on PixCode, in USD per million tokens.
| Model | Context | Input | Output |
|---|---|---|---|
| kimi-k3 | 1M | $3.00 | $15.00 |
| kimi-k2.5this page | 256K | $0.60 | $3.00 |
| kimi-k2-thinking | 256K | $0.60 | $2.50 |
| kimi-k2-0905 | 256K | $0.60 | $2.50 |
| kimi-k2-instruct | 128K | $0.57 | $2.30 |
One base URL, 60 models.
A monthly Pass converts 1:1 into crystals, billed at the upstream official list price with zero markup. Purchased crystals never expire.