GLM-4-Long
专为超长文本和记忆类任务设计的语言模型,支持 1M token 输入。
规格
- 上下文
- 1.05M
- 最大输出
- 4.1K
- 输入价
- ¥1/ 百万 Token
- 输出价
- ¥1/ 百万 Token
- 发布日期
- —
上下文
- 上下文
- 1.05M
- 最大输入
- —
- 最大输出
- 4.1K
价格 · CNY / 百万 Token
- 输入
- ¥1
- 输出
- ¥1
- 缓存读取
- ¥0.5
- 缓存写入
- —
输入输出
- 输入
- 文本
- 输出
- 文本
API
- 接口类型
思考
- 官方未公布
源信息
- 状态
- 可用
- 发布日期
- —
- 知识截止
- —
能力
- 官方未公布
调用方式
1 个 Provider
zhipumodel = glm-4-long
chat
POSThttps://open.bigmodel.cn/api/paas/v4/chat/completions
JSON
标准格式
{
"id": "glm-4-long",
"object": "model",
"created": null,
"owned_by": "zhipu",
"name": "GLM-4-Long",
"api": {
"types": [
"chat"
]
},
"limits": {
"context": 1048576,
"input": null,
"output": 4096
},
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"reasoning": {
"supported": null,
"efforts": []
},
"pricing": {
"currency": "CNY",
"unit": "1M_tokens",
"input": 1,
"output": 1,
"cache_read": 0.5,
"cache_write": null
},
"features": [],
"info": {
"status": "active",
"release_date": null,
"knowledge_cutoff": null,
"description": "Language model designed for very long text and memory-style tasks, supporting 1M-token input.",
"docs": "https://docs.bigmodel.cn/cn/guide/models/text/glm-4-long",
"verified_at": "2026-10-11"
}
}官方来源
4