# glm-5.3

GLM 5.3 is Z.ai's latest flagship reasoning model. It supports text input and output with a 1M-token context window, and is aimed at coding, agent workflows, and complex multi-step automation. Context length matches GLM 5.2.

GLM 5.3 是 Z.ai 的最新旗舰推理模型，支持文本输入输出和约 100 万 token 上下文，面向编码、智能体和复杂多步骤自动化。上下文长度与 GLM 5.2 相同。

- 供应商: Z.ai
- 计费方式: 按量计费
- 标签: 推理
- 模型 ID: `glm-5.3`
- 网页版: https://llmoxy.com/models/glm-5.3

## 价格

价格以人民币（￥）计；按量计费的价格按每 1M tokens 计。

| API Key 分组 | 输入 | 输出 | 缓存读取 | 缓存写入 | 较官方 API 价 |
| --- | --- | --- | --- | --- | --- |
| GLM | ￥0.56 | ￥1.76 | ￥0.104 | ￥0 | 低 94% |

官方 API 价（美元）：输入 $1.40 / 1M tokens，输出 $4.40 / 1M tokens，缓存读取 $0.26 / 1M tokens，缓存写入 $0 / 1M tokens。「较官方 API 价」按 1 美元 = 7 元换算后比较。

## 快速调用

运行前先把环境变量 LLMOXY_KEY 设成你的 API 密钥。

### cURL

```bash
curl https://llmoxy.com/v1/chat/completions \
  -H "Authorization: Bearer $LLMOXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "glm-5.3",
    "messages": [{"role": "user", "content": "你好"}]
  }'
```

### Python

```python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://llmoxy.com/v1",
    api_key=os.environ["LLMOXY_KEY"],
)

resp = client.chat.completions.create(
    model="glm-5.3",
    messages=[{"role": "user", "content": "你好"}],
)
print(resp.choices[0].message.content)
```

### Node.js

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://llmoxy.com/v1",
  apiKey: process.env.LLMOXY_KEY,
});

const resp = await client.chat.completions.create({
  model: "glm-5.3",
  messages: [{ role: "user", content: "你好" }],
});
console.log(resp.choices[0].message.content);
```

## 接口

- Chat Completions: `POST https://llmoxy.com/v1/chat/completions`

## 常见问题

### glm-5.3 在 LLMoxy 上怎么收费？

按量计费，令牌分组「GLM」的价格：输入 ￥0.56 / 1M tokens，输出 ￥1.76 / 1M tokens。比官方 API 价格低 94%。

### 怎么调用 glm-5.3？

在 LLMoxy 控制台创建 API 密钥，请求时把 model 设为 glm-5.3，发到以下接口：Chat Completions POST https://llmoxy.com/v1/chat/completions。也可以直接用 OpenAI SDK，把 base URL 设为 https://llmoxy.com/v1。

### glm-5.3 可以用哪些令牌分组？

令牌分组决定调用价格：在控制台创建 API 密钥时选择分组，用这个密钥的调用都按该分组的价格计费。glm-5.3 可用的分组：GLM。

### 需要海外信用卡吗？

不需要。先在控制台充值余额，调用时按实际用量从余额扣费。支持的付款方式：支付宝、微信支付、Visa/MasterCard、Apple Pay，以及 USDT、BTC、SOL、TRX 等加密货币。多币种支持。

## Z.ai 的其他模型

- [glm-5.2](https://llmoxy.com/models/glm-5.2.md): 输入 ￥0.56 / 1M

## 相关链接

- [全部模型价格](https://llmoxy.com/pricing.md)
- [文档](https://llmoxy.com/docs/api-reference/api-overview.md)
- [llms.txt](https://llmoxy.com/llms.txt)

本文是 https://llmoxy.com/models/glm-5.3 的 markdown 版本。
