SmartBrain API

Enterprise AI as Simple as Utilities

More Links
Model HubConsoleAPI KeysUsage QueryDocs
SmartBrain API. All rights reserved|Privacy Policy|Terms
SmartBrain API
SmartBrain API
  • Model Hub
  • API Docs
  • Playground
G

z-ai/glm-5.1

Online Chat
智谱
通用长文本函数调用翻译代码数学

Publish time

2026/4/8

Model Series

GLM

Input type

Output type

Context Window

200,000

Max Output Length

128,000

Input Price

¥6 / 1M tokens

Output Price

¥24 / 1M tokens

GLM-5.1 是智谱最新旗舰模型,代码能力大大增强,长程任务显著提升,能够在单次任务中持续、自主地工作长达 8 小时,完成从规划、执行到迭代优化的完整闭环,交付工程级成果。 在综合能力与 Coding 能力上,GLM-5.1 整体表现对齐 Claude Opus 4.6,并在长程自主执行、复杂工程优化与真实开发场景中展现出更强的持续工作能力,是构建 Autonomous Agent 与长程 Coding Agent 的理想基座。

Providers for z-ai/glm-5.1

Zhinao API routes requests to the best-fit provider and automatically fails over to the one with highest availability.

h
huaweicloud
国内

TTFT

9.63s

Throughput

17.07tps

Uptime

99.00%

Provider Model

huaweicloud/z-ai/glm-5.1

Supported Parameters

temperaturetop_ptop_k

Recent Uptime

5月14日 11 PM99.33%
5月12日 6 PM: 100.00%5月12日 7 PM: 100.00%5月12日 7 PM: 89.33%5月12日 8 PM: 93.67%5月12日 8 PM: 100.00%5月12日 9 PM: 99.02%5月12日 9 PM: 100.00%5月12日 10 PM: 96.97%5月12日 10 PM: 100.00%5月12日 11 PM: 97.67%5月12日 11 PM: 98.04%5月13日 8 AM: 100.00%5月13日 9 AM: 100.00%5月13日 9 AM: 100.00%5月13日 10 AM: 75.36%5月13日 10 AM: 42.71%5月13日 11 AM: 97.56%5月13日 11 AM: 73.88%5月13日 12 PM: 100.00%5月13日 12 PM: 94.68%5月13日 1 PM: 93.90%5月13日 1 PM: 92.98%5月13日 2 PM: 88.89%5月13日 2 PM: 100.00%5月13日 3 PM: 100.00%5月13日 3 PM: 100.00%5月13日 4 PM: 97.59%5月13日 4 PM: 92.50%5月13日 5 PM: 100.00%5月13日 5 PM: 100.00%5月13日 6 PM: 100.00%5月13日 6 PM: 100.00%5月13日 7 PM: 100.00%5月13日 7 PM: 49.23%5月13日 8 PM: 54.17%5月13日 8 PM: 100.00%5月13日 9 PM: 100.00%5月13日 9 PM: 100.00%5月13日 10 PM: 100.00%5月13日 10 PM: 100.00%5月13日 11 PM: 93.14%5月13日 11 PM: 96.08%5月14日 8 AM: 100.00%5月14日 9 AM: 100.00%5月14日 9 AM: 98.46%5月14日 10 AM: 81.25%5月14日 10 AM: 94.74%5月14日 11 AM: 95.30%5月14日 11 AM: 100.00%5月14日 12 PM: 93.26%5月14日 12 PM: 100.00%5月14日 1 PM: 100.00%5月14日 1 PM: 100.00%5月14日 2 PM: 71.96%5月14日 2 PM: 92.85%5月14日 3 PM: 91.10%5月14日 4 PM: 78.26%5月14日 4 PM: 89.64%5月14日 5 PM: 88.42%5月14日 5 PM: 96.92%5月14日 6 PM: 100.00%5月14日 6 PM: 96.52%5月14日 7 PM: 100.00%5月14日 7 PM: 94.16%5月14日 8 PM: 100.00%5月14日 8 PM: 98.87%5月14日 9 PM: 100.00%5月14日 9 PM: 96.52%5月14日 10 PM: 97.39%5月14日 10 PM: 98.26%5月14日 11 PM: 99.47%5月14日 11 PM: 99.33%

