GET
/v1/models/zai/glm-5.4
Accept:
| rawId | glm-5.4 |
| displayName | — |
| id | zai-glm-5-4 |
| activity | chat |
| schemaEndpointId | paas/v4/chat/completions |
| releasedAt | no release date reported by the provider |
| firstSeenAt | 1796184355 — Dec 2, 2026 |
| lastSeenAt | 1796207734 — 34h ago |
| pricing | $1.4 / 1M input · $4.4 / 1M output → open calculator input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage) |
| contextWindow | 1000000 |
| maxOutput | 131072 |
| modalities | {"input":["text"],"output":["text"]} |
| capabilities | {"reasoning":true,"reasoning_effort":true,"temperature":true,"top_p":true,"max_tokens":true,"tools":true,"tool_choice":true,"stop":true,"response_format":true} |
| requestMap | {"thinking":null,"maxTokensField":null,"developerRole":null,"replayReasoningContent":true,"store":null,"strictTools":null,"sessionAffinity":null,"cacheControl":null,"toolStream":null,"reasoningEffort":null} |
| knowledgeCutoff · openWeights · weightsUrl · providerMetadata | not published by this provider’s list endpoint |
Endpoints & schemas
GET /v1/schemas/zai →| endpoint | activity |
|---|---|
| paas/v4/chat/completions | chat |
endpoints matching this model — the provider has more, see /v1/schemas/zai
Sources
| field | recorded source |
|---|---|
| contextWindow | https://docs.z.ai/guides/overview/overview.md docs-derived Context Source tracefa63640d9c4fea861cd860801e2a13aad0cc3aa4eb8c0e212b0ab48d3d4ba716 |
| maxOutput | https://docs.z.ai/openapi.json upstream-spec max_tokens Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf |
| modalities | https://docs.z.ai/openapi.json upstream-spec messages Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf |
| pricing | Source linked above. docs-derived Pricing Source trace47d99134e4ff677af65c5a24cbf2f0d86f726ab7d25df098e9866269e3972c6f |
| reasoning | https://docs.z.ai/guides/capabilities/thinking.md docs-derived reasoning_effort Source trace18eb6da61ed960e896726bc9a8e4aef687fe524246fda18d6bec050bd8926b6e |
| capabilities.reasoning | https://docs.z.ai/openapi.json upstream-spec /properties/thinking Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.reasoning_effort | https://docs.z.ai/openapi.json upstream-spec /properties/reasoning_effort Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.temperature | https://docs.z.ai/openapi.json upstream-spec /properties/temperature Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.top_p | https://docs.z.ai/openapi.json upstream-spec /properties/top_p Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.max_tokens | https://docs.z.ai/openapi.json upstream-spec /properties/max_tokens Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.tools | https://docs.z.ai/openapi.json upstream-spec /properties/tools Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.tool_choice | https://docs.z.ai/openapi.json upstream-spec /properties/tool_choice Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.stop | https://docs.z.ai/openapi.json upstream-spec /properties/stop Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| capabilities.response_format | https://docs.z.ai/openapi.json upstream-spec /properties/response_format Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf{
"endpointId": "paas/v4/chat/completions"
} |
| requestMap | https://docs.z.ai/openapi.json upstream-spec paas/v4/chat/completions/requestBody/model=glm-5.4/thinking/clear_thinking Source tracebd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf |
| requestMapFields.replayReasoningContent | https://docs.z.ai/guides/capabilities/thinking-mode.md docs-derived reasoning_content Source trace9074c67aedd1294ba3baa2badbd8b4742776fbc6c7d2bd1508f7bb27c959dd9b |
| activity | Source unknown — no source URL recorded. |
| schemaEndpointId | Source unknown — no source URL recorded. |
Use it
shell
$ curl https://modelschemas.com/v1/schemas/zai/chat/paas/v4/chat/completions # request schema
$ curl -X POST https://modelschemas.com/v1/validate -d '{"provider":"zai","endpointId":"paas/v4/chat/completions","payload":{…}}'
$ curl -X POST https://modelschemas.com/v1/estimate -d '{"provider":"zai","model":"glm-5.4","usage":{"input_tokens":1200,"output_tokens":400}}'