Model comparison
GLM 5.2 vs GPT OSS 20B
Compare GLM 5.2 and GPT OSS 20B: input/output $/Mtoken, context window, modalities, and license. OpenRouter-synced pricing.
Accounts
GLM 5.2
Flagship GLM model for hybrid reasoning, coding, and agentic engineering
Accounts
GPT OSS 20B
Open-weight GPT model for self-hosted reasoning and instruction-following workloads
| Metric | GLM 5.2 | GPT OSS 20B |
|---|---|---|
| Provider | Accounts | Accounts |
| Context window | 1,048,575 | 131,072 |
| Input $/Mtok | $1.40 | $0.070 |
| Output $/Mtok | $4.40 | $0.300 |
| Modalities | text | text |
| License | open-weights | open-weights |
Quick take
On input price, GPT OSS 20B is cheaper at $0.070/Mtok. For context window, GLM 5.2 leads with 1,048,575 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.