Models / Z.ai

glm-5.3-flash on Z.ai

Registry source llm-api-adapter-zai==0.1.3 · Snapshot

Token limits

Context window
1,000,000
Maximum output
131,072

Token pricing

USD per million tokens, as published in the adapter registry.

Prompt tokensInputOutputCache readCache write
All prompt sizes0.150.50.03Unknown

Capabilities in the registry

Unknown means the published registry has no entry for that capability.

Reasoning
Supported
Image URLs
Unknown
PDF URLs
Unsupported. The Z.ai package rejects DocumentPart URLs, including PDF URLs, before HTTP; document files are outside this adapter's supported input serialization.
PDF bytes
Unsupported. The Z.ai package rejects DocumentPart bytes, including PDF content, before HTTP; document files are outside this adapter's supported input serialization.
JSON Schema output
Unsupported. The adapter rejects portable json_schema before HTTP; response_format supports json_object only, with schema guidance and validation handled in the application.
Pydantic output
Unsupported. The adapter rejects response_model before HTTP; Z.ai documents JSON object mode but no model-bound output enforcement, so this package does not expose Pydantic response models.
Disable tool calls
Unsupported. The adapter rejects this unsupported tool-choice mode before transport according to the exact-model request rules.
Any tool choice
Unsupported. The adapter rejects this unsupported tool-choice mode before transport according to the exact-model request rules.
Named tool choice
Unsupported. The adapter rejects this unsupported tool-choice mode before transport according to the exact-model request rules.
Reasoning control
Limited. Reasoning cannot be disabled; Core uses the minimum declared by reasoning_capability and emits a warning.
Provider-side conversation continuation
Limited. previous_response is accepted for Core API compatibility but ignored; the request uses caller-provided messages and sends no provider continuation identifier.