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
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.

  • 單一 API key 可跨 provider 共用
  • Model skill 將文件與 schema 帶入你的 workspace
  • 按次收費,無需承諾
  • 失敗的生成不會收費
FEATURES

亮點

MODELS

Z.ai 的所有模型

QUICKSTART

安裝 Z.ai model skill。

選一個模型並加入其 skill,讓 coding tool 取得文件、schema、價格備註與 setup 步驟。

runapi.ai
# 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." }]
});
https://runapi.ai /v1/chat/completions
REFERENCE

Z.ai 的所有變體

完整價目表 →
Model Variant Billing From
GLM
glm-4.5 1K tokens $0.020 查看 →
glm-4.5-air 1K tokens $0.010 查看 →
glm-4.6 1K tokens $0.020 查看 →
glm-4.7 1K tokens $0.020 查看 →
glm-5 1K tokens $0.020 查看 →
glm-5-turbo 1K tokens $0.020 查看 →
glm-5.1 1K tokens $0.030 查看 →
FAQ

關於 Z.ai 的常見問題

這是 Z.ai 的官方整合嗎?

RunAPI 提供託管 API 介面,價格、能力及錯誤行為都清晰透明。

我需要 Z.ai 帳戶嗎?

不用 — 你的 RunAPI 密鑰已足夠使用託管存取。

透過 proxy 會增加多少延遲?

通常少於 20 ms。RunAPI 會將 proxy 層維持在貼近 model 執行區域的位置。

圖片/影片會快取嗎?

生成結果會按 task ID 儲存並可供取回。輸入內容不會快取。

我可以使用自己的 key 嗎?

目前不支援 — 請使用 RunAPI 管理的存取。

立即開始

立即開始使用 Z.ai models 開發。