Compare AI models

Specifications
Parameters
8B/70B/405B9B/32B
Context window
128k128k
API pricing
Input price
—$0.1032B checkpoint
Output price
—$0.10
Cheapest input
$0.02DeepInfra—
Cheapest output
$0.04DeepInfra—
$6.00DeepInfra · fp8$25.00Z.ai list price
These models have no shared benchmark scores.
Overview
CompanyMetaZ.ai
Release dateJul 23 2024Apr 14 2025
AccessOpen WeightOpen Weight
Model detailsView modelView model

Frequently asked questions

LLaMA 3.1 and GLM-4-0414 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. 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 LLaMA 3.1. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. LLaMA 3.1 shipped 265 days before GLM-4-0414, so benchmark comparisons should account for the intervening progress.

LLaMA 3.1 has 8B/70B/405B parameters, while GLM-4-0414 has 9B/32B. Context windows are 128k (LLaMA 3.1) vs 128k (GLM-4-0414).

Direct benchmark comparisons are unavailable — LLaMA 3.1 and GLM-4-0414 don't publish scores on any of the same benchmarks.