Skip to content
Merged
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
934 changes: 667 additions & 267 deletions docs/llmservice/api/API.md

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions docs/llmservice/models/glm-5-3-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import ActivityCard from '@site/src/components/ActivityCard';

# GLM-5.3-Flash

## Overview

GLM-5.3-Flash is an open-weight, natively multimodal model released by Z.AI on August 26, 2026 as the Flash-tier member of the GLM-5 family. It combines 320 billion total parameters with 18 billion activated parameters, a 1M-token context window, and a hybrid sparse-and-linear-attention architecture for coding, agentic, and visual knowledge-work workloads.

<ActivityCard
variant="free"
title="GLM-5.3-Flash"
status="Free Offer"
detail="API Free · Chat on Launch"
>
This offer covers B.AI API and Chat:

* **API:** GLM-5.3-Flash API usage is currently billed at `0 Credits`. No input, cache write, cache read, or output token fees apply.
* **Chat:** Free access begins when GLM-5.3-Flash becomes available in B.AI Chat. The availability time is subject to the actual model listing. Once available, Chat usage is billed at `0 Credits`.

After the offer ends, GLM-5.3-Flash will return to the prices shown on this page.
</ActivityCard>

## Key Features

* **Efficient Hybrid Architecture**: Uses sparse attention, linear attention, Manifold-Constrained Hyper-Connections (mHC), and IndexPool. Z.AI reports 3.0x lower attention compute and 4.4x smaller KV-cache size than GLM-5.3 in its architecture comparison.
* **Native Multimodal Understanding**: Accepts text, images, videos, and files, allowing agents to inspect interfaces, rendered outputs, documents, and other visual evidence during a task.
* **Coding and Agent Evaluation**: Z.AI reports 84.3 on Terminal-Bench 2.1, 63.4 on DeepSWE v1.1, 78.4 on Toolathlon Verified, and 48.8 on AutomationBench v1.0.6.
* **Configurable Always-On Reasoning**: Supports `low`, `high`, and `max` reasoning effort, with `max` as the default. Thinking cannot be disabled.

## Best Use Cases

* **Visual Software Engineering**: Building and refining frontends, games, 3D scenes, and other interfaces by combining code changes with screenshot or rendered-output inspection.
* **Long-Horizon Coding Agents**: Repository-scale implementation, debugging, testing, and multi-step automation that require reasoning, function calls, and large working contexts.
* **Multimodal Professional Workflows**: Extracting and reasoning over documents, charts, dashboards, presentations, spreadsheets, and video before producing structured text or office deliverables through an agent environment.
* **Cost-Sensitive API Workloads**: High-volume text and multimodal tasks that benefit from low per-token pricing, cached-input discounts, and a 1M-token context window.

## Capabilities and Limitations

| Capability | Description |
| :--- | :--- |
| **Reasoning** | Thinking is always enabled. `reasoning_effort` supports `low`, `high`, and `max`; the default is `max`. |
| **Creative Writing** | Supports general and long-form text generation. |
| **Coding** | Z.AI reports Terminal-Bench 2.1: 84.3, DeepSWE v1.1: 63.4, NL2Repo: 56.3, Toolathlon Verified: 78.4, and AutomationBench v1.0.6: 48.8. |
| **Multimodal** | Accepts text, image, video, and file input and produces text output. |
| **Context Window** | 1,000,000 tokens. |
| **Max Output** | 131,072 tokens; the default `max_tokens` value is 65,536. |
| **Tool Use** | Supports function calling, streamed tool calls, context caching, and JSON structured output. ZCode can pair the model with Browser Use and Computer Use for visually grounded agent workflows. |
| **Multilingual** | The official model repository identifies English and Chinese support. |

### Known Limitations

* `thinking.type` only supports `enabled`; applications that require lighter reasoning should use `reasoning_effort: "low"` rather than disabling thinking.

## Credits Usage

| Model | Input (Credits/Token) | Cache Write (Credits/Token) | Cache Read (Credits/Token) | Output (Credits/Token) | Web Search (Credits/Use) |
| :--- | --------------------: | --------------------------: | -------------------------: | ---------------------: | -----------------------: |
| **GLM-5.3-Flash** | `0.075` | `0.075` | `0.015` | `0.25` | `-` |

**Limited-time pricing:** The 50% token-price promotion ends at 24:00 on September 9, 2026 (UTC+8, Singapore time).

:::info Pricing note
Prices shown in the documentation are B.AI standard reference prices for base billing purposes. B.AI may provide lower actual usage costs through limited-time offers, top-up bonuses, and account benefits. Specific prices, bonus Credits, account benefits, and final billing are subject to the platform display and billing records.
:::
70 changes: 70 additions & 0 deletions docs/llmservice/models/qwen3-8-flash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import ActivityCard from '@site/src/components/ActivityCard';

