Compare AI models

Specifications
Parameters
—30B
Context window
400k200k
API pricing
Input price
—$0.00
Output price
—$0.00
Cached input price
—$0.00
Cheapest input
$1.25Azure—
Cheapest output
$10.00Azure—
$750Azure$0.00Z.ai list price
Benchmarks
SWE-Bench Verified
77.9%59.2%
Overview
CompanyOpenAIZ.ai
Release dateNov 19 2025Jan 19 2026
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GPT-5.1-Codex-Max leads GLM-4.7-Flash on 1 of the 1 benchmark they both report (SWE-Bench Verified). Only GLM-4.7-Flash has a verified first-party price for an available API: $0.00 per million input tokens and $0.00 per million output tokens. No currently available pay-as-you-go API rate is tracked for GPT-5.1-Codex-Max. GPT-5.1-Codex-Max shipped 61 days before GLM-4.7-Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 400k (GPT-5.1-Codex-Max) vs 200k (GLM-4.7-Flash). GPT-5.1-Codex-Max is closed, while GLM-4.7-Flash is open weight.

On SWE-Bench Verified, GPT-5.1-Codex-Max leads at 77.9% vs GLM-4.7-Flash at 59.2%.