Compare AI models

Specifications
Parameters
—9B/32B
Context window
1M128k
API pricing
Input price
—$0.1032B checkpoint
Output price
—$0.10
—$25.00Z.ai list price
Benchmarks
SWE-Bench Verified
21.4%27.2%
Overview
CompanyGoogleZ.ai
Release dateDec 11 2024Apr 14 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

GLM-4-0414 leads Gemini 2.0 Flash on 1 of the 1 benchmark they both report (SWE-Bench Verified). Only GLM-4-0414 has a verified first-party price for an available API: $0.10 per million input tokens and $0.10 per million output tokens. No currently available pay-as-you-go API rate is tracked for Gemini 2.0 Flash. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. Gemini 2.0 Flash shipped 124 days before GLM-4-0414, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (Gemini 2.0 Flash) vs 128k (GLM-4-0414). Gemini 2.0 Flash is closed, while GLM-4-0414 is open weight.

On SWE-Bench Verified, GLM-4-0414 leads at 27.2% vs Gemini 2.0 Flash at 21.4%.