Novità Registrati gratis, 10 chiamate le offriamo noi. Fino a $1, senza carta.

GLM-5.3

chatCodiceRagionamentoChiamata di strumentiCaching dei prompt

GLM-5.3 è il modello di ragionamento su larga scala di Z.AI per l'ingegneria del software complessa e il lavoro di agenti di lungo periodo.

Input
testo $1.4/M
Output
testo $4.4/M
Lettura cache
$0.26/M
Contesto
1M
vs GPT-4o
~72% più economico

Benchmark

Sopra la mediaNessuno migliore15 / 172 / 17
GLM-5.3 altri modelli misurati media dei modelli confrontati nessun altro modello ha fatto meglio
Terminal-Bench 2.1
88.2%
Cybergym
nessun altro modello ha fatto meglio 84.5%
GDPval-AA v2 Elo · 1508-1769 secondo Z.ai · 2026-09-04
nessun altro modello ha fatto meglio 1769
Humanity's Last Exam with tools
62.5%
Agents' Last Exam
28.5%

Dati pubblicati dai fornitori: Alibaba (Qwen) Anthropic DeepSeek Google Moonshot OpenAI Tencent Z.ai

Il prezzo nel contesto

Posizione del prezzo tra 65 modelli comparabili

Input$1.4/M
$0.05 · Qwen3 VL Flash GPT-5.4 Pro · $30
Output$4.4/M
$0.275 · DeepSeek V4 Flash GPT-5.4 Pro · $180
Lettura da cache$0.26/M
$0.0028 · DeepSeek V4 Flash GPT-5.4 Pro · $15

La barra mostra dove si colloca il prezzo di questo modello tra tutti i modelli dello stesso tipo su Synthorai. Alle due estremità sono indicati il più economico e il più caro. Sono tariffe base; gli sconti per batch, regione e scrittura in cache sono nella pagina dei prezzi.

Specifiche e limiti

Token

Finestra di contesto (specifica del fornitore) 1.000.000
Output massimo (specifica del vendor) 131.072

Caching prompt

Modalità automatico

Ragionamento

Parametro del fornitore reasoning_effort
Valori accettati low · high · max
Valore predefinito max applicato se la richiesta non specifica nulla
Disattivabile No
Comportamento del ragionamento No documented switch turns thinking off, unlike the earlier GLM-5 releases, so the output budget must allow for a reasoning trace on every call. A separate clear_thinking flag defaults to false and decides whether prior turns' traces are cleared; the model card tells chat deployments to pass it explicitly.
Parametro reasoning_effort
Valori minimal · low · medium · high la superficie parametri del gateway - vale la mappatura del fornitore sopra

Modello

Modalità testo → testo
Parametri 753B totali MoE
  • Large-scale reasoning model for complex software engineering and long-horizon agent tasks
  • keeps the 1M-token context window of GLM-5.2 and improves on it in coding and in the balance between performance and token efficiency

fonte: documentazione ufficiale Z.ai ↗

Un solo prompt, misurato attraverso il gateway

PROMPT Explain to a CFO, in exactly three sentences, why our LLM bill doubled after we enabled reasoning. VERIFICA esattamente 3 frasi

GLM-5.3 superato · 3 sentences

When we enabled reasoning, the model began generating an extensive internal chain-of-thought—thousands of hidden "thinking" tokens the user never sees—before writing any part of the actual answer. Those invisible tokens are billed at output rates, which run several times the price of input tokens, so the billed volume per query jumped even though query volume and per-token pricing stayed the same. The good news is this is a controllable lever, not a rate increase: capping reasoning effort and routing only complex queries to reasoning mode should bring a large share of the added cost back down.

out 681 tok (+562 ragionamento) latenza 18.4 s

Rispetto dell'istruzione (esattamente tre frasi - contabili), adattamento al pubblico (registro da CFO), e il divario di fatturazione del pensiero nascosto che i contatori di token qui sotto rivelano.

PROMPT This function is supposed to return the longest run of consecutive equal items, but callers report it is off by one on single-element inputs and misses runs that end at the last index. Fix it and explain the bug in one paragraph. VERIFICA la correzione supera i test

GLM-5.3 superato · 8/8 cases

**Fixed:** ```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` **The bug:** The function suffers from a unit error — it counts adjacent equal *pairs* rather than *items* in a run. `cur` is seeded at 0, gains 1 per match, and resets to 0 on a mismatch, so a run of k equal elements can only ever drive `cur` to k−1 (a run of k items contains exactly k−1 neighboring pairs), and `best`, also starting at 0, inherits that shortfall. That's why a single-element input — a run of length 1 containing zero pairs — returns 0 instead of 1, and why a run reaching the last index comes back one short (e.g. […]

out 9934 tok (+9438 ragionamento) latenza 150.7 s

Se la correzione è davvero giusta (eseguibile), la densità della spiegazione, e l'efficienza in token su un compito delimitato.

PROMPT Extract a JSON object with fields {company, quarter, revenue_usd_m, growth_pct, guidance} from this text. Use null for anything not stated; add no other fields. VERIFICA JSON valido, schema esatto

GLM-5.3 superato · 5/5 fields, guidance null

```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": 11, "guidance": null } ``` Notes on interpretation: - **revenue_usd_m**: 412 is the stated topline, though it's on a constant-currency basis. - **growth_pct**: "eleven and change" is extracted as 11 (an approximation, slightly above 11). - **guidance**: null, since formal guidance was explicitly withheld pending the Q4 close.

out 2173 tok (+2045 ragionamento) latenza 35.8 s

Aderenza allo schema (nessun campo inventato), pressione di allucinazione (guidance è esplicitamente sospesa), e differenze nel percorso di output strutturato.

PROMPT Write a 120-word product announcement for an API gateway feature that caches prompts across providers. Forbidden words: "seamless", "unlock", "game-changer", "revolutionize", "empower". Exactly one sentence must be a question. VERIFICA 120 parole, 0 parole vietate

GLM-5.3 superato · 129 words, 0 banned, 1 question

**Introducing Universal Prompt Caching** We're thrilled to announce prompt caching that works across every major LLM provider. Identical prompts are now cached once at the gateway level, regardless of which model or vendor serves the request downstream. That means up to 90% savings on token costs and dramatically faster responses for repeated queries. How does it work? Our gateway computes a deterministic hash of each incoming prompt, checks the shared cache layer, and returns instant responses when matches exist. New or modified prompts route normally to your configured provider. Deploy with a single configuration flag; no code changes required. Cache invalidation, TTL controls, and detailed analytics are included. Stop paying twice for the same question. Enable Universal Prompt Caching today. --- *Exactly 120 words; one question; no forbidden terms.*

out 5418 tok (+5255 ragionamento) latenza 52.4 s

Rispetto dei vincoli (budget di parole, elenco di parole vietate, l'unica domanda), impronta stilistica, e controllo della lunghezza.

Usa GLM-5.3 in 30 secondi

Compatibile OpenAI: cambia la base_url, tieni il tuo SDK. POST /v1/chat/completions

from openai import OpenAI

client = OpenAI(
    base_url="https://synthorai.io/v1",
    api_key="sk-syn-...",
)

resp = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "Summarize this diff"}],
    reasoning_effort="medium",
)
print(resp.choices[0].message.content)

Informazioni su GLM-5.3

  • Mantiene la finestra di contesto da un milione di token introdotta con GLM-5.2 e viene presentato come migliorato nella scrittura di codice e nell'equilibrio tra prestazioni ed efficienza in token: il motivo per cambiare versione è quindi il throughput e la qualità del codice, non una finestra più ampia.
  • Sul piano strutturale è un modello a miscela di esperti con 753B di parametri totali, che accetta testo e restituisce testo.
  • Il ragionamento si regola con reasoning_effort, che accetta low, high e max e vale max per impostazione predefinita, perciò una richiesta che non specifica nulla è una richiesta che ragiona a fondo.
  • Il cambiamento con maggiori conseguenze rispetto alle versioni precedenti della linea è che non esiste alcun interruttore documentato per disattivare il ragionamento: su GLM-5, GLM-5.1 e GLM-5.2 si poteva, qui il budget di output deve prevedere una traccia di ragionamento a ogni chiamata.
  • Un flag separato, clear_thinking, vale false per impostazione predefinita e decide se cancellare le tracce dei turni precedenti; la scheda del modello chiede di passarlo esplicitamente nelle installazioni di tipo chat.
  • Chiamata di strumenti, output JSON e strutturato, streaming e input in cache sono ereditati dal resto della linea.
  • Su Synthorai è servito tramite l'endpoint chat completions compatibile con OpenAI, quindi passare da GLM-5.2 significa cambiare il nome del modello e non rifare l'integrazione.

FAQ

L'API di GLM-5.3 si può provare gratis?

Sì: i nuovi account ricevono 10 chiamate di prova e fino a $1 di credito gratuito, senza carta richiesta. A $1.4/M token in input, quel credito da solo copre circa 89 richieste da ~8K token verso GLM-5.3.

In cosa eccelle GLM-5.3?

Codice ed efficienza in token migliori rispetto a GLM-5.2; contesto da un milione di token per agenti di lungo periodo; la manopola dello sforzo di ragionamento parte dal massimo. Il quadro completo è nella sezione «Informazioni», tratto dalle note di rilascio ufficiali del vendor.

Quanto costa GLM-5.3?

Su Synthorai, GLM-5.3 costa $1.4 per milione di token in input e $4.4 per milione di token in output: il prezzo di listino del provider, senza ricarico della piattaforma. I token di input in cache si fatturano a $0.26/M.

GLM-5.3 supporta il caching dei prompt?

Sì, in automatico: i prompt serviti da Z.ai vanno in cache senza modifiche al codice. I token di input in cache si fatturano a $0.26/M contro $1.4/M senza cache. Guida al caching dei prompt →

Come ottengo l'accesso a GLM-5.3?

Punta il tuo SDK OpenAI esistente a base_url="https://synthorai.io/v1", imposta model="glm-5.3" e hai finito: una sola chiave API copre tutti i modelli del gateway.

Modelli correlati

Confronta

Ogni valore di questa pagina è trascritto dalla documentazione del fornitore, collegata sopra, e riporta la data in cui è stato verificato. I prezzi sono confrontati sull'intero catalogo; i valori di specifica che i fornitori definiscono in modo diverso sono mostrati indicando la differenza anziché messi a grafico. Nulla qui è misurato da noi e nulla è valutato con un punteggio.

Ottieni la tua chiave API Confronta il tuo costo →