Enterprise DNAEnterprise DNA

Model comparison

GLM 5.2 vs GPT OSS 20B

Compare published model capabilities and API prices.

MetricGLM 5.2GPT OSS 20B
ProviderAccountsAccounts
Context window1,048,575131,072
Input $/Mtok$1.40$0.070
Output $/Mtok$4.40$0.300
Modalitiestexttext
Licenseopen-weightsopen-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.