GPT OSS 20B vs GLM-5.2: API price and specs
GPT OSS 20B is 95% cheaper than GLM-5.2 on input price.
GPT OSS 20B is 93% cheaper than GLM-5.2 on output price.
GPT OSS 20B is 94% cheaper than GLM-5.2 on a 1M-in / 200k-out workload.
GLM-5.2 has a 700% larger context than GPT OSS 20B.
| Field | GPT OSS 20B | GLM-5.2 |
|---|---|---|
| Lowest input, per 1M | $0.009 | $0.17 +1788.9% |
| Median input, per 1M | $0.05 | $1.40 +2700% |
| Lowest output, per 1M | $0.04 | $0.54 +1250% |
| Median output, per 1M | $0.20 | $4.40 +2100% |
| Lowest unit price | — | $0.033 / request |
| Cost of 1M in + 200k out | $0.017 | $0.28 +1535.3% |
| Context | 131K +87.5% | 1M |
| Max output | 131K +87.5% | 1M |
| Providers | 28 +52.5% | 59 |
| Regions | EU, GLOBAL, US | APAC, EU, GLOBAL, US |
| Accepts | file, image, text | file, image, text |
| Returns | text | text |
| Type | Text models | Text models |
| Free option | yes | yes |
| Cheapest provider | edenai | edenai |
Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.
Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.
Providers selling both
aihubmix, aiml, cloudflare-workers-ai, cometapi, cortecs, deepinfra, digitalocean, edenai, fastrouter, google-vertex, huggingface, impossibl, io-net, jiekou, kenari, kilo, ollama, ollama-cloud, openrouter, poe, regolo-ai, requesty, siliconflow, trustedrouter, vercel
Frequently asked questions
Which is cheaper, GPT OSS 20B or GLM-5.2?
GPT OSS 20B is 95% cheaper than GLM-5.2 on input price. GPT OSS 20B is 93% cheaper than GLM-5.2 on output price. GPT OSS 20B is 94% cheaper than GLM-5.2 on a 1M-in / 200k-out workload.
Which has the larger context, GPT OSS 20B or GLM-5.2?
GPT OSS 20B: 131K tokens; GLM-5.2: 1M tokens.
Where can I use both GPT OSS 20B and GLM-5.2?
aihubmix, aiml, cloudflare-workers-ai, cometapi, cortecs, deepinfra, digitalocean, edenai, fastrouter, google-vertex, huggingface, impossibl, io-net, jiekou, kenari, kilo, ollama, ollama-cloud, openrouter, poe, regolo-ai, requesty, siliconflow, trustedrouter, vercel