kimi-k2-5
Capability: 256K context · tool use · streaming · structured output · CJK-native
Pricing: per-token, mid tier (live rate)
Kimi K2.5 is Moonshot’s prior flagship. Native Chinese / Japanese /
Korean prompt understanding, and the 256K context window made it the
default for long-document extraction in the Chinese market. Still
production-capable; for new work, Kimi K2.6
is the recommended starting point.
Request
Body parameters
| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
model | string | yes | — | kimi-k2-5 |
messages | array | yes | — | CJK accepted natively. |
max_tokens | integer | no | model max | Max: 8192. |
tools | array | no | — | Function calling supported. |
response_format | object | no | — | JSON mode. |
stream | boolean | no | false | SSE streaming. |
Response
Code examples
Streaming + caching
"stream": true for SSE. Automatic prompt caching.
Errors
| Code | Trigger | Billed? |
|---|---|---|
| 400 / 401 / 402 / 422 / 429 | Standard | No |
| 5xx | Upstream | No (auto-retry) |
When to use
- Long-document extraction in Chinese / Japanese / Korean.
- Existing code validated against this exact version.
- For new work, prefer Kimi K2.6.
- For Western-market alternatives at similar context, see Gemini 3.1 Pro (1M).
Limits
| Limit | Value |
|---|---|
| Context window | 256K tokens |
| Max output | 8192 tokens |
| Supports tool use | Yes |
| Supports vision | No |
| Supports streaming | Yes |
| Supports prompt caching | Automatic |