Providers / Zhipu AI · All access methods for zhipuai/glm-image
GLM-Image
zhipuai/glm-image API key
models.dev2026-11-17
Type image · Released 2026-01-14
Input window
10,240 tokensdocumented
models.dev · 2026-11-17
Input and output together
Context window
10,240 tokens
Exposed by this provider
Maximum output
0 tokens
Per response; not a default
Cache lifetime, short
Unknown
Not documented or measured
Cache lifetime, long
Unknown
Not documented or measured
Limits
Input window
| Limit | Value | Source |
|---|---|---|
Input windowinput_window: the most input one request can carry on this entry, in tokens as the provider counts them. | 10,240 tokensdocumentedInput and output together | models.dev2026-11-17 |
| Documented The figure the source documents, and the field it is in. | 10,240 tokenslimit.context | models.dev2026-11-17 |
| Measured What each limit evaluation that counts gives, one line per evaluation. | Not measured | – |
How the input window is worked out, and what it does not say
Documented
| Limit | Value | Source |
|---|---|---|
Context windowlimit.context: what this provider accepts for the model, input and output together. | 10,240 tokens | models.dev |
Largest inputlimit.input: stated where the input limit is lower than the context window. | Unknown | – |
Maximum outputlimit.output: the most one response can hold. A maximum, not what you get by default. | 0 tokens | models.dev |
Measured tokens
| Date | Measured through | Context | Input accepted | Input refused | Output limit | Requested output accepted | Evidence |
|---|---|---|---|---|---|---|---|
| No limits were measured on this entry. | |||||||
Price
| Base charge | Rate |
|---|---|
| Input | Unknown |
| Output | Unknown |
| Reasoning output | Unknown |
| Cache read | Unknown |
| Cache write | Unknown |
| Image output | $0.0149 / image |
Conditional rates
| Condition | Charge | Rate | Applies to |
|---|---|---|---|
| No conditional rates recorded. | |||
Source: models.dev 2026-11-17
Other prices in the source, not shown above (0)
None
Request controls
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Service tier | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
Prompt caching
Lifetimes
| Lifetime | Documented for, or measured through | Time since the prompt was cached · served from the cache, in percent, with hits/checks | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| At once | 2.5 min | 5 min | 7.5 min | 10 min | 15 min | 20 min | 25 min | 30 min | 40 min | 50 min | 1 h | 1 h 15 | 1 h 30 | 2 h | 4 h | 8 h | 12 h | 24 h | ||
| Short retention |
| |||||||||||||||||||
| Long retention |
| |||||||||||||||||||
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
| Mode | Supported | Min. tokens | Breakpoints | Targets |
|---|---|---|---|---|
| Automatic implicit | Unknown | Unknown | Unknown | Unknown |
| Manual explicit | Unknown | Unknown | Unknown | Unknown |
Source: models.dev · Cache modes
Retention
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Cache retention | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
Provenance
| Provenance | Value |
|---|---|
| Source | models.dev2026-11-17 |
| Inherited from | None |
| Corrections | None |
| Evidence | None |
Data
GET /api/v1/entries/zhipuai/glm-image
Show the full entry as published
{
"id": "glm-image",
"name": "GLM-Image",
"description": "GLM-Image is an image generation model adopts a hybrid autoregressive + diffusion decoder architecture. In general image generation quality, GLM‑Image aligns with mainstream latent diffusion approaches, but it shows significant advantages in text-rendering and knowledge‑intensive generation scenarios. It performs especially well in tasks requiring precise semantic understanding and complex information expression, while maintaining strong capabilities in high‑fidelity and fine‑grained detail generation. In addition to text‑to‑image generation, GLM‑Image also supports a rich set of image‑to‑image tasks including image editing, style transfer, identity‑preserving generation, and multi‑subject consistency.",
"type": "image",
"canonical_id": "zhipuai/glm-image",
"release_date": "2026-01-14",
"limit": {
"context": 10240,
"output": 0
},
"capabilities": {
"temperature": false,
"top_k": false,
"top_p": false,
"system_updates": false,
"effort_updates": false,
"tools": {
"supported": false
},
"reasoning": {
"supported": false
}
},
"cost": {
"image": {
"output": {
"unit": "image",
"price": 0.01494
}
}
},
"modalities": {
"input": [
"text"
],
"output": [
"image"
]
},
"api": {
"images": {
"base_url": "https://open.bigmodel.cn/api/paas/v4",
"sdk": {
"aisdk": "@ai-sdk/openai-compatible",
"opencodeai": "@opencode/ai/providers/zai/images"
}
}
},
"open_weights": true,
"last_updated": "2026-01-14",
"providers_dev": {
"origin": "upstream",
"access": "api",
"provenance": [],
"inherited": null,
"cache": {
"documented": {
"support": "unknown",
"modes": {
"implicit": {
"support": "unknown",
"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": []
},
"pricing": {
"coverage": "partial",
"billing": "per_use",
"reference_ref": null,
"rules": [
{
"id": "cost.image.output.price",
"when": null,
"meter": "image.output",
"operation": "set",
"amount": 0.01494,
"currency": "USD",
"unit": {
"name": "image",
"quantity": 1
},
"applies_to": "all_usage",
"source_path": "cost.image.output.price",
"period": null,
"resulting_rates": null
}
],
"rule_order": "listed",
"unparsed": [],
"evidence": [
{
"kind": "documented",
"url": "https://models.dev",
"date": "2026-11-17",
"note": "The cost models.dev records for this entry. Rules are in the order models.dev applies them: base prices, overrides in their order, then multipliers."
}
]
},
"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": 10240,
"basis": "documented",
"bound": "limit",
"scope": "window",
"source": "models.dev",
"date": "2026-11-17",
"documented_tokens": 10240,
"documented_field": "limit.context",
"documented_source": "models.dev",
"documented_date": "2026-11-17",
"documented_status": null,
"measured_tokens": null,
"measured_bound": null,
"measured_kind": null,
"measured_refused": null,
"measured_date": null,
"clients": 0,
"evaluations": 0,
"measurements": []
}
},
"evidence": [],
"verified": null
}
}