Compare

GLM 4.5 Air (free) vs gpt-oss-20b

Pricing is only the shared seller matrix below. Best rates and catalog map are separate sections, so no chart is embedded in pricing. Open the calculator for the same workload on each side.

Z Ai

Model

GLM 4.5 Air (free)

Tool calling

Best N/A in · N/A out

Context window 131K

Pricing
OpenAI

Model

gpt-oss-20b

Tool calling

Best $0.020 in · $0.100 out

Context window 131K

Pricing

GLM 4.5 Air (free) is cheaper across the board — 100% cheaper on input and 100% cheaper on output.

Pricing matrix

Shared sellers only. Each row is a host that lists both models. Dollar amounts are per 1M tokens. Lowest in each pair of columns is emphasized.

ProviderGLM 4.5 Air (free) inGLM 4.5 Air (free) outgpt-oss-20b ingpt-oss-20b out
DeepInfraN/AN/A$0.040$0.150
Fireworks AIN/AN/A$0.050$0.200
GroqN/AN/A$0.075$0.300
NovitaN/AN/A$0.040$0.150
OpenrouterN/AN/A$0.029$0.140
OvhcloudN/AN/A$0.040$0.150
ReplicateN/AN/A$0.090$0.360
Together AIN/AN/A$0.050$0.200
WandbN/AN/A$5000.00$20000.00

Best listed rates (this pair)

Same "best row in current pricing" logic as model pages: a compact view of the lowest input and output we show for each side. This is not the seller matrix.

Catalog map · Z Ai · OpenAI

Each chart uses real catalog rows that include both list input and list output ($/1M). Larger green dots are the models on this comparison page; accent dots are other active models from that provider.

Z Ai · input vs output

Scatter chart: X = input $/M, Y = output $/M. This page's models are labeled on the green dots; hover others for detail.

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

OpenAI · input vs output

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Specifications

Each column header is the full model name. Tint marks the favorable value where we compute a winner.

Spec
GLM 4.5 Air (free)
gpt-oss-20b
Context window
131,072 tokens
131,072 tokens
Max output tokens
96,000 tokens
131,072 tokens
Vision
No
No
Function calling
Yes
Yes
Streaming
Yes
No
Release date
Jul 2025
Aug 2025

Cost calculator

Same requests, input tokens, and output tokens for both columns. Pick the provider row that matches how you buy.

GLM 4.5 Air (free)
Monthly
$0.0000
Annual
$0.0000
gpt-oss-20b
Monthly
$21
Annual
$255
Save $21/month with GLM 4.5 Air (free)

When to pick which

Short takeaways: no cards, just the points. Validate with your own workloads.

  • Long output (reports, code files)

    Use gpt-oss-20b. Its 131K max output limit reduces the need to split requests.

Frequently asked questions

GLM 4.5 Air (free) is cheaper on both input and output tokens.

More comparisons

Other popular head-to-head matchups.