GLM-4.7-Flash vs Gemini 3.1 Flash Lite Preview

API pricing, benchmark indices and specs — updated 19 October 2026.

zai-org · A · Open weights
Params
31.2 B
Context
202,752
30d
972 K
mit · commercial OK
google · B · API-only
Input / 1M
$0.25
Output / 1M
$1.50
AA index
15.6
proprietary · 1M context

Specification comparison

Differences are highlighted; identical values are muted.

Specification GLM-4.7-Flash Gemini 3.1 Flash Lite Preview
Deployment Open weights · also via API API-only (closed weights)
Parameters 31.2 B n/a — API-only
Architecture Glm4MoeLiteForCausalLM n/a — API-only
Context length 202,752 1,048,576
Licence mit Proprietary
Commercial use Allowed Per API terms
Languages 2 n/a — API-only
Downloads 30d 971,658 n/a — API-only
Downloads all time 14.9 M n/a — API-only
Quantizations on the Hub SAFETENSORS n/a — API-only
Gated No n/a — API-only
First seen on the Hub 2026-01-19 n/a — API-only
API input price / 1M tokens $0.061 $0.25
API output price / 1M tokens $0.40 $1.50
Est. cost per 1M input + 1M output tokens $0.46 $1.75
Cached input / 1M tokens — $0.025
AA Intelligence Index 14.9 15.6
AA Coding Index — 34.7
AA Agentic Index — 1.6
Max output tokens 117,964 65,536
API providers 2 1
Tool calling Yes Yes
Reasoning mode Yes Yes

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

GLM-4.7-Flash $0.46
Gemini 3.1 Flash Lite Preview $1.75

GLM-4.7-Flash is 3.8× cheaper at list price.

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

GLM-4.7-Flash · fp16 @ 198K ctx 185.1 GB / 24 GB
❌ Won’t fit

Adjacent comparisons