# Qwen3.8-Flash

## Overview

Qwen3.8-Flash is a hosted multimodal model from Alibaba's Qwen team, announced on August 26, 2026. It is the production version based on Qwen3.8-Flash-Next, adding a default 1M-token context window and hosted tools for cost-sensitive coding, agentic, and visual knowledge-work applications.

<ActivityCard
variant="free"
title="Qwen3.8-Flash"
status="Free Offer"
detail="API Free · Chat on Launch"
>
Free access is available in phases across B.AI API and Chat:

* **API:** Qwen3.8-Flash API usage is currently billed at `0 Credits`. No input, cache write, cache read, or output token fees apply.
* **Chat:** Free access begins when Qwen3.8-Flash becomes available in B.AI Chat. The availability date is subject to the actual model listing. Once available, Chat usage is billed at `0 Credits`.

After the offer ends, Qwen3.8-Flash will return to the prices shown on this page.
</ActivityCard>

## Key Features

* **Production Flash-Next Lineage:** Qwen identifies `qwen3.8-flash` as the production version based on Qwen3.8-Flash-Next. The related open-weight architecture uses Gated DeltaNet, Qwen Sparse Attention, Gated Residual, and N-gram Embedding; QwenCloud does not separately publish the production model's parameter count.
* **Native Multimodal Input:** Accepts text, images, and video and produces text output, supporting visual coding, document analysis, charts, and long-video understanding.
* **1M-Token Hosted Context:** Supports up to 991K input tokens without thinking, 983K input tokens with thinking, and 131K output tokens in either mode.
* **Thinking and Agent Controls:** QwenCloud documents thinking as enabled by default for the Qwen3.8 series, exposes the `enable_thinking` control, and lists a maximum reasoning budget of 262K tokens.
* **Agent-Oriented API Features:** Supports prefix completion, function calling, context caching, structured output, Batch API processing, fine-tuning, and built-in tools through QwenCloud's Responses API.
* **Published Flash-Next Evaluation:** The related open-weight foundation reports 62.5 on SWE-bench Pro, 58.7 on DeepSWE 1.1, 73.9 on CoWorkBench, and 73.5 on Toolathlon Verified. Qwen has not published a separate benchmark table for the hosted production endpoint.

## Best Use Cases

* **Cost-Sensitive Coding Agents:** Repository analysis, code generation, debugging, and tool-driven development where low token prices and high account-level rate limits matter.
* **Long-Context Knowledge Work:** Reviewing large document sets, codebases, conversation histories, and research materials within a 1M-token hosted context.
* **Multimodal Analysis:** Understanding screenshots, charts, scanned documents, interfaces, and video together with text instructions.
* **Structured Agent Workflows:** Applications that combine function calling, JSON structured output, code execution, search, extraction, and cached shared prompts.
* **Asynchronous Bulk Processing:** Classification, extraction, evaluation, and dataset processing through the Batch API at half the real-time input and output rates.

## Capabilities and Limitations

| Capability | Description |
| :--- | :--- |
| **Reasoning** | Thinking is enabled by default for the Qwen3.8 series and can be controlled with `enable_thinking`. QwenCloud lists a 262K-token maximum reasoning budget but does not publish a model-specific reasoning-effort mapping on the model page. |
| **Creative Writing** | Supports general, long-form, and structured text generation. |
| **Coding** | The related Qwen3.8-Flash-Next evaluation reports SWE-bench Pro: 62.5, DeepSWE 1.1: 58.7, SWE-bench Multilingual: 81.0, and NL2Repo-Bench: 48.1. These are not hosted-endpoint SLA results. |
| **Multimodal** | Accepts text, image, and video input and produces text output. |
| **Context Window** | 1M tokens. |
| **Maximum Input** | 991K tokens in non-thinking mode and 983K tokens in thinking mode. |
| **Max Output** | 131K tokens in both thinking and non-thinking modes. |
| **Tool Use** | Supports function calling, structured output, prefix completion, caching, and Batch API processing. Responses API tools include `code_interpreter`, `i2i_search`, `t2i_search`, `web_extractor`, and `web_search`. |
| **Multilingual** | The related Flash-Next evaluation includes multilingual reasoning and coding benchmarks. |

### Known Limitations

* `qwen3.8-flash` is the hosted production model, while `Qwen/Qwen3.8-Flash-Next` is the related open-weight architecture release. Parameter counts, self-hosting behavior, and Flash-Next benchmark results should not be treated as hosted-endpoint guarantees.
* QwenCloud does not publish a model-specific knowledge cutoff or complete supported-language list.
* Thinking tokens are billed at the output-token rate and consume context. Applications should enable thinking according to task needs rather than assuming that a larger reasoning budget is always more efficient.