Reasoning

Toggleable

Supported Response Formats

OpenAI Chat Completions

Request Log Collection

ZDR Supported

Distillable

Yes

Total Context

200,000

Max Output

128,000

Input Price

¥6 / 1M tokens

Output Price

¥24 / 1M tokens

智
智谱
国内

TTFT

8.98s

Throughput

25.70tps

Uptime

86.00%

Provider Model

bigmodel/z-ai/glm-5.1

Supported Parameters

temperaturetop_ptop_k

Recent Uptime

5月14日 11 PM93.10%
5月12日 6 PM: 100.00%5月12日 7 PM: 99.22%5月12日 7 PM: 95.90%5月12日 8 PM: 98.03%5月12日 8 PM: 98.93%5月12日 9 PM: 100.00%5月12日 9 PM: 98.43%5月12日 10 PM: 99.81%5月12日 10 PM: 100.00%5月12日 11 PM: 98.68%5月12日 11 PM: 97.97%5月13日 8 AM: 97.98%5月13日 9 AM: 100.00%5月13日 9 AM: 100.00%5月13日 10 AM: 97.27%5月13日 10 AM: 92.28%5月13日 11 AM: 99.55%5月13日 11 AM: 92.56%5月13日 12 PM: 100.00%5月13日 12 PM: 100.00%5月13日 1 PM: 99.73%5月13日 1 PM: 99.64%5月13日 2 PM: 99.71%5月13日 2 PM: 99.01%5月13日 3 PM: 98.56%5月13日 3 PM: 99.91%5月13日 4 PM: 99.72%5月13日 4 PM: 99.22%5月13日 5 PM: 99.58%5月13日 5 PM: 100.00%5月13日 6 PM: 99.73%5月13日 6 PM: 98.00%5月13日 7 PM: 99.75%5月13日 7 PM: 95.15%5月13日 8 PM: 97.21%5月13日 8 PM: 96.99%5月13日 9 PM: 99.90%5月13日 9 PM: 99.68%5月13日 10 PM: 97.41%5月13日 10 PM: 100.00%5月13日 11 PM: 100.00%5月13日 11 PM: 99.46%5月14日 8 AM: 100.00%5月14日 9 AM: 100.00%5月14日 9 AM: 99.24%5月14日 10 AM: 100.00%5月14日 10 AM: 96.26%5月14日 11 AM: 94.21%5月14日 11 AM: 79.07%5月14日 12 PM: 77.82%5月14日 12 PM: 98.41%5月14日 1 PM: 99.54%5月14日 1 PM: 72.53%5月14日 2 PM: 72.46%5月14日 2 PM: 84.89%5月14日 3 PM: 82.08%5月14日 4 PM: 79.29%5月14日 4 PM: 62.24%5月14日 5 PM: 59.22%5月14日 5 PM: 62.84%5月14日 6 PM: 56.28%5月14日 6 PM: 91.67%5月14日 7 PM: 82.80%5月14日 7 PM: 88.41%5月14日 8 PM: 75.23%5月14日 8 PM: 96.03%5月14日 9 PM: 100.00%5月14日 9 PM: 92.09%5月14日 10 PM: 84.93%5月14日 10 PM: 88.00%5月14日 11 PM: 92.11%5月14日 11 PM: 93.10%

Reasoning

Toggleable

Supported Response Formats

OpenAI Chat Completions

Request Log Collection

ZDR Supported

Distillable

Yes

Total Context

200,000

Max Output

128,000

Input Price

¥6 / 1M tokens

Output Price

¥24 / 1M tokens

Performance for z-ai/glm-5.1

Compare different providers across Zhinao API

Throughput

28.87 tok/s

TTFT

7.69 s

Uptime for z-ai/glm-5.1

Uptime for z-ai/glm-5.1 across all providers

Sample code and API for z-ai/glm-5.1

Get API Key

Zhinao API normalizes requests and responses across providers for you

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.360.cn/v1",
  apiKey: process.env.ZHINAO_API_KEY,
});

const response = await client.chat.completions.create({
  model: "z-ai/glm-5.1",
  messages: [
    { role: "user", content: "Hello, how are you?" }
  ],
  temperature: 0.7,
  max_tokens: 1000,
});

console.log(response.choices[0].message.content);