GET

/v1/models/zai/glm-5.4

provider zaistatus activefirst seen Dec 2, 2026last seen 28h ago
rawIdglm-5.4
displayName—
idzai-glm-5-4
activitychat
schemaEndpointIdpaas/v4/chat/completions
releasedAtno release date reported by the provider
firstSeenAt1796184355 — Dec 2, 2026
lastSeenAt1796207734 — 28h ago
pricing
$1.4 / 1M input · $4.4 / 1M output → open calculator
input_tokens (usage) · output_tokens (usage) · cache_read_tokens (usage)
contextWindow1000000
maxOutput131072
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 · providerMetadatanot published by this provider’s list endpoint

Endpoints & schemas

GET /v1/schemas/zai →
endpointactivity
paas/v4/chat/completionschat

endpoints matching this model — the provider has more, see /v1/schemas/zai

Sources

fieldrecorded source
contextWindowhttps://docs.z.ai/guides/overview/overview.md

docs-derived

Context

Source trace
fa63640d9c4fea861cd860801e2a13aad0cc3aa4eb8c0e212b0ab48d3d4ba716
maxOutputhttps://docs.z.ai/openapi.json

upstream-spec

max_tokens

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
modalitieshttps://docs.z.ai/openapi.json

upstream-spec

messages

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
pricingSource linked above.

docs-derived

Pricing

Source trace
47d99134e4ff677af65c5a24cbf2f0d86f726ab7d25df098e9866269e3972c6f
reasoninghttps://docs.z.ai/guides/capabilities/thinking.md

docs-derived

reasoning_effort

Source trace
18eb6da61ed960e896726bc9a8e4aef687fe524246fda18d6bec050bd8926b6e
capabilities.reasoninghttps://docs.z.ai/openapi.json

upstream-spec

/properties/thinking

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.reasoning_efforthttps://docs.z.ai/openapi.json

upstream-spec

/properties/reasoning_effort

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.temperaturehttps://docs.z.ai/openapi.json

upstream-spec

/properties/temperature

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.top_phttps://docs.z.ai/openapi.json

upstream-spec

/properties/top_p

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.max_tokenshttps://docs.z.ai/openapi.json

upstream-spec

/properties/max_tokens

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.toolshttps://docs.z.ai/openapi.json

upstream-spec

/properties/tools

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.tool_choicehttps://docs.z.ai/openapi.json

upstream-spec

/properties/tool_choice

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.stophttps://docs.z.ai/openapi.json

upstream-spec

/properties/stop

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
capabilities.response_formathttps://docs.z.ai/openapi.json

upstream-spec

/properties/response_format

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
{
  "endpointId": "paas/v4/chat/completions"
}
requestMaphttps://docs.z.ai/openapi.json

upstream-spec

paas/v4/chat/completions/requestBody/model=glm-5.4/thinking/clear_thinking

Source trace
bd1355519798418cc1b60f17f934308a7360faaf523164140ea40a9ad4a38cbf
requestMapFields.replayReasoningContenthttps://docs.z.ai/guides/capabilities/thinking-mode.md

docs-derived

reasoning_content

Source trace
9074c67aedd1294ba3baa2badbd8b4742776fbc6c7d2bd1508f7bb27c959dd9b
activitySource unknown — no source URL recorded.
schemaEndpointIdSource 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}}'