智谱: GLM 5.3 FlashX Legal
glm-5.3-flashx-legal
GLM 5.3 FlashX Legal is Z.AI's model trained for legal document analysis, contract review, legal reasoning and initial drafts. It accepts text and images and returns text, with always-on reasoning, tool calling, JSON output, a 1M-token context window and up to 131,072 output tokens. External legal databases and document-editing tools require your own integrations.
模态
文本 + 图片 → 文本
输入 / 输出价
$0.481 / $1.63 每 1M
上下文
1.05M · 最长输出 131K
能力
价格
按实际 token 计费,从余额中扣除。人民币按 1 美元 ≈ 7.2 元折算,仅供参考。
| 计费项 | 美元 / 1M token | 人民币参考 |
|---|---|---|
| 输入 | $0.481 | ¥3.46 |
| 输出 | $1.63 | ¥11.70 |
| 缓存命中(输入) | $0.0975 | ¥0.70 |
试算
拖动滑块估算这个模型的花费。
- 单次
- $0.00274
- 每天
- $1.37
- 每月(30 天)
- $41.15≈ ¥296
GLM 5.3 FlashX Legal:输入 $0.481/M · 输出 $1.625/M · 缓存命中 $0.0975/M
curl https://api.geniusrelaygpt.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "glm-5.3-flashx-legal", "max_tokens": 800,
"messages": [{"role": "user", "content": "…"}]}'接入代码
兼容 OpenAI 接口。把 Base URL 换成 https://api.geniusrelaygpt.com/v1,模型名填 glm-5.3-flashx-legal。
curl https://api.geniusrelaygpt.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flashx-legal",
"stream": true,
"messages": [{"role": "user", "content": "你好"}]
}'支持的参数
常用 OpenAI 参数都可以直接传。
temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseed常见问题
- GLM 5.3 FlashX Legal 怎么计费?
- 输入 $0.481、输出 $1.63 每百万 token,命中缓存的输入按 $0.0975 计。每次请求的扣费都能在控制台使用日志里查到。
- 上下文有多长?
- 1.05M token。长对话每一轮都会按全部输入 token 计费,注意控制历史长度。
- 支持流式输出吗?
- 支持。请求里加
"stream": true,返回 SSE,格式与 OpenAI 一致。