Z.ai apre l'API di GLM-5.4: 750 miliardi di parametri, 28 strati eseguiti due volteZ.ai opens GLM-5.4 API: 750 billion parameters, 28 layers run twice
Dal 2 dicembre l'API di GLM-5.4 costa 1,40 dollari per milione di token in ingresso e 4,40 in uscita, come GLM-5.3. Il modello esegue due volte gli stessi 28 strati. I pesi non sono ancora pubblici.
Since 2 December the GLM-5.4 API costs $1.40 per million input tokens and $4.40 for output, the same as GLM-5.3. The model runs the same 28 layers twice. Weights are not yet public.

Z.ai, il laboratorio cinese noto anche come Zhipu, ha aperto il 2 dicembre l'API di GLM-5.4. Il listino indica 1,40 dollari per milione di token in ingresso, 0,26 per quelli già in cache e 4,40 in uscita. Sono le stesse tariffe di GLM-5.3, uscito ad agosto. Dal 23 novembre il modello era disponibile solo nel piano per programmatori, in ZCode e nella chat di Z.ai.
GLM-5.4 è il primo modello di punta di Z.ai costruito come Loop Transformer. I 28 strati della base GLM-5, da 750 miliardi di parametri, girano due volte sullo stesso token con gli stessi pesi. Z.ai sostiene che le prestazioni siano paragonabili a quelle di modelli da 2-3 mila miliardi di parametri. Non ha però pubblicato i punteggi del modello completo. L'azienda segnala inoltre cicli di ragionamento troppo lunghi, e i pesi aperti sono annunciati senza una data.
Z.ai, the Chinese lab also known as Zhipu, opened the GLM-5.4 API on 2 December. The price list shows $1.40 per million input tokens, $0.26 for cached ones and $4.40 for output. These are the same rates as GLM-5.3, released in August. Since 23 November the model had only been available in the coding plan, in ZCode and in the Z.ai chat.
GLM-5.4 is the first Z.ai flagship built as a Loop Transformer. The 28 layers of the GLM-5 base, at 750 billion parameters, run twice on the same token with the same weights. Z.ai says performance is comparable to models of 2 to 3 trillion parameters. It has not published scores for the full model, however. The company also flags overly long reasoning loops, and open weights are announced without a date.
Z.ai, il laboratorio cinese noto anche come Zhipu, ha aperto il 2 dicembre l'API di GLM-5.4, il suo modello di punta uscito il 23 novembre. Fino a quel giorno il modello era raggiungibile solo dal piano per programmatori GLM Coding Plan, dall'ambiente ZCode e dalla chat di Z.ai. Il listino ufficiale indica 1,40 dollari per milione di token in ingresso, 0,26 dollari per quelli già in cache e 4,40 dollari per quelli in uscita. L'archiviazione della cache è gratuita per un periodo limitato.
Le tariffe sono identiche a quelle di GLM-5.3, uscito ad agosto. Chi usa già l'API di Z.ai può quindi passare al nuovo modello senza cambiare il costo per token. Il vantaggio dichiarato non sta nel prezzo, ma nel modo in cui il modello calcola ogni risposta. Z.ai presenta la novità soprattutto come una scelta di architettura, più che come un taglio dei costi.
GLM-5.4 è il primo modello di punta di Z.ai costruito come Loop Transformer. Invece di far passare ogni token una sola volta nei 28 strati della base GLM-5, che ha 750 miliardi di parametri, li esegue due volte con gli stessi pesi. Il numero di parametri da memorizzare resta quindi invariato, mentre cresce il calcolo per token. In pratica il modello elabora due volte la stessa rappresentazione prima di scegliere il token successivo. Z.ai afferma che il risultato sia paragonabile a quello di modelli da 2-3 mila miliardi di parametri. Questa equivalenza è una dichiarazione dell'azienda e non ha verifiche indipendenti.
Per contenere il costo del secondo passaggio, Z.ai usa tre accorgimenti. Un meccanismo di gating, cioè una porta di controllo applicata a ogni token, decide quanto lo stato venga aggiornato tra un passaggio e l'altro. La seconda passata riutilizza la cache KV della prima e aggiunge soltanto una finestra scorrevole. Inoltre riusa gli indici di attenzione sparsa già calcolati nel primo passaggio. Il contesto arriva fino a un milione di token.
Le prove pubblicate riguardano un modello di prova da 30 miliardi di parametri, non GLM-5.4. Rispetto alla versione senza cicli, richiede il 10% di calcolo in più per l'addestramento. In cambio accorcia la lunghezza media delle risposte del 10-14% su GPQA-Diamond e MMLU-Pro. Migliora anche su AIME25, AA-LCR e IFBench. Z.ai non ha diffuso i punteggi del modello completo, quindi il confronto con i modelli più grandi resta da dimostrare.
I limiti dichiarati sono due. Il modello può cadere in cicli di ragionamento troppo lunghi, che l'azienda chiama «marathon thinking», anche se spesso ne migliorano l'accuratezza. Inoltre i pesi non sono pubblici: Z.ai prevede di rilasciarli dopo un rafforzamento della sicurezza, senza indicare una data. Per usarli in locale servirebbero comunque tutti i 750 miliardi di parametri. La velocità dichiarata è di 200 token al secondo fuori dagli orari di punta e di 70-80 nei momenti di maggior carico.
Z.ai, the Chinese lab also known as Zhipu, opened the GLM-5.4 API on 2 December. GLM-5.4 is its flagship model, released on 23 November. Until then the model could only be reached through the GLM Coding Plan, the ZCode environment and the Z.ai chat. The official price list shows $1.40 per million input tokens, $0.26 for tokens already in cache and $4.40 for output tokens. Cache storage is free for a limited time.
The rates are identical to those of GLM-5.3, released in August. Anyone already using the Z.ai API can therefore switch to the new model without changing the cost per token. The stated advantage is not the price, but the way the model computes each answer. Z.ai presents the novelty mainly as an architecture choice, rather than a cost cut.
GLM-5.4 is the first Z.ai flagship built as a Loop Transformer. Instead of passing each token once through the 28 layers of the GLM-5 base, which has 750 billion parameters, it runs them twice with the same weights. The number of parameters to store therefore stays the same, while the compute per token grows. In practice the model processes the same representation twice before choosing the next token. Z.ai says the result is comparable to models of 2 to 3 trillion parameters. This equivalence is a company claim and has no independent verification.
To limit the cost of the second pass, Z.ai uses three measures. A gating mechanism, a control gate applied to each token, decides how much the state is updated between one pass and the next. The second pass reuses the KV cache of the first and adds only a sliding window. It also reuses the sparse attention indices already computed in the first pass. The context window reaches one million tokens.
The published evidence concerns a 30-billion-parameter test model, not GLM-5.4. Compared with the version without loops, it needs 10% more training compute. In return it shortens the average answer length by 10 to 14% on GPQA-Diamond and MMLU-Pro. It also improves on AIME25, AA-LCR and IFBench. Z.ai has not released scores for the full model, so the comparison with larger models remains to be shown.
The stated limits are two. The model can fall into overly long reasoning loops, which the company calls «marathon thinking», although they often improve accuracy. In addition the weights are not public: Z.ai plans to release them after safety hardening, without giving a date. Running them locally would still require all 750 billion parameters. The stated speed is 200 tokens per second off-peak and 70 to 80 at times of heavier load.
Fonti
- Testata VKTR www.vktr.com
- Fonte originale Z.ai Developer Docs - Pricing docs.z.ai
- Testata Let's Data Science letsdatascience.com
Articoli rivisti con l’intelligenza artificiale. A cura di Alessandro Patassini.Articles reviewed with artificial intelligence. Edited by Alessandro Patassini.
























