
GLM-5.1
Z.ai
- Kontextfenster
- 203K 202.752 Tokens
- Maximale Ausgabe
- 131K 131.072 Tokens
- Eingabe / Ausgabe
- Text → Text
API-Preise
USD / 1 Mio. Token
| Eingabe | Ausgabe | Cache-Eingabe |
|---|---|---|
|
|
|
Zeitverlauf
- · Gewichtsversion · Beleglink
Preis Ein-/Ausgabe · USD / 1 Mio. Token
| Modell | Beleglinks | Preis Ein-/Ausgabe |
|---|---|---|
glm-5.1standard | zai-pricing API-Route nicht verfügbar | $1,40 / $4,40 |
- · Beleglinks · GitHub search · Z.ai · pulls · anomalyco/models.dev · @models-dev-automation[bot]
- · Beleglinks · GitHub search · Z.ai · pulls · BerriAI/litellm · @dparkmit24
Auszug
env -u ZAI_API_KEY python -c 'import litellm; print(litellm.validate_environment(model="zai/glm-5.1"))'
- · Katalogeintrag · GitHub · MiniMax-AI/minimax-code · code
Auszug
/** * Shared compatibility shim for the `edit` tool's arguments. * * Two model-side quirks are normalized before schema validation runs (both * mirror Pi 0.79's builtin edit tool shim): * * 1. Some models (MiniMax-M3 / GLM-5.1) emit `edits` as a JSON string even * though the public schema is `edits[]` — parse it back into an array. * 2. Legacy single-edit input (`oldText` / `newText` at the top level) is * folded into `edits[]`. * * One shared implementation is referenced by all three edit defs * (agent-core base, desktop, cloud); edit-defs-contract tests assert the * references are identical. */ export interface PreparedEditArguments { path: string; edits: { oldText: string; newText: string }[]; } export function prepareEditArguments(args: unknown): PreparedEditArguments { if (!args || typeof args !== 'object' || Array.isArray(args
Diese Codereferenz bestätigt keinen tatsächlich verwendeten Modellbezeichner.
Technische Daten
GLM-5.1 ist ein Modell von Z.ai mit offenen Modellgewichten, veröffentlicht am 2026-04-07. Das Kontextfenster umfasst 202.752 Tokens. Die maximale Ausgabelänge beträgt 131.072 Tokens. Pro Million Tokens kostet die Eingabe $1,40 und die Ausgabe $4,40.
- Kontextfenster
- 202.752
- Maximale Ausgabe
- 131.072
- Eingabe
- Text
- Ausgabe
- Text
- Modellgewichte
- Offen
- Eingabe · USD / 1 Mio. Token
- $1,40
- Ausgabe · USD / 1 Mio. Token
- $4,40
- Cache-Eingabe · USD / 1 Mio. Token
- $0,26
Fragen
Wie groß ist das Kontextfenster von GLM-5.1?
Das Kontextfenster umfasst 202.752 Tokens. Die maximale Ausgabelänge beträgt 131.072 Tokens.
Was kostet GLM-5.1?
Pro Million Tokens kostet die Eingabe $1,40 und die Ausgabe $4,40. Cache-Eingabe kostet $0,26 pro Million.
Sind die Modellgewichte von GLM-5.1 offen?
Ja. Z.ai veröffentlicht die Modellgewichte.
Wann wurde GLM-5.1 veröffentlicht?
Am 2026-04-07.