## Pricing

| Model | Input (Credits/Token) | Cache Write (Credits/Token) | Cache Read (Credits/Token) | Output (Credits/Token) | Web Search (Credits/Use) |
| :--- | --------------------: | --------------------------: | -------------------------: | ---------------------: | -----------------------: |
| **Qwen3.8-Flash** | `0.16` | `0.16` | `0.016` | `0.47` | `-` |

Explicit cache creation costs `0.20 Credits/Token`. Both explicit and implicit cache hits cost `0.016 Credits/Token`.

:::info Pricing note
Prices shown in the documentation are B.AI standard reference prices for base billing purposes. B.AI may provide lower actual usage costs through limited-time offers, top-up bonuses, and account benefits. Specific prices, bonus Credits, account benefits, and final billing are subject to the platform display and billing records.
:::
2 changes: 2 additions & 0 deletions docs/llmservice/pricing-and-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@ The table below lists standard reference prices only. For current limited-time o
| Kimi K3 | 3.00 | 3.00 | 0.30 | 15.00 | - |
| Kimi K2.6 | 0.95 | 0.95 | 0.1615 | 4.00 | - |
| Kimi K2.5 | 0.59 | 0.59 | 0.10 | 3.00 | - |
| Qwen3.8-Flash | 0.16 | 0.16 | 0.016 | 0.47 | - |
| Qwen3.8-27B | 0.22 | 0.22 | 0.022 | 1.60 | - |
| Qwen3.8-Max | 2.00 | 2.00 | 0.25 | 6.00 | - |
| Qwen3.7-Max | 1.65 | 1.65 | 0.33 | 4.951 | - |
| Qwen3.6-27B | 0.19 | 0.19 | 0.019 | 2.99 | - |
| Hy3 | 0.132 | 0.132 | 0.033 | 0.528 | - |
| MiMo-V2.5-Pro | 0.435 | 0.435 | 0.0036 | 0.87 | - |
| MiMo-V2.5 | 0.14 | 0.14 | 0.0028 | 0.28 | - |
| GLM-5.3-Flash | 0.075 | 0.075 | 0.015 | 0.25 | - |
| GLM-5.3 | 1.40 | 1.40 | 0.28 | 4.40 | - |
| GLM-5.2 | 1.40 | 1.40 | 0.28 | 4.40 | - |
| GLM-5.1 | 1.40 | 1.40 | 0.28 | 4.40 | - |
Expand Down
28 changes: 28 additions & 0 deletions docs/llmservice/promotions-and-pricing-notices.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,34 @@ MiMo-V2.5 free access is available in phases:
After the offer ends, MiMo-V2.5 will return to standard pricing. See the [model details](./models/mimo-v2.5.md).
</ActivityCard>

<ActivityCard
variant="free"
title="GLM-5.3-Flash"
status="Free Offer"
detail="API Free · Chat on Launch"
>
This offer covers B.AI API and Chat:

* **API:** GLM-5.3-Flash API usage is currently billed at `0 Credits`. No input, cache write, cache read, or output token fees apply.
* **Chat:** Free access begins when GLM-5.3-Flash becomes available in B.AI Chat. The availability time is subject to the actual model listing. Once available, Chat usage is billed at `0 Credits`.

After the offer ends, GLM-5.3-Flash will return to the prices shown in the [model details](./models/glm-5-3-flash.md).
</ActivityCard>

<ActivityCard
variant="free"
title="Qwen3.8-Flash"
status="Free Offer"
detail="API Free · Chat on Launch"
>
Free access is available in phases across B.AI API and Chat:

* **API:** Qwen3.8-Flash API usage is currently billed at `0 Credits`. No input, cache write, cache read, or output token fees apply.
* **Chat:** Free access begins when Qwen3.8-Flash becomes available in B.AI Chat. The availability date is subject to the actual model listing. Once available, Chat usage is billed at `0 Credits`.

After the offer ends, Qwen3.8-Flash will return to the prices shown in the [model details](./models/qwen3-8-flash.md).
</ActivityCard>

<ActivityCard
variant="discount"
title="GLM-5.2"
Expand Down
4 changes: 2 additions & 2 deletions i18n/zh-Hans/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,9 @@
"message": "OpenClaw 集成",
"description": "The label for category OpenClaw in sidebar docsSidebar"
},
"sidebar.docsSidebar.category.API": {
"sidebar.docsSidebar.doc.API Reference": {
"message": "API 参考",
"description": "The label for category API in sidebar docsSidebar"
"description": "The label for the doc item API Reference in sidebar docsSidebar"
},
"sidebar.docsSidebar.category.Explore Further": {
"message": "进一步探索",
Expand Down
Loading
Loading