glm-5-2 vs gpt-oss-20b
gpt-oss-20b is 18.7× cheaper on input than glm-5-2.
| glm-5-2 | gpt-oss-20b | |
|---|---|---|
| Input / 1M | $1.40 | $0.075 |
| Cached input / 1M | $0.14 | $0.037 |
| Output / 1M | $4.40 | $0.30 |
| Context window | 1M | 131K |
| Max output | 131K | 66K |
| Provider | Mistral | Groq |
| Vision | No | No |
| Tool calling | Yes | Yes |
| Token count | estimated | estimated |
Which to pick
- Cheaper input: gpt-oss-20b
- Cheaper output: gpt-oss-20b
- Larger context: glm-5-2
List price is not production cost. Output length, cache hit rate, retries and task quality move the real number more than the headline rate does — price your own prompt on the token ledger before deciding.
Related comparisons
glm-5-2 detail · gpt-oss-20b detail · All Mistral pricing · All comparisons