Kimi K2
opencode The API that serves this model and sets the prices shown here. kimi-k2 The model identifier to send in API requests. LLM Generates text from a prompt, so it can be compared with other LLMs on price and capability. Large The most capable general-purpose tier of a model family. Retired Mar 06, 2026 This model has been retired and can no longer be relied on.Provider: moonshot · served via OpenCode
Knowledge cutoff: October 2024
Deprecated on OpenCode Zen; scheduled retirement announced.
Sticker prices & cost-per-token
List rates as published by OpenCode, before any volume or enterprise discounts.
$0.40
$2.50
262,144 tokens
262,144
tokens per response (includes reasoning tokens)
Open weights (restricted license)
Modified MIT
$0.40
Get this data free
Want to stay updated on price changes on this model? Pull this data free (no API key required) here:
curl "https://coolhandlabs.com/api/v2/inference_apis?q%5Bmodel_eq%5D=kimi-k2&q%5Bsource_api_eq%5D=opencode"
Pricing History
| Effective | Price |
|---|---|
| Aug 12, 2026 – present | Input cost: $0.40 / 1M, Output cost: $2.50 / 1M, Cached input cost: $0.40 / 1M, Cache creation cost: $0.00 / 1M, 5-minute cache write cost: $0.00 / 1M, 1-hour cache write cost: $0.00 / 1M, Reasoning output cost: $0.00 / 1M, Cache storage cost: $0.00 / 1M/hr |
History
Last change detected October 5, 2026 (21 days ago) by an automated scan.
| Date | Changed by | What changed |
|---|---|---|
| Aug 12, 2026 | Unknown | Initial record created |
Source
https://opencode.ai/docs/zen/ (via https://models.dev/api.json)Comparable models
No comparable models identified yet.
Reliability
No reliability incidents recorded in the last 90 days.
Frequently asked questions
Kimi K2 (moonshot via OpenCode) costs $0.40 per 1M input tokens and $2.50 per 1M output tokens, as last published by OpenCode.
Kimi K2 has a context window of 262,144 tokens (the maximum combined input and output it can handle in a single request).
Kimi K2 sits in the large size tier. Size tiers run from micro (small enough to run on a device) through small, medium and large to extra large (frontier flagships), and are assigned from the model's family, naming and limits rather than its price.
Kimi K2 can generate up to 262,144 tokens in a single response. Reasoning (thinking) tokens count toward this limit.
Kimi K2's training data runs through October 2024, so it may not know about later events. Coolhand records the cutoff at month precision, since providers often publish only the month.
Kimi K2 accepts text as input and produces text as output, as recorded in the Coolhand catalog.
Yes — the weights of Kimi K2 can be downloaded under the Modified MIT license. Check the license terms for any limits on commercial use.
Yes — moonshot deprecated Kimi K2 on March 6, 2026. Deprecated on OpenCode Zen; scheduled retirement announced.
moonshot retired Kimi K2 on March 6, 2026.
Since Kimi K2 is deprecated, moonshot customers are moving to Kimi K2.5, Kimi K2.7 Code, and Kimi K3.
Call GET https://coolhandlabs.com/api/v2/inference_apis?q[source_api_eq]=opencode&q[model_eq]=kimi-k2 — free, no API key required, and scoped to just this model since source_api and model together are unique. See https://coolhandlabs.com/docs for the full REST API reference.
Coolhand also tracks Kimi K2.5 Free, Kimi K2.5, Kimi K2.7 Code, Kimi K3, Kimi K2 0711, and Kimi K2 0905 from moonshot. Some may already be deprecated, so check each model's status alongside its current pricing.
| Model | Input cost | Output cost | Context window | Max output tokens | Status |
|---|---|---|---|---|---|
| Kimi K2.5 Free via OpenCode | $0.00/1M $0.0000000000 | $0.00/1M $0.0000000000 | 262,144 | 262,144 |
Deprecated Aug 12, 2026
|
| Kimi K2.5 via Azure | $0.60/1M $0.0000006000 | $3.00/1M $0.0000030000 | 262,144 | 262,144 | Active |
| Kimi K2.7 Code via OpenCode | $0.95/1M $0.0000009500 | $4.00/1M $0.0000040000 | 262,144 | 262,144 | Active |
| Kimi K3 via OpenCode | $3.00/1M $0.0000030000 | $15.00/1M $0.0000150000 | 1,048,576 | 131,072 | Active |
| Kimi K2 0711 via OpenRouter | $0.57/1M $0.0000005700 | $2.30/1M $0.0000023000 | 131,072 | 98,304 | Active |
| Kimi K2 0905 via OpenRouter | $0.60/1M $0.0000006000 | $2.50/1M $0.0000025000 | 262,144 | 98,304 | Active |
Track LLM pricing and deprecations automatically.
Start free