token.app › Compare › gpt-oss-20b vs GLM 5.2

gpt-oss-20b vs GLM 5.2

gpt-oss-20b is 7.0× cheaper per token on a blended 3:1 basis. GLM 5.2 accepts the larger context window (1.0M).

Head to head
Blended price uses a 3:1 input:output mix
gpt-oss-20bGLM 5.2
ProviderOpenAIZhipu AI
Input $/1M$0.030$0.252
Output $/1M$0.130$0.792
Blended $/1M$0.055$0.387
Context window131K1.0M
Max output131K128K
ReleasedAug 2025Jun 2026
LicenceOpen weightsOpen weights
Choose gpt-oss-20b if…
  • Costs less per token — $0.055 vs $0.387 blended
Choose GLM 5.2 if…
  • Larger context window (1.0M)
  • Newer model (released Jun 2026)
FAQ
Which is better, gpt-oss-20b or GLM 5.2?
We do not hold independently-run benchmark scores covering both gpt-oss-20b and GLM 5.2, so we make no quality claim. Their pricing and specifications are compared on this page.
Is gpt-oss-20b cheaper than GLM 5.2?
gpt-oss-20b is cheaper: $0.055 versus $0.387 per million tokens blended at 3:1 input:output. Input alone: $0.030 vs $0.252. Output alone: $0.130 vs $0.792.
What context windows do gpt-oss-20b and GLM 5.2 have?
gpt-oss-20b: 131,072 tokens. GLM 5.2: 1,048,576 tokens.
Who makes gpt-oss-20b and GLM 5.2?
gpt-oss-20b is made by OpenAI. GLM 5.2 is made by Zhipu AI.
Related comparisons