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, and tool collaboration, and has achieved leading performance among open-source models of the same size on several current public benchmark leaderboards.
200K 上下文視窗
128K 最大輸出 token
發布日期: 2026-01-19
支援的協定:openaianthropic
可用供應商:Zhipu
能力:函式呼叫推理提示快取網路搜尋
定價
| 類型 | 價格 |
|---|---|
| 輸入 Token | $0.072/M |
| 輸出 Token | $0.43/M |
| 快取讀取 | $0.015/M |
| 網路搜尋 | $0.005/R |
程式碼範例
from openai import OpenAIclient = OpenAI(base_url="https://api.ofox.ai/v1",api_key="YOUR_OFOX_API_KEY",)response = client.chat.completions.create(model="z-ai/glm-4.7-flashx",messages=[{"role": "user", "content": "Hello!"}],)print(response.choices[0].message.content)
相關模型
常見問題
Z.ai: GLM-4.7 FlashX 在 Ofox.ai 上的價格為輸入 $0.072/M/百萬 Token,輸出 $0.43/M/百萬 Token。按量計費,無月費。
Z.ai: GLM-4.7 FlashX 支援 200K Token 的上下文視窗,最大輸出 128K Token,可處理大型文件並維持長對話。
只需將 base URL 設定為 https://api.ofox.ai/v1,並使用你的 Ofox API Key。API 相容 OpenAI 格式——只需更改 base URL 和 API Key 即可。
Z.ai: GLM-4.7 FlashX 支援以下能力:函式呼叫, 推理, 提示快取, 網路搜尋。透過 Ofox.ai 統一 API 存取所有功能。

