Skip to content

Providers / Zhipu AI Coding Plan · All access methods for zhipuai/glm-5.4

GLM-5.4

zhipuai-coding-plan/glm-5.4 Subscription models.dev2026-11-30pi.dev2026-11-30

Type chat · Released 2026-11-23

Context window
1,000,000 tokens
Maximum output
131,072 tokens
Price
In plan
Cache lifetime, short
Unknown
Cache lifetime, long
Unknown

Limits

LimitValue
Context window
The most input one request can carry, in tokens
1,000,000 tokens
Maximum output
The most one response can hold. A maximum, not a default
131,072 tokens

Limit evaluations tokens

DateRoute and clientContextInput acceptedInput refusedOutput limitRequested output acceptedEvidence
No limit evaluation on this entry.

Price

In plan
ChargeRate
InputIn plan
OutputIn plan
Reasoning outputIn plan
Cache readIn plan
Cache writeIn plan

Conditional rates

ConditionRatesApplies to
Not applicable: the entry has no price per token.
Other prices in the source, not shown above (0)

No other prices

Request controls

ControlSupportRequest fieldAccepted valuesDefaultConditions
Service tierUnknownUnknownUnknownUnknownUnknown

Source: Unknown

Prompt caching

LifetimeValue
Cache lifetime, short
Without asking for a lifetime, or with the shortest one
Unknown
Cache lifetime, long
When the request asks for a longer lifetime
Unknown

Cache evaluations

The cache evaluations of this entry, by retention
LifetimeClientTime since the prompt was cached · served from the cache, in percent, with hits/checks
At once2.5 min5 min7.5 min10 min15 min20 min25 min30 min40 min50 min1 h1 h 151 h 302 h4 h8 h12 h24 h
Short retentionNo evaluation
Long retentionNo evaluation

Checks served from the cache, in percent and as hits/checks, by time since the prompt was cached100 All67 Half or more33 Fewer0 None· Not checked at that ageMethodology

Cache modes

ModeSupportedMin. tokensBreakpointsTargets
Automatic implicit Supported Unknown Not applicable Not applicable
Manual explicit Unknown Unknown Unknown Unknown

Source: models.dev · Cache modes

Retention

ControlSupportRequest fieldAccepted valuesDefaultConditions
Cache retentionUnknownUnknownUnknownUnknownUnknown

Source: Unknown

How Pi calls the model

pi.devFetched 2026-11-30 from pi.dev/api/modelsNot verified by providers.devIts limits, prices and cache lifetimes: the last source of each value abovePi's list for zai-coding-cn

In Pi's catalogAs Pi states it
Model
Paired by providers.dev: Pi spells the provider or model id otherwise than this entry.
GLM-5.4
zai-coding-cn/glm-5.4
Request format
api: the API Pi speaks to this model, in words and in Pi's word
OpenAI Chat Completions
openai-completions
Address
base_url: where Pi sends requests, placeholders as written
https://open.bigmodel.cn/api/coding/paas/v4
Input
What Pi sends to the model, in Pi's words
text image
Reasoning
Whether Pi treats the model as one that reasons
Yes
Thinking levels
The value Pi sends for each level it names. A level not named follows Pi's own default. Not the provider's list of effort values
off
not supported
minimal
not supported
low
low
medium
not supported
high
high
xhigh
not supported
max
max
What the provider accepts
compat: what the provider or the model accepts in this request format, as Pi states it. A flag not named follows Pi's own default: it is not false
The store request field
supportsStore: false
Not accepted
The reasoning_effort request field
supportsReasoningEffort: true
Accepted
The request field for the output limit
maxTokensField: "max_tokens"
max_tokens
How thinking is asked for, by Pi's name for the convention
thinkingFormat: "zai"
zai
Strict tool schemas
supportsStrictMode: true
Accepted
The tool_stream request field
zaiToolStream: true
Accepted
What Pi does
Pi's own switches, as Pi states them: how Pi builds its requests. Not a statement about the provider
None stated
Other flags
Flags this page has no words for yet, as Pi states them
None stated
Request limits
The provider's limits on one request, as Pi states them
None stated

