pick GLM-5.4 if
- need video input
model comparison
Zhipu AI against OpenAI, compared on listed price, real workload cost, context and capabilities.
Z.ai's GLM-5.4 accepts video, while OpenAI's GPT-6.2 Astra takes text and images. Z.ai limits API access to GLM Coding Plan users; OpenAI rejects the none reasoning effort.
checked 2026-11-30. sources: Z.ai docs: GLM-5.4,GPT-6.2 Astra model page (OpenAI API docs)
| spec | GLM-5.4 | GPT-6.2 Astra |
|---|---|---|
| provider | Zhipu AI | OpenAI |
| input price | $1.4/M | $8/M |
| output price | $4.4/M | $40/M |
| cached input | $0.26/M | $0.4/M |
| blended price (3:1) | $2.15/M | $16/M |
| context window | 1M tokens | 1M tokens |
| max output | 128k tokens | 128k tokens |
| input | text, images, video | text, images |
| structured output | yes | yes |
| weights | closed | closed |
| released | November 23, 2026 | November 17, 2026 |
| workload | GLM-5.4 | GPT-6.2 Astra |
|---|---|---|
| one chat reply3,000 tokens in, 500 outGPT-6.2 Astra costs 6.9× as much as GLM-5.4 | $0.0064 | $0.04 |
| summarise a 100-page report50,000 tokens in, 1,500 out, one requestGPT-6.2 Astra costs 6.0× as much as GLM-5.4 | $0.08 | $0.46 |
| 1,000 classification calls500 tokens in, 20 out, per callGPT-6.2 Astra costs 6.1× as much as GLM-5.4 | $0.79 | $4.80 |
| coding-agent session2M tokens in across ~60 turns, 60,000 out, no cacheGPT-6.2 Astra costs 6.0× as much as GLM-5.4 | $3.06 | $18.40 |
| same session, cached85% of input read from the prompt cache, the rest written to itGPT-6.2 Astra costs 5.4× as much as GLM-5.4 | $1.13 | $6.08 |
at listed rates. token counts are typical sizes, not measurements.
GLM-5.4 is Z.ai's flagship and its first model built on a Loop Transformer, which runs 28 layers of the GLM-5 base twice. it reads video, images, text and files across a 1M-token context.
GPT-6.2 Astra is OpenAI's top GPT-6.2 model, released in November 2026. it takes text and images, and its input and output rates are 20% below GPT-6 Astra's and four times GPT-6.2 Sol's.
GLM-5.4 lists lower input and output prices. on a coding-agent session (2M tokens in, 60,000 out) GLM-5.4 costs $3.06 and GPT-6.2 Astra $18.40.
yes. in an octomind session, /model octohub:glm-5.4 and /model octohub:gpt-6.2-astra switch models without losing the conversation, so you can draft on one and review on the other.
switch between models inside the same octomind session.
prices from the catalog of 2026-12-01