Compare AI models

Specifications
Parameters
5.1B/8B/26B/31B30B
Context window
—200k
API pricing
Input price
—$0.00
Output price
—$0.00
Cached input price
—$0.00
Cheapest input
$0.04Darkbloom—
Cheapest output
$0.10Modal—
$15.50Darkbloom$0.00Z.ai list price
Benchmarks
LiveCodeBench
80%64%
Overview
CompanyGoogleZ.ai
Release dateApr 2 2026Jan 19 2026
AccessOpen WeightOpen Weight
Model detailsView modelView model

Frequently asked questions

Gemma 4 leads GLM-4.7-Flash on 1 of the 1 benchmark they both report (LiveCodeBench). 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 Gemma 4. GLM-4.7-Flash shipped 73 days before Gemma 4, so benchmark comparisons should account for the intervening progress.

Gemma 4 has 5.1B/8B/26B/31B parameters, while GLM-4.7-Flash has 30B.

On LiveCodeBench, Gemma 4 leads at 80% vs GLM-4.7-Flash at 64%.