Compare AI models

Specifications
Parameters
—9B/32B
Context window
1M128k
API pricing
Input price
$2.00$0.1032B checkpoint
Output price
$12.00$0.10
Cached input price
$0.20—
Cheapest input
$1.00Google AI Studio—
Cheapest output
$6.00Google AI Studio—
$1,000Google list price$25.00Z.ai list price
Benchmarks
SWE-Bench Verified
80.6%27.2%
Overview
CompanyGoogleZ.ai
Release dateFeb 19 2026Apr 14 2025
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

Gemini 3.1 Pro leads GLM-4-0414 on 1 of the 1 benchmark they both report (SWE-Bench Verified). GLM-4-0414 is cheaper on both input and output: $0.10 vs $2.00 per million input tokens, and $0.10 vs $12.00 per million output tokens. Figures are base-tier rates. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. GLM-4-0414 shipped 311 days before Gemini 3.1 Pro, so benchmark comparisons should account for the intervening progress.

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

On SWE-Bench Verified, Gemini 3.1 Pro leads at 80.6% vs GLM-4-0414 at 27.2%.