GLM Flash Latest is 1.3× cheaper per million tokens (blended). GLM Flash Latest has the larger context window (1,048,576 vs 131,072 tokens, 8.0×). gpt-oss-20b is open-weights; the other is not.
gpt-oss-20b vs GLM Flash Latest
Live catalog fields. Best-in-row is highlighted.
gpt-oss-20bopen
OpenAI · openai__gpt-oss-20b
GLM Flash Latest
~z Ai · ~z-ai__glm-flash-latest
Identity
| Field | openai__gpt-oss-20b | ~z-ai__glm-flash-latest |
|---|---|---|
| Provider | OpenAI | ~z Ai |
| Slug | openai__gpt-oss-20b | ~z-ai__glm-flash-latest |
| Status | live | live |
| Open weights | Yes | No |
| License | — | — |
| HuggingFace | openai/gpt-oss-20b | — |
Quality
| Field | openai__gpt-oss-20b | ~z-ai__glm-flash-latest |
|---|---|---|
| Quality index (0–100) | — | — |
Cost
| Field | openai__gpt-oss-20b | ~z-ai__glm-flash-latest |
|---|---|---|
| Input $ / 1M tokens | $0.03 | $0.03 |
| Cached input $ / 1M | $0.03 | $0.03 |
| Output $ / 1M tokens | $0.13 | $0.09 |
Context
| Field | openai__gpt-oss-20b | ~z-ai__glm-flash-latest |
|---|---|---|
| Max context tokens | 131,072 | 1,048,576 |
| Max output tokens | 117,964 | 131,072 |
Modalities
| Field | openai__gpt-oss-20b | ~z-ai__glm-flash-latest |
|---|---|---|
| Input | text | text, image, video |
| Output | text | text |