模型 API

GLM-5.3 Flash API

GLM-5.3 Flash API on Aiduct. Input tokens: $0.15 / 1M input tokens. 1,000,000 token context. View model parameters, pricing and integration examples.

模型 ID

glm-5.3-flash

服务商

cloudflare

功能

chat, tools, thinking, structured-output

状态

可用

价格与限制

输入 token

$0.15 / 1M input tokens

输出 token

$0.50 / 1M output tokens

缓存读取

$0.03 / 1M cached input tokens

所列费率以美元计,按标明的单位计费。模型选项和额外用量可能影响最终费用,集成前请查看实时模型目录。

上下文长度
1,000,000
最大输出
131,072
发布日期
2026-09

使用此模型

import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.AIDUCT_API_KEY,
  baseURL: "https://api.aiduct.ai/v1",
});

const response = await client.chat.completions.create({
  model: "glm-5.3-flash",
  messages: [{ role: "user", content: "Say hello in one sentence." }],
});

支持的参数

messagestemperaturetop_pmax_tokensstreamtoolstool_choiceresponse_formatthinkinguser