How Pi's catalog is used

Provenance

ProvenanceValue
Sourcemodels.dev2026-11-30pi.dev2026-11-30
Inherited fromNot inherited
CorrectionsNo corrections
EvidenceNo evidence

Data

GET /api/v1/entries/zhipuai-coding-plan/glm-5.4

Show the full entry as published
{
  "id": "glm-5.4",
  "name": "GLM-5.4",
  "description": "Multimodal GLM flagship model for coding, agents, and complex project delivery",
  "type": "chat",
  "family": "glm",
  "canonical_id": "zhipuai/glm-5.4",
  "release_date": "2026-11-23",
  "limit": {
    "context": 1000000,
    "output": 131072
  },
  "capabilities": {
    "cache": {
      "implicit": true
    },
    "temperature": true,
    "top_k": false,
    "top_p": true,
    "structured_output": true,
    "system_updates": false,
    "effort_updates": false,
    "tools": {
      "supported": true
    },
    "reasoning": {
      "supported": true,
      "effort": [
        "low",
        "high",
        "max"
      ],
      "default": {
        "type": "effort",
        "value": "max"
      }
    }
  },
  "cost": {
    "text": {
      "input": {
        "price": 0,
        "cache": {
          "read": 0,
          "write": 0
        }
      },
      "output": {
        "price": 0
      }
    }
  },
  "modalities": {
    "input": [
      "text",
      "image/jpeg",
      "image/png",
      "video/mp4",
      "video/x-matroska",
      "video/quicktime",
      "application/pdf"
    ],
    "output": [
      "text"
    ]
  },
  "api": {
    "chat-completions": {
      "base_url": "https://open.bigmodel.cn/api/coding/paas/v4",
      "sdk": {
        "aisdk": "@ai-sdk/openai-compatible",
        "opencodeai": "@opencode/ai/providers/zai-coding-plan/chat"
      },
      "capabilities": {
        "tools": {
          "choice": [
            "auto"
          ],
          "updates": []
        }
      },
      "compatibility": {
        "max_tokens_field": "max_tokens",
        "reasoning_field": "reasoning_content"
      }
    },
    "messages": {
      "base_url": "https://open.bigmodel.cn/api/anthropic/v1",
      "sdk": {
        "aisdk": "@ai-sdk/anthropic",
        "opencodeai": "@opencode/ai/providers/zai-coding-plan/messages"
      },
      "capabilities": {
        "tools": {
          "choice": [
            "auto"
          ],
          "updates": []
        }
      }
    },
    "responses": {
      "base_url": "https://open.bigmodel.cn/api/v1",
      "sdk": {
        "aisdk": "@ai-sdk/openai",
        "opencodeai": "@opencode/ai/providers/zai-coding-plan/responses"
      },
      "capabilities": {
        "tools": {
          "choice": [
            "auto",
            "none"
          ],
          "updates": []
        }
      }
    }
  },
  "open_weights": false,
  "last_updated": "2026-11-23",
  "recommended_api": "chat-completions",
  "providers_dev": {
    "origin": "upstream",
    "access": "subscription",
    "provenance": [],
    "inherited": null,
    "cache": {
      "documented": {
        "support": "supported",
        "modes": {
          "implicit": {
            "support": "supported",
            "min_tokens": null,
            "max_breakpoints": null,
            "targets": null
          },
          "explicit": {
            "support": "unknown",
            "min_tokens": null,
            "max_breakpoints": null,
            "targets": null
          }
        }
      },
      "retention": {
        "support": "unknown",
        "parameter": null,
        "accepted_values": null,
        "default": null,
        "profiles": [],
        "conditions": [],
        "evidence": []
      },
      "lifetime": {
        "short": {
          "safe_s": null,
          "basis": "none",
          "source": null,
          "date": null,
          "documented_s": null,
          "measured_s": null,
          "documented_status": null,
          "clients": 0,
          "evaluations": 0,
          "checks": 0,
          "hits": 0,
          "checks_inside": null,
          "hits_inside": null,
          "tested_from_s": null,
          "first_miss_s": null
        },
        "long": {
          "safe_s": null,
          "basis": "none",
          "source": null,
          "date": null,
          "documented_s": null,
          "measured_s": null,
          "documented_status": null,
          "clients": 0,
          "evaluations": 0,
          "checks": 0,
          "hits": 0,
          "checks_inside": null,
          "hits_inside": null,
          "tested_from_s": null,
          "first_miss_s": null
        },
        "lifetimes": []
      },
      "evaluations": [],
      "findings": []
    },
    "pricing": {
      "coverage": "not_applicable",
      "billing": "not_applicable",
      "reference_ref": null,
      "rules": null,
      "rule_order": null,
      "unparsed": [],
      "evidence": [
        {
          "kind": "documented",
          "url": "https://models.dev",
          "date": "2026-11-30",
          "note": "The source lists a price of 0 for this entry, which is a subscription: no price per token is published."
        }
      ]
    },
    "request_controls": {
      "coverage": "unknown",
      "items": [
        {
          "id": "cache.retention",
          "support": "unknown",
          "when": null,
          "bindings": null,
          "options": null,
          "default": null,
          "conditions": [],
          "evidence": []
        },
        {
          "id": "service_tier",
          "support": "unknown",
          "when": null,
          "bindings": null,
          "options": null,
          "default": null,
          "conditions": [],
          "evidence": []
        }
      ]
    },
    "limits": {
      "measured": [],
      "from_measurement": [],
      "input_window": {
        "tokens": 1000000,
        "basis": "documented",
        "bound": "limit",
        "scope": "window",
        "source": "models.dev",
        "date": "2026-11-30",
        "documented_tokens": 1000000,
        "documented_field": "limit.context",
        "documented_source": "models.dev",
        "documented_date": "2026-11-30",
        "documented_status": null,
        "measured_tokens": null,
        "measured_bound": null,
        "measured_kind": null,
        "measured_refused": null,
        "measured_date": null,
        "clients": 0,
        "evaluations": 0,
        "measurements": []
      }
    },
    "safe": {
      "input_window": {
        "value": 1000000,
        "unit": "tokens",
        "at_least": false,
        "scope": "window",
        "window_tokens": null,
        "source": "models.dev",
        "date": "2026-11-30",
        "agreement": "agree",
        "sources": [
          {
            "source": "models.dev",
            "value": 1000000,
            "withheld": false,
            "at_least": false,
            "below": null,
            "scope": "window",
            "date": "2026-11-30",
            "evidence_url": null,
            "client": null,
            "client_label": null,
            "client_kind": null,
            "evaluation_id": null
          },
          {
            "source": "pi.dev",
            "value": 1000000,
            "withheld": false,
            "at_least": false,
            "below": null,
            "scope": "window",
            "date": "2026-11-30",
            "evidence_url": null,
            "client": null,
            "client_label": null,
            "client_kind": null,
            "evaluation_id": null
          }
        ],
        "unknown_reason": null
      },
      "max_output": {
        "value": 131072,
        "unit": "tokens",
        "at_least": false,
        "scope": null,
        "window_tokens": null,
        "source": "models.dev",
        "date": "2026-11-30",
        "agreement": "agree",
        "sources": [
          {
            "source": "models.dev",
            "value": 131072,
            "withheld": false,
            "at_least": false,
            "below": null,
            "scope": null,
            "date": "2026-11-30",
            "evidence_url": null,
            "client": null,
            "client_label": null,
            "client_kind": null,
            "evaluation_id": null
          },
          {
            "source": "pi.dev",
            "value": 131072,
            "withheld": false,
            "at_least": false,
            "below": null,
            "scope": null,
            "date": "2026-11-30",
            "evidence_url": null,
            "client": null,
            "client_label": null,
            "client_kind": null,
            "evaluation_id": null
          }
        ],
        "unknown_reason": null
      },
      "cache_short": {
        "value": null,
        "unit": "seconds",
        "at_least": false,
        "scope": null,
        "window_tokens": null,
        "source": null,
        "date": null,
        "agreement": "none",
        "sources": [],
        "unknown_reason": null
      },
      "cache_long": {
        "value": null,
        "unit": "seconds",
        "at_least": false,
        "scope": null,
        "window_tokens": null,
        "source": null,
        "date": null,
        "agreement": "none",
        "sources": [],
        "unknown_reason": null
      },
      "price": {
        "source": null,
        "date": null,
        "agreement": "none",
        "differs": [],
        "sources": []
      },
      "differing": []
    },
    "evidence": [],
    "verified": null,
    "pi": {
      "ref": "zai-coding-cn/glm-5.4",
      "provider": "zai-coding-cn",
      "model": "glm-5.4",
      "match": "alias",
      "name": "GLM-5.4",
      "type": "chat",
      "api": "openai-completions",
      "base_url": "https://open.bigmodel.cn/api/coding/paas/v4",
      "reasoning": true,
      "input": [
        "text",
        "image"
      ],
      "context_window": 1000000,
      "max_tokens": 131072,
      "cost": {
        "input": 0,
        "output": 0,
        "cache_read": 0,
        "cache_write": 0,
        "tiers": []
      },
      "thinking_level_map": {
        "off": null,
        "minimal": null,
        "low": "low",
        "medium": null,
        "high": "high",
        "xhigh": null,
        "max": "max"
      },
      "compat": {
        "supportsStore": false,
        "supportsReasoningEffort": true,
        "maxTokensField": "max_tokens",
        "thinkingFormat": "zai",
        "supportsStrictMode": true,
        "zaiToolStream": true
      },
      "prompt_cache": null,
      "input_limits": {
        "max_request_bytes": null,
        "max_images_per_request": null,
        "max_images_per_message": null
      },
      "differences": [],
      "values": [
        {
          "field": "context_window",
          "entry_field": "limit.context",
          "unit": "tokens",
          "standing": "agrees",
          "pi": 1000000,
          "pi_tiers": null
        },
        {
          "field": "max_tokens",
          "entry_field": "limit.output",
          "unit": "tokens",
          "standing": "agrees",
          "pi": 131072,
          "pi_tiers": null
        },
        {
          "field": "cost.input",
          "entry_field": "cost.text.input.price",
          "unit": "usd_per_million_tokens",
          "standing": "silent",
          "pi": null,
          "pi_tiers": null
        },
        {
          "field": "cost.output",
          "entry_field": "cost.text.output.price",
          "unit": "usd_per_million_tokens",
          "standing": "silent",
          "pi": null,
          "pi_tiers": null
        },
        {
          "field": "cost.cache_read",
          "entry_field": "cost.text.input.cache.read",
          "unit": "usd_per_million_tokens",
          "standing": "silent",
          "pi": null,
          "pi_tiers": null
        },
        {
          "field": "cost.cache_write",
          "entry_field": "cost.text.input.cache.write",
          "unit": "usd_per_million_tokens",
          "standing": "silent",
          "pi": null,
          "pi_tiers": null
        },
        {
          "field": "cost.tiers",
          "entry_field": "cost.text",
          "unit": "usd_per_million_tokens",
          "standing": "silent",
          "pi": null,
          "pi_tiers": null
        },
        {
          "field": "prompt_cache.short",
          "entry_field": "providers_dev.cache.lifetime.short.documented_s",
          "unit": "seconds",
          "standing": "silent",
          "pi": null,
          "pi_tiers": null
        },
        {
          "field": "prompt_cache.long",
          "entry_field": "providers_dev.cache.lifetime.long.documented_s",
          "unit": "seconds",
          "standing": "silent",
          "pi": null,
          "pi_tiers": null
        }
      ]
    }
  }
}