# GLM 4.7 FP8 vs GLM 5.2

On provider list prices, GLM 4.7 FP8 costs $0.45 per million input tokens against $1.40 for GLM 5.2: 3.1x apart. Output is $2 against $4.40 (2.2x). On Allocate both bill at list plus the 7% transaction fee.

## Specifications

| | GLM 4.7 FP8 | GLM 5.2 |
| --- | --- | --- |
| Lab | Zai Org | Zai Org |
| Access | Open weights | Open weights |
| Context window | 198K tokens | 256K tokens |
| List price, input | $0.45 / M tokens | $1.40 / M tokens |
| List price, output | $2 / M tokens | $4.40 / M tokens |
| Cached input | n/a | $0.26 / M tokens |
| License | MIT | Not listed |
| 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 $3,220 on GLM 5.2 at list: a gap of $1,980, or 2.6x.

GLM 5.2 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 GLM 4.7 FP8 for

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

## Choose GLM 5.2 for

- Agents on open weights
- Code and structured outputs
- Fine-tuning toward an owned model

## Common questions

### Which is cheaper, GLM 4.7 FP8 or GLM 5.2?

GLM 4.7 FP8, on this workload shape. At list prices it is $0.45/$2 per million tokens in and out against $1.40/$4.40 for GLM 5.2. Billed on Allocate: $0.48/$2.14 against $1.50/$4.71, list plus 7%.

### Which has the bigger context window?

GLM 5.2: 262,144 tokens (256K) against 202,752 (198K) for GLM 4.7 FP8.

### Can I fine-tune GLM 4.7 FP8 or GLM 5.2?

Both publish open weights (GLM 4.7 FP8: MIT; GLM 5.2: Not listed), 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/z-ai-glm-4-7-vs-z-ai-glm-5-2) · [GLM 4.7 FP8](https://allocate.network/models/z-ai-glm-4-7.md) · [GLM 5.2](https://allocate.network/models/z-ai-glm-5-2.md) · [Machine-readable catalog](https://allocate.network/catalog.json)
