GLM-5.3-Flash 是 GLM-5.3 产品线中原生多模态的一员,面向高效编码与长程智能体任务。
- 输入
- 文本 图像 视频 $0.15/M
- 输出
- 文本 $0.5/M
- 缓存读取
- $0.03/M
- 上下文
- 1M
- 对比 GPT-4o
- 便宜约 97%
Benchmark 成绩
供应商公布: Alibaba (Qwen) Anthropic DeepSeek Google Moonshot OpenAI Tencent Z.ai
价格在同类中的位置
价格在 70 个同类模型中的位置
这条线标出该模型的价格在 Synthorai 同类模型中的位置,两端分别是最便宜和最贵的模型。这里是基础价,批量、区域和缓存写入的折扣见价格页。
规格与限制
Token
| 上下文窗口(供应商规格) | 1,000,000 |
|---|---|
| 最大输出(供应商规格) | 163,840 |
提示词缓存
| 缓存方式 | 自动 |
|---|
思考
| 供应商参数 | reasoning_effort |
|---|---|
| 可选值 | low · high · max |
| 默认值 | max 请求未指定时生效 |
| 可关闭 | 不支持 |
| 思考行为 | Same dial as GLM-5.3 with no documented way to switch thinking off; clear_thinking defaults to false. |
| 参数 | reasoning_effort |
| 取值 | minimal · low · medium · high 这是网关侧的参数,实际以上方的供应商映射为准 |
模型
| 模态 | 文本 + 图像 + 视频 → 文本 |
|---|---|
| 参数量 | 总参数 320B · 激活 18B MoE (hybrid sparse + linear attention, mHC) |
- Natively multimodal member of the GLM-5.3 line, taking image and video alongside text
- the hybrid sparse-plus-linear attention architecture is credited with holding accurate long-context behaviour while cutting compute overhead
依据 Z.ai 官方文档 ↗
一条提示词,经网关实测
GLM-5.3-Flash 通过 · 3 sentences
Enabling reasoning means the model now generates thousands of invisible "thinking" tokens before each visible answer, and we're billed for those hidden tokens at full output rates—our most expensive tier. Since output tokens cost 3–5x more than input tokens, that hidden thinking volume compounds across every request, which is why the bill doubled rather than edged up. If the spend concerns you, the fix is straightforward: route only complex queries to reasoning models and keep simple tasks on standard ones, which can reclaim a meaningful share of that cost without losing accuracy where it matters.
输出 742 tok (+626 思考) 延迟 23.2 s
指令遵循(恰好三句,数得出来)、受众适配(对 CFO 说话的口吻),以及下方 token 计数暴露出的隐藏思考计费差额。
GLM-5.3-Flash 通过 · 8/8 cases
```python def longest_run(xs): if not xs: return 0 best = cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` **The bug:** `cur` is supposed to hold the length of the current run, but it's seeded with `0` and reset to `0` on a mismatch instead of `1` — and since the loop starts at index 1, the first element of every run never passes through the `==` branch and so never gets counted at all. That means `cur` actually holds *run length minus 1* for every run, so every run is underreported by one: a single-element input never enters the loop and returns 0 instead of 1, and a run of length n returns n − 1 (e.g., `[3, 3, 3]` returns 2). […]
输出 2462 tok (+2138 思考) 延迟 29.1 s
修复是否真的正确(能运行)、解释的信息密度,以及在一个范围明确的任务上的 token 效率。
GLM-5.3-Flash 通过 · 5/5 fields, guidance "Withheld pending the Q4 close"
```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": 412, "growth_pct": 11, "guidance": "Withheld pending the Q4 close" } ``` Notes on judgment calls: revenue of 412 is on a constant-currency basis as stated; growth of "eleven and change" is approximated as 11 since no precise figure is given.
输出 717 tok (+616 思考) 延迟 9.1 s
是否严守 schema(不臆造字段)、能否顶住幻觉压力(原文明说暂不给出 guidance),以及结构化输出路径的差异。
GLM-5.3-Flash 通过 · 120 words, 0 banned, 1 question
Introducing Cross-Provider Prompt Cache, the newest feature in our API gateway. Today, teams send identical prompts to multiple LLM providers and pay full price each time. Why duplicate that work and cost? With Cross-Provider Prompt Cache, your gateway stores prompt-response pairs and serves repeated requests from cache, regardless of which provider handles the call. The result: lower latency, reduced spend, and consistent outputs across OpenAI, Anthropic, Google, and self-hosted models. Configure cache policies per route, set TTLs, and invalidate entries instantly through the dashboard or API. Built-in analytics show hit rates and savings in real time. Enable the cache with a single flag, no code changes required. Available today on all paid plans. Contact sales for enterprise volume pricing details.
输出 2095 tok (+1937 思考) 延迟 20.2 s
是否守住约束(字数预算、禁用词表、只能有一个问句)、文风特征,以及长度控制。
30 秒用上 GLM-5.3-Flash
兼容 OpenAI:换掉 base_url,SDK 不用改。POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="glm-5.3-flash",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "glm-5.3-flash",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flash",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "glm-5.3-flash",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("glm-5.3-flash")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 GLM-5.3-Flash
- 它在文本之外还接受图像与视频输入并返回文本,其混合架构——稀疏注意力结合线性注意力,并引入流形约束超连接(mHC)——被描述为在削减算力开销的同时保持准确的长上下文行为。
- 效率体现在模型形态上:总参数 320B、激活仅 18B,而 GLM-5.3 为 753B。
- 这正是它成为低价档的原因;同时值得说清楚它没有被牺牲掉什么——它同样以 1M token 上下文窗口提供服务,而非更小的窗口。
- 思考与 GLM-5.3 一致:reasoning_effort 取 low、high 或 max,默认 max,且没有公开的关闭方式,因此输出预算要为每次调用的推理轨迹留出空间。
- 工具调用、JSON 与结构化输出、流式返回和缓存输入均受支持,权重公开发布。
- 在 Synthorai 上它通过 OpenAI 兼容的 chat completions 端点提供。
常见问题
GLM-5.3-Flash API 可以免费试用吗?
可以。新账号有 10 次试用调用,免费额度最高 $1,无需绑卡。按输入 $0.15/M 计算,光这笔额度就够向 GLM-5.3-Flash 发约 833 次请求,每次 ~8K token。
GLM-5.3-Flash 最擅长什么?
原生多模态,支持图像与视频输入、总参数 320B,激活仅 18B、低价档同样提供 1M token 窗口。完整介绍见「关于」部分,内容取自供应商的官方发布说明。
GLM-5.3-Flash 的价格是多少?
在 Synthorai 上,GLM-5.3-Flash 的输入价为 $0.15/百万 token,输出价为 $0.5/百万 token。这就是供应商官网价,平台不加价。缓存命中的输入 token 按 $0.03/M 计费。
GLM-5.3-Flash 的上下文长度是多少?
GLM-5.3-Flash 的上下文长度(上下文窗口)是 1M token。单次回复最多输出 163,840 个 token。
GLM-5.3-Flash 支持提示词缓存(prompt caching)吗?
支持,而且全自动:经 Z.ai 处理的提示词会自动缓存,不用改代码。缓存命中的输入 token 按 $0.03/M 计费(未命中为 $0.15/M)。 提示词缓存指南 →
如何开通 GLM-5.3-Flash?
把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "glm-5.3-flash" 即可。一个 API key 就能调用网关上的全部模型。
相关模型
对比
本页的每个数值都照录自供应商自己的文档(链接见上),并标有核对日期。价格是在整个目录范围内比较的;各家供应商定义不一样的规格项,只说明差异,不画图对比。这里没有任何一项是我们自己测的,也不打分。