# Kimi K2.7 Code vs Hy4 preview - AI Model Comparison

- Page: https://opencode.ai/data/compare/moonshotai/kimi-k2-7-code/tencent/hy4-preview
- Updated: 2026-12-05T11:12:42.000Z

|  | Kimi K2.7 Code | Hy4 preview |
| --- | --- | --- |
| Lab | Moonshot | Tencent |
| Context window | 262K | 1M |
| Max output | 262K | 66K |
| Input modalities | text, image, video | text |
| Reasoning | Yes | Yes |
| Tool calling | Yes | Yes |
| Open weights | Yes | Yes |
| Release date | 2026-06-12 | 2026-08-28 |
| Input price per 1M tokens | $0.63 | $0.83 |
| Output price per 1M tokens | $3.50 | $2.50 |
| Cached input price per 1M tokens | $0.15 | $0.04 |
| OpenCode tokens: past 2 months | 1.2T | 105B |
| Share of all tokens | 0.1% | 0.0% |
| Rank by tokens last week | #35 | #39 |
| Unique users | 133K | 43K |
| Weekly retention | 66.2% | 63.9% |

Model pages: [Kimi K2.7 Code](https://opencode.ai/data/moonshotai/kimi-k2-7-code.md), [Hy4 preview](https://opencode.ai/data/tencent/hy4-preview.md)

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Average cost per OpenCode session. Token prices are list prices from the model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Benchmarks: Published scores from the models.dev catalog, matched to a single benchmark version per view.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
