opencheap.si
Credits

gpt-oss-20b vs zai-org/GLM-5

Price, context, speed and uptime side by side

gpt-oss-20b is about 108× cheaper than zai-org/GLM-5 on a typical 1 : 3 input-to-output mix: $0.00092 against $0.099 per 1M tokens. A request with 10,000 input tokens and 1,000 output tokens costs about $0.0000012 on gpt-oss-20b and $0.00043 on zai-org/GLM-5. zai-org/GLM-5 has the larger context window: 202K tokens, against 131K for gpt-oss-20b. On each model's fastest provider, the first token arrives after 0.19 s on gpt-oss-20b and 0.52 s on zai-org/GLM-5 (median, measured by OpenCheap). On OpenCheap, gpt-oss-20b is served by 15 providers and zai-org/GLM-5 by 12 providers. Both are called with one key at the same OpenAI-compatible endpoint, so switching is a change of the model id. Prices as of 2026-11-23 23:56 UTC.

Side by side

gpt-oss-20b vs zai-org/GLM-5: price, context, speed and uptime
Modelgpt-oss-20bOpenAIzai-org/GLM-5Zhipu
Inputper 1M tokens$0 (best)$0.03
Outputper 1M tokens$0.0012 (best)$0.12
Cached inputper 1M tokens$0 (best)$0.0063
On a 1 : 3 mixper 1M tokens, input to output$0.00092 (best)$0.099
One request10,000 tokens in, 1,000 out$0.0000012 (best)$0.00043
1,000 requestsof that size$0.0012 (best)$0.43
List priceper 1M tokens, input / output$0.03 / $0.13$1.00 / $3.20
Context windowtokens in one request131K202K (best)
Providersserving it on OpenCheap15 (best)12
First tokenfastest provider, median0.19 s (best)0.52 s
Output speedfastest provider, median536 tok/s (best)114 tok/s
Uptimebest provider, last day100 %100 %
Model idopencheap/gpt-oss-20bModel page →opencheap/glm-5Model page →

Prices are each model's From price, the provider a request goes to now, in US dollars. The list price is the model's published price. First token, output speed and uptime are medians for each model's fastest working provider, measured by OpenCheap; each model page lists every provider. Green marks the best value in a row.

Switch between them

Point the OpenAI SDK at https://api.opencheap.si/v1 with your OpenCheap key. To call zai-org/GLM-5 instead of gpt-oss-20b, change the model to opencheap/glm-5; nothing else in your code changes. Each request goes to the cheapest healthy provider of the model you name, and every answer reports what it cost in usage.cost.

import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-oss-20b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)

About the two models

  • The smaller of OpenAI's two gpt-oss open-weight models, a mixture-of-experts with 21B total and 3.6B active parameters. Apache 2.0 licensed and text-only, it offers low to high reasoning effort. All OpenAI models

  • Zhipu AI's GLM-5 is an open-weight mixture-of-experts model with 744B total and 40B active parameters, under MIT. It targets systems engineering and long-running agent tasks, uses DeepSeek Sparse Attention, and has a thinking mode. All Zhipu models

Questions

Which is cheaper, gpt-oss-20b or zai-org/GLM-5?
gpt-oss-20b is about 108× cheaper than zai-org/GLM-5 on a typical 1 : 3 input-to-output mix: $0.00092 against $0.099 per 1M tokens. Per 1M tokens, gpt-oss-20b costs $0 input and $0.0012 output; zai-org/GLM-5 costs $0.03 input and $0.12 output.
Which has the larger context window, gpt-oss-20b or zai-org/GLM-5?
zai-org/GLM-5 has the larger context window: 202K tokens, against 131K for gpt-oss-20b.
Which is faster, gpt-oss-20b or zai-org/GLM-5?
On each model's fastest provider, gpt-oss-20b starts answering after 0.19 s and writes about 536 tok/s; zai-org/GLM-5 starts answering after 0.52 s and writes about 114 tok/s (medians measured by OpenCheap).
Can I use gpt-oss-20b and zai-org/GLM-5 with the same API key?
Yes. Both are called at https://api.opencheap.si/v1 with the OpenAI SDK or any OpenAI-compatible client: pass the model id opencheap/gpt-oss-20b or opencheap/glm-5, and each request goes to the cheapest healthy provider of that model.

More comparisons

Compare other models →