Unverified50% confidenceSolutionExact time
Connecting GLM-5.4 in Claude Code requires setting the endpoint address to api.z.ai/api/anthropic and adding four values under ENV in settings.json: three set the haiku, sonnet and opus models to GLM-5.4 with m appended after the brackets to enable million-token context, and the fourth sets the auto compact window to the same order of magnitude.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
11/29/2026
First Seen
Valid until: 2/27/2027
Sources
Related Entities
Related Claims
Cite This Claim
Stable URI
https://kongchang.com/claim/1213989API
curl https://kongchang.com/api/v1/knowledge/claims/1213989MCP
get_claim(id=1213989)