glm-5.2

Z.ai按量计费

GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering, and complex multi-step automation. Reasoning efforts `high` and `xhigh` are supported; `xhigh` maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task. GLM 5.2 是 Z.ai 推出的开源旗舰级大规模推理模型,支持文本输入输出和约 100 万 token 上下文窗口,适合长周期智能体工作流、项目级软件工程和复杂多步骤自动化任务。它支持 high/xhigh 推理强度,在长时间编码和工具使用中能够持续保持工程上下文与规范一致性。

  • 推理

快速调用

curl https://llmoxy.com/v1/chat/completions \  -H "Authorization: Bearer $LLMOXY_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "glm-5.2",    "messages": [{"role": "user", "content": "你好"}]  }'

运行前先把环境变量 LLMOXY_KEY 设成你的 API 密钥。

接口

  • Chat CompletionsPOST /v1/chat/completions

常见问题

glm-5.2 在 LLMoxy 上怎么收费?
按量计费,令牌分组「GLM」的价格:输入 ¥0.56 / 1M tokens,输出 ¥1.76 / 1M tokens。比官方 API 价格低 94%。
怎么调用 glm-5.2?
在 LLMoxy 控制台创建 API 密钥,请求时把 model 设为 glm-5.2,发到以下接口:Chat Completions POST https://llmoxy.com/v1/chat/completions。也可以直接用 OpenAI SDK,把 base URL 设为 https://llmoxy.com/v1。
glm-5.2 可以用哪些令牌分组?
令牌分组决定调用价格:在控制台创建 API 密钥时选择分组,用这个密钥的调用都按该分组的价格计费。glm-5.2 可用的分组:GLM。
需要海外信用卡吗?
不需要。先在控制台充值余额,调用时按实际用量从余额扣费。支持的付款方式:支付宝、微信支付、Visa/MasterCard、Apple Pay,以及 USDT、BTC、SOL、TRX 等加密货币。多币种支持。
全部模型