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 Completions
POST /v1/chat/completions
常見問題
- glm-5.2 在 LLMoxy 上怎麼收費?
- 按量計費,Token 分組「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 可以用哪些 Token 分組?
- Token 分組決定呼叫價格:在控制台建立 API 密鑰時選擇分組,用這個密鑰的呼叫都按該分組的價格計費。glm-5.2 可用的分組:GLM。
- 需要海外信用卡嗎?
- 不需要。先在控制台儲值,呼叫時按實際用量從餘額扣費。支援的付款方式:支付寶、微信支付、Visa/MasterCard、Apple Pay,以及 USDT、BTC、SOL、TRX 等加密貨幣。多幣種支援。
