PROVIDER
Z.ai
Z.ai's GLM — MIT-licensed MoE LLMs from 128K to 200K context, top open-weight SWE-bench scores, via one RunAPI key.
1 models
·
7 variants
·
起價 $0.010
Z.ai 的所有模型
1 models
OVERVIEW
Z.ai builds the GLM family of MIT-licensed Mixture-of-Experts language models for coding and agentic workflows. The line spans GLM-4.5 (355B / 32B active, 128K context) through GLM-5.1 (754B / 40B active, 200K context), which holds the top open-weight SWE-bench Pro score at 58.4%. All are available through RunAPI from the OpenAI and Anthropic SDKs with per-token billing.
- 跨 provider 共用單一 API 金鑰
- Model skill 將文件與 schema 帶入你的 workspace
- 按次計費,無需承諾
- 失敗的生成不收費
FEATURES
特色亮點
MODELS
Z.ai 的所有模型
QUICKSTART
安裝 Z.ai model skill。
選一個模型並加入其 skill,讓 coding tool 取得文件、schema、價格備註與 setup 步驟。
# Base URL
https://runapi.ai
# Endpoints
POST /v1/chat/completions
curl https://runapi.ai/v1/chat/completions \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.1",
"messages": [
{
"role": "user",
"content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."
}
]
}'
from openai import OpenAI
client = OpenAI(
base_url="https://runapi.ai/v1",
api_key="your-runapi-key"
)
response = client.chat.completions.create(
model="glm-5.1",
messages=[{"role": "user", "content": "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause."}]
)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://runapi.ai/v1",
apiKey: "your-runapi-key"
});
const response = await client.chat.completions.create({
model: "glm-5.1",
messages: [{ role: "user", content: "Read this multi-file repository, find the failing integration test, and propose a patch with an explanation of the root cause." }]
});
REFERENCE
Z.ai 的所有變體
FAQ
關於 Z.ai 的常見問題
這是 Z.ai 的官方整合嗎?
RunAPI 提供受管理的 API 介面,具備透明的定價、能力與錯誤行為。
我需要 Z.ai 帳戶嗎?
不需要 — 你的 RunAPI 金鑰就足以使用受管理的存取。
透過代理轉送的延遲額外開銷是多少?
通常低於 20 ms。RunAPI 會讓代理層盡量靠近模型執行區域。
圖片/影片會被快取嗎?
生成結果會依任務 ID 儲存並可取回。輸入內容不會快取。
我可以使用自己的金鑰嗎?
目前還不行 — 呼叫會使用 RunAPI 受管理的存取。
立即開始