z-ai logo
z-ai

Z.ai: GLM 5.2 (free)

GLM 5.2 is a large-scale reasoning model from Z.ai. This model is free to use. 256,000 token context window, maximum output of 256,000 tokens. Higher uptime with 27 providers. Includes independent benchmarks from Artificial Analysis.

Présentation

Caractéristiques du modèle

Contexte
256 000 tokens
Sortie maximale
230 400 tokens
Architecture
text->text
Tokenizer
Other
Limite des connaissances
Non indiqué
Modéré
Non
OPENROUTER

Tarification complète

Tarifs synchronisés depuis OpenRouter, par million de tokens.

Entrée
Gratuit
/M tokens
Sortie
Gratuit
/M tokens
API

Configuration du modèle

Paramètres par défaut

temperature
1
top_p
0.95

Raisonnement

Modéré
Non
Paramètres par défaut
high
Capacités et modalités
xhigh, high
API

Démarrage rapide

Appelez ce modèle via l’API compatible OpenAI d’OpenRouter.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"z-ai/glm-5.2:free","messages":[{"role":"user","content":"Hello!"}]}'
Capacités et modalités

EntréeSortie

Entrée
text
Sortie
text
Raisonnement

Oui · xhigh · high

API

Paramètres API pris en charge

frequency_penaltyinclude_reasoningmax_tokensmin_ppresence_penaltyreasoningreasoning_effortrepetition_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_ktop_p
Fournisseurs disponibles

33 fournisseurs

Fournisseurs en direct sur OpenRouter

Disponibilité, latence, débit et routage évoluent en continu. Consultez la source pour les données en temps réel.

OpenRouter

DeepInfra

fp4
Contexte
1.0M
Sortie maximale
164K
Entrée
$0.487
Sortie
$1.56
Lecture du cache
$0.091
Écriture du cache
Non indiqué

Sail Research

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$0.500
Sortie
$3.15
Lecture du cache
$0.115
Écriture du cache
Non indiqué

Ambient

fp8
Contexte
203K
Sortie maximale
182K
Entrée
$0.600
Sortie
$2.00
Lecture du cache
$0.150
Écriture du cache
Non indiqué

Decart

fp4
Contexte
1.0M
Sortie maximale
944K
Entrée
$0.684
Sortie
$2.28
Lecture du cache
$0.114
Écriture du cache
Non indiqué

DigitalOcean

unknown
Contexte
262K
Sortie maximale
236K
Entrée
$0.700
Sortie
$2.20
Lecture du cache
$0.105
Écriture du cache
Non indiqué

Inceptron

fp4
Contexte
1.0M
Sortie maximale
944K
Entrée
$0.710
Sortie
$2.35
Lecture du cache
$0.120
Écriture du cache
Non indiqué

Makora

fp4
Contexte
980K
Sortie maximale
128K
Entrée
$0.720
Sortie
$2.38
Lecture du cache
$0.120
Écriture du cache
Non indiqué

StreamLake

fp8
Contexte
1.0M
Sortie maximale
128K
Entrée
$0.735
Sortie
$2.31
Lecture du cache
$0.137
Écriture du cache
Non indiqué

Novita

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$0.742
Sortie
$2.33
Lecture du cache
$0.138
Écriture du cache
Non indiqué

CoreWeave

fp4
Contexte
1.0M
Sortie maximale
944K
Entrée
$0.760
Sortie
$2.42
Lecture du cache
$0.140
Écriture du cache
Non indiqué

Alibaba

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$0.966
Sortie
$3.04
Lecture du cache
$0.193
Écriture du cache
Non indiqué

GMICloud

fp8
Contexte
1.0M
Sortie maximale
944K
Entrée
$1.05
Sortie
$3.30
Lecture du cache
$0.195
Écriture du cache
Non indiqué

Reka

fp8
Contexte
262K
Sortie maximale
131K
Entrée
$1.10
Sortie
$3.75
Lecture du cache
$0.200
Écriture du cache
Non indiqué

SiliconFlow

fp8
Contexte
1.0M
Sortie maximale
262K
Entrée
$1.19
Sortie
$3.74
Lecture du cache
$0.221
Écriture du cache
Non indiqué

Phala

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$1.26
Sortie
$3.00
Lecture du cache
$0.220
Écriture du cache
Non indiqué

AtlasCloud

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$1.26
Sortie
$3.96
Lecture du cache
$0.234
Écriture du cache
Non indiqué

Baidu

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

BaseTen

fp8
Contexte
1.0M
Sortie maximale
262K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.140
Écriture du cache
Non indiqué

Mistral

unknown
Contexte
1.0M
Sortie maximale
128K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.140
Écriture du cache
Non indiqué

Mistral

unknown
Contexte
1.0M
Sortie maximale
128K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.140
Écriture du cache
Non indiqué

Fireworks

unknown
Contexte
1.0M
Sortie maximale
944K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.140
Écriture du cache
Non indiqué

Cloudflare

unknown
Contexte
262K
Sortie maximale
236K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

Z.AI

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

Parasail

fp4
Contexte
262K
Sortie maximale
236K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

Together

unknown
Contexte
512K
Sortie maximale
461K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

Crusoe

fp8
Contexte
1.0M
Sortie maximale
944K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

Venice

fp8
Contexte
1M
Sortie maximale
131K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

Friendli

unknown
Contexte
1.0M
Sortie maximale
944K
Entrée
$1.40
Sortie
$4.40
Lecture du cache
$0.260
Écriture du cache
Non indiqué

Mistral

unknown
Contexte
1.0M
Sortie maximale
128K
Entrée
$1.54
Sortie
$4.84
Lecture du cache
$0.154
Écriture du cache
Non indiqué

BaseTen

fp8
Contexte
1.0M
Sortie maximale
262K
Entrée
$2.10
Sortie
$6.60
Lecture du cache
$0.210
Écriture du cache
Non indiqué

Fireworks

unknown
Contexte
1.0M
Sortie maximale
944K
Entrée
$2.10
Sortie
$6.60
Lecture du cache
$0.210
Écriture du cache
Non indiqué

Fireworks

unknown
Contexte
1.0M
Sortie maximale
944K
Entrée
$2.10
Sortie
$6.60
Lecture du cache
$0.210
Écriture du cache
Non indiqué

Alibaba

fp8
Contexte
1.0M
Sortie maximale
131K
Entrée
$2.31
Sortie
$7.26
Lecture du cache
$0.462
Écriture du cache
Non indiqué
z-ai

modèles

Tous les modèles
z-ai logoz-ai

Z.ai: GLM 5.3 Flash (batch)

GLM-5.3-Flash is a native multimodal model from Z.ai. It is suited for efficient coding and long-horizon agent tasks. Its hybrid sparse and linear attention architecture maintains accurate long-context behavior while...

Contexte
1.0M
Entrée
text · image · video
Sortie
text
Entrée: $0.150Sortie: $0.500par million de tokens
Voir la fiche du modèle
z-ai logoz-ai

Z.ai: GLM 5.2

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...

Contexte
1.0M
Entrée
text
Sortie
text
Entrée: $1.19Sortie: $3.74par million de tokens
Voir la fiche du modèle
z-ai logoz-ai

Z.ai: GLM 5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...

Contexte
205K
Entrée
text
Sortie
text
Entrée: $0.966Sortie: $3.04par million de tokens
Voir la fiche du modèle
z-ai logoz-ai

Z.ai: GLM 5

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...

Contexte
205K
Entrée
text
Sortie
text
Entrée: $0.600Sortie: $1.92par million de tokens
Voir la fiche du modèle