Model comparison
GPT OSS 120B vs Glm 5.2
Compare published model capabilities and API prices.
Workers Ai
GPT OSS 120B
Open-weight GPT model for self-hosted reasoning and instruction-following workloads
Workers Ai
Glm 5.2
Open flagship GLM for long-horizon coding agents and million-token context work
| Metric | GPT OSS 120B | Glm 5.2 |
|---|---|---|
| Provider | Workers Ai | Workers Ai |
| Context window | 128,000 | 262,144 |
| Input $/Mtok | $0.350 | $1.40 |
| Output $/Mtok | $0.750 | $4.40 |
| Modalities | text | text |
| License | closed | open-weights |
Quick take
On input price, GPT OSS 120B is cheaper at $0.350/Mtok. For context window, Glm 5.2 leads with 262,144 tokens.
Pick based on your workload: high-volume cheap inference vs long-document / agent loops. Enterprise DNA can wire either model into Omni with evals, secrets, and job orchestration.