Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/llmservice/models/glm-5-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

GLM-5.2 is a GLM-family text foundation model developed by Z.AI and released on June 16, 2026. It is positioned for long-horizon coding and engineering tasks, with a 1M-token context window, 128K maximum output, and a `reasoning_effort` control for adjusting reasoning depth.

:::tip Limited-time offer: GLM-5.2 API calls at 40% off
Offer starts August 12, 2026.

**Eligibility:** This offer applies only to GLM-5.2 requests made through the B.AI API. Non-API usage is not eligible.

For a limited time, eligible API requests are billed at 60% of the standard reference price: Input `0.84`, Cache Write `0.84`, Cache Read `0.168`, and Output `2.64` Credits/Token.

The pricing table on this page continues to show standard reference prices. Offer end time, eligibility, actual settlement price, and final billing are subject to the platform display and final billing records.
:::

## Key Features

* **1M Context Window**: Supports up to 1M tokens of context for project-scale codebases, long documents, and multi-step engineering workflows.
Expand Down
10 changes: 10 additions & 0 deletions docs/llmservice/pricing-and-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ The platform uses a unified Credits system to measure and settle usage across al

**Model pricing:** Different AI models have different pricing based on their capabilities and compute cost. In general, more capable models consume more Credits. Cache-enabled requests may incur separate cache write and cache read usage. Web search incurs an additional per-use charge. Some models do not support web search and are marked with `-`. See the table below for detailed pricing:

:::tip 🎁 Limited-time offer: GLM-5.2 API calls at 40% off
Offer starts August 12, 2026.

**Eligibility:** This offer applies only to GLM-5.2 requests made through the B.AI API. Non-API usage is not eligible.

For a limited time, eligible API requests are billed at 60% of the standard reference price: Input `0.84`, Cache Write `0.84`, Cache Read `0.168`, and Output `2.64` Credits/Token.

The table below continues to show standard reference prices. Offer end time, eligibility, actual settlement price, and final billing are subject to the platform display and final billing records.
:::

| Model | Input (Credits/Token) | Cache Write (Credits/Token) | Cache Read (Credits/Token) | Output (Credits/Token) | Web Search (Credits/Use) |
| :---------------- | --------------------: | --------------------------: | -------------------------: | ---------------------: | -----------------------: |
| MiniMax M3 | 0.30 | 0.30 | 0.06 | 1.20 | - |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@

GLM-5.2 是由 Z.AI 开发的 GLM 系列文本基础模型,于 2026 年 6 月 16 日发布。该模型面向长周期代码和工程任务,支持 1M tokens 上下文窗口、128K 最大输出,并提供 `reasoning_effort` 参数用于调整推理深度。

:::tip 限时活动:GLM-5.2 API 调用 6 折
活动开始时间:2026 年 8 月 12 日。

**适用范围:** 本活动仅适用于通过 B.AI API 发起的 GLM-5.2 调用;非 API 使用不参与本活动。

限时活动期间,符合条件的 API 调用按标准参考价的 60% 结算:输入 `0.84`、缓存写入 `0.84`、缓存读取 `0.168`、输出 `2.64` Credits/Token。

本页价格表继续展示标准参考价;活动结束时间、适用规则、实际结算价格及最终账单以平台页面展示为准。
:::

## 核心特性

* **1M 上下文窗口**:支持最高 1M tokens 上下文,适合项目级代码库、长文档和多步骤工程工作流。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@

**模型定价:** 不同 AI 模型会根据能力和算力成本采用不同定价。通常能力越强,消耗的 Credits 越多。启用缓存的请求还可能产生单独的缓存写入和缓存读取消耗。网页搜索会按次额外收费。不支持网页搜索的模型会以 `-` 标记。详细定价请见下表:

:::tip 🎁 限时活动:GLM-5.2 API 调用 6 折
活动开始时间:2026 年 8 月 12 日。

**适用范围:** 本活动仅适用于通过 B.AI API 发起的 GLM-5.2 调用;非 API 使用不参与本活动。

限时活动期间,符合条件的 API 调用按标准参考价的 60% 结算:输入 `0.84`、缓存写入 `0.84`、缓存读取 `0.168`、输出 `2.64` Credits/Token。

下表继续展示标准参考价;活动结束时间、适用规则、实际结算价格及最终账单以平台页面展示为准。
:::

| 模型 | 输入(Credits/Token) | 缓存写入(Credits/Token) | 缓存读取(Credits/Token) | 输出(Credits/Token) | 网页搜索(Credits/次) |
| :--- | --------------------: | ------------------------: | ------------------------: | --------------------: | ---------------------: |
| MiniMax M3 | 0.30 | 0.30 | 0.06 | 1.20 | - |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@x402-tron/docs",
"version": "1.3.16",
"version": "1.3.17",
"description": "x402-tron documentation",
"license": "MIT",
"resolutions": {
Expand Down
Loading