Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

GLM 5.4

z-ai/glm-5.4

GLM-5.4 is Z.ai's flagship model for complex software engineering, long-horizon agent work and code-driven tasks such as game building, video editing and 3D modeling. It is the first GLM built on a Loop Transformer, which runs 28 shared layers of the GLM-5 base model twice to reason more deeply without adding parameters. It always runs with reasoning enabled, accepts text, image, video and file input, and supports a 1M-token context window with up to 128K output tokens.

Specifiche

Prezzo input
$1.40USD / 1M token
Prezzo output
$4.40USD / 1M token
Lettura da cache
$0.26USD / 1M token
Finestra di contesto
1M
Output massimo
128K
Modalities
Testo, immagineTesto
Rilascio
23 nov 2026
Nuovo
Funzionalità
  • Chat: Supportato
  • Vision: Supportato
  • Ragionamento: Supportato
  • Output strutturato: Supportato
  • Chiamata di funzione: Supportato
  • Input audio: Non supportato

Prices in USD / 1M token

Disponibile

Avvio rapido

import os

import requests

headers = {"Authorization": f"Bearer {os.environ['SANDBASE_API_KEY']}"}
payload = {
    "model": "z-ai/glm-5.4",
    "messages": [
        {
            "role": "user",
            "content": "Hello",
        },
    ],
    "max_tokens": 2048,
}
response = requests.post(
    "https://api.sandbase.ai/v1/chat/completions",
    headers=headers,
    json=payload,
)
response.raise_for_status()
print(response.json())

Domande

FAQ

Come chiamo Z.ai GLM 5.4 tramite SandBase?

Crea una chiave API SandBase, poi invia richieste con l'ID modello "z-ai/glm-5.4" a Chat Completions API (/v1/chat/completions) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.

Quanto costa Z.ai GLM 5.4?

$1.40 per 1M token di input e $4.40 per 1M token di output, addebitati per richiesta dal tuo saldo SandBase. Gli sconti, quando disponibili, sono indicati nei prezzi di questa pagina.

Qual è la finestra di contesto di Z.ai GLM 5.4?

1M token di contesto, con fino a 128K token di output per risposta.

Quali funzionalità supporta Z.ai GLM 5.4?

Z.ai GLM 5.4 supporta visione (input immagini), ragionamento, function calling, output strutturato. Consulta le Specifiche sopra per l'elenco completo.

Mi serve un account Z.ai separato?

No. Una sola chiave API e un solo saldo SandBase ti danno accesso a Z.ai GLM 5.4 e agli altri modelli del catalogo; non è necessario registrarsi separatamente su Z.ai.