# Kimi K2.7 Code vs GLM 4.7 FP8

On provider list prices, GLM 4.7 FP8 costs $0.45 per million input tokens against $0.95 for Kimi K2.7 Code: 2.1x apart. Output is $2 against $4 (2.0x). On Allocate both bill at list plus the 7% transaction fee.

## Specifications

| | Kimi K2.7 Code | GLM 4.7 FP8 |
| --- | --- | --- |
| Lab | Moonshot AI | Zai Org |
| Access | Open weights | Open weights |
| Context window | 256K tokens | 198K tokens |
| List price, input | $0.95 / M tokens | $0.45 / M tokens |
| List price, output | $4 / M tokens | $2 / M tokens |
| Cached input | $0.19 / M tokens | n/a |
| License | Not listed | MIT |
| Fine-tunable | Yes | Yes |

Specifications and provider list prices from the Allocate catalog, checked 2026-07-08. Billed price is list plus the 7% transaction fee.

## What the numbers say

Take 1,000,000 requests a month at 1,200 input and 350 output tokens each. That workload costs $1,240 a month on GLM 4.7 FP8 and $2,540 on Kimi K2.7 Code at list: a gap of $1,300, or 2.0x.

Kimi K2.7 Code reads 256K tokens per request against 198K for GLM 4.7 FP8, 1.3x the window. That decides which one can take whole documents without splitting them.

## Choose Kimi K2.7 Code for

- The longer context window (256K vs 198K tokens)
- Published cached-input pricing ($0.19 per M tokens)

## Choose GLM 4.7 FP8 for

- The lower list price ($0.45 in / $2 out per M tokens)
- Fine-tuning under a permissive license (MIT)

## Common questions

### Which is cheaper, Kimi K2.7 Code or GLM 4.7 FP8?

GLM 4.7 FP8, on this workload shape. At list prices it is $0.45/$2 per million tokens in and out against $0.95/$4 for Kimi K2.7 Code. Billed on Allocate: $0.48/$2.14 against $1.02/$4.28, list plus 7%.

### Which has the bigger context window?

Kimi K2.7 Code: 262,144 tokens (256K) against 202,752 (198K) for GLM 4.7 FP8.

### Can I fine-tune Kimi K2.7 Code or GLM 4.7 FP8?

Both publish open weights (Kimi K2.7 Code: Not listed; GLM 4.7 FP8: MIT), so both can be fine-tuned. On Allocate the trained weights stay inside your boundary and belong to you.

---

[HTML page](https://allocate.network/compare/moonshotai-kimi-k2-7-code-vs-z-ai-glm-4-7) · [Kimi K2.7 Code](https://allocate.network/models/moonshotai-kimi-k2-7-code.md) · [GLM 4.7 FP8](https://allocate.network/models/z-ai-glm-4-7.md) · [Machine-readable catalog](https://allocate.network/catalog.json)
