現已上線
Zhipu
glm-4.7-flash
As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances performance and efficiency. It is further optimized for agentic coding use cases, strengthening coding capabilities, long-horizon task planning,...
TextReasoningToolsOpen Weights203K
輸入免費
輸出免費
上下文203K
端點openai
能力
推理工具結構化
模態
輸入
text
輸出
text
快速統計
效能
正在載入效能資料...
支援的參數
| 參數 | 始終 | 預設值 |
|---|---|---|
| frequency_penalty | - | (不傳送) |
| include_reasoning | - | |
| logit_bias | - | - |
| max_tokens | - | |
| min_p | - | - |
| presence_penalty | - | - |
| reasoning | - | |
| repetition_penalty | - | - |
| response_format | - | |
| seed | - | - |
| stop | - | - |
| structured_outputs | - | - |
| temperature | 1 | |
| tool_choice | - | |
| tools | - | |
| top_k | - | - |
| top_p | 0.95 |
§ 01
價格
| 輸入價格 | $0.00/每百萬 tokens |
| 輸出價格 | $0.00/每百萬 tokens |
| 上下文視窗 | 203K tokens |
| 相容端點 | openai |
| 供應商 | Zhipu |
§ 02
從您的程式碼呼叫 glm-4.7-flash
將任何 OpenAI 相容 SDK 指向 UnoRouter,並以名稱請求模型。請將 YOUR_API_KEY 換成您儀表板上的真實金鑰。
bash
curl https://api.unorouter.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7-flash",
"messages": [{"role": "user", "content": "Hello!"}]
}'§ 03
常見問題
glm-4.7-flash 每百萬 tokens 的費用是多少?
輸入每百萬 tokens 定價 $0.00,輸出每百萬 tokens 定價 $0.00。計費以 token 為單位,不會湊整到批次大小。
我要如何透過 API 使用 glm-4.7-flash?
將請求送至 UnoRouter 的 /v1/chat/completions 端點,並將 model 設為 glm-4.7-flash。任何 OpenAI 相容的用戶端程式庫都可使用。驗證採用標準 Bearer token。
glm-4.7-flash 的上下文視窗是多少?
glm-4.7-flash 支援 203K tokens 的上下文視窗,由您的提示詞與模型回應共用。
§ 04