
GLM-5.1
Z.ai
- Contextvenster
- 203K 202.752 tokens
- Maximale output
- 131K 131.072 tokens
- Invoer / Uitvoer
- tekst → tekst
API-prijzen
USD / 1 miljoen tokens
| Invoer | Uitvoer | Gecachte invoer |
|---|---|---|
|
|
|
Tijdlijn
- · Gewichtsversie · bronlink
Prijs invoer / uitvoer · USD / 1 miljoen tokens
| Model | Bronlinks | Prijs invoer / uitvoer |
|---|---|---|
glm-5.1standard | zai-pricing API-route niet beschikbaar | $1,40 / $4,40 |
- · Bronlinks · GitHub search · Z.ai · pulls · anomalyco/models.dev · @models-dev-automation[bot]
- · Bronlinks · GitHub search · Z.ai · pulls · BerriAI/litellm · @dparkmit24
Fragment
env -u ZAI_API_KEY python -c 'import litellm; print(litellm.validate_environment(model="zai/glm-5.1"))'
- · Catalogusvermelding · GitHub · MiniMax-AI/minimax-code · code
Fragment
/** * 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
Deze codeverwijzing bevestigt geen modelidentificatie die daadwerkelijk wordt gebruikt.
Specificaties
GLM-5.1 is een AI-model van Z.ai met open gewichten, uitgebracht op 2026-04-07. Het contextvenster is 202.752 tokens. De maximale uitvoer is 131.072 tokens. De prijs per miljoen tokens is $1,40 voor invoer en $4,40 voor uitvoer.
- Contextvenster
- 202.752
- Maximale output
- 131.072
- Invoer
- tekst
- Uitvoer
- tekst
- Gewichten
- Open
- Invoer · USD / 1 miljoen tokens
- $1,40
- Uitvoer · USD / 1 miljoen tokens
- $4,40
- Gecachte invoer · USD / 1 miljoen tokens
- $0,26
Vragen
Wat is het contextvenster van GLM-5.1?
Het contextvenster is 202.752 tokens. De maximale uitvoer is 131.072 tokens.
Hoeveel kost GLM-5.1?
De prijs per miljoen tokens is $1,40 voor invoer en $4,40 voor uitvoer. Invoer uit de cache kost $0,26 per miljoen tokens.
Zijn de gewichten van GLM-5.1 openbaar beschikbaar?
Ja. Z.ai publiceert de modelgewichten.
Wanneer werd GLM-5.1 uitgebracht?
2026-04-07.