# OpenAI GPT-OSS 20B vs GLM 4.7 FP8

On provider list prices, OpenAI GPT-OSS 20B costs $0.05 per million input tokens against $0.45 for GLM 4.7 FP8: 9.0x apart. Output is $0.20 against $2 (10.0x). On Allocate both bill at list plus the 7% transaction fee.

## Specifications

| | OpenAI GPT-OSS 20B | GLM 4.7 FP8 |
| --- | --- | --- |
| Lab | OpenAI | Zai Org |
| Access | Open weights | Open weights |
| Context window | 128K tokens | 198K tokens |
| List price, input | $0.05 / M tokens | $0.45 / M tokens |
| List price, output | $0.20 / M tokens | $2 / M tokens |
| Cached input | n/a | n/a |
| License | Apache 2.0 | 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 $130 a month on OpenAI GPT-OSS 20B and $1,240 on GLM 4.7 FP8 at list: a gap of $1,110, or 9.5x.

GLM 4.7 FP8 reads 198K tokens per request against 128K for OpenAI GPT-OSS 20B, 1.5x the window. That decides which one can take whole documents without splitting them.

## Choose OpenAI GPT-OSS 20B for

- The lower list price ($0.05 in / $0.20 out per M tokens)
- Fine-tuning under a permissive license (Apache 2.0)

## Choose GLM 4.7 FP8 for

- The longer context window (198K vs 128K tokens)
- Fine-tuning under a permissive license (MIT)

## Common questions

### Which is cheaper, OpenAI GPT-OSS 20B or GLM 4.7 FP8?

OpenAI GPT-OSS 20B, on this workload shape. At list prices it is $0.05/$0.20 per million tokens in and out against $0.45/$2 for GLM 4.7 FP8. Billed on Allocate: $0.053/$0.21 against $0.48/$2.14, list plus 7%.

### Which has the bigger context window?

GLM 4.7 FP8: 202,752 tokens (198K) against 131,072 (128K) for OpenAI GPT-OSS 20B.

### Can I fine-tune OpenAI GPT-OSS 20B or GLM 4.7 FP8?

Both publish open weights (OpenAI GPT-OSS 20B: Apache 2.0; 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/openai-gpt-oss-20b-vs-z-ai-glm-4-7) · [OpenAI GPT-OSS 20B](https://allocate.network/models/openai-gpt-oss-20b.md) · [GLM 4.7 FP8](https://allocate.network/models/z-ai-glm-4-7.md) · [Machine-readable catalog](https://allocate.network/catalog.json)
