From cc66df45a3b4e0f65527d3219750ca1ed5e04199 Mon Sep 17 00:00:00 2001 From: sophia Date: Thu, 29 Oct 2026 00:03:12 +0800 Subject: [PATCH] docs: add Qwen3.7 Flash and tiered cache pricing --- docs/llmservice/models/qwen3.7-flash.md | 67 +++++++++++++++++++ docs/llmservice/pricing-and-usage.md | 3 + .../llmservice/models/qwen3.7-flash.md | 67 +++++++++++++++++++ .../current/llmservice/pricing-and-usage.md | 3 + package.json | 2 +- sidebars.js | 1 + 6 files changed, 142 insertions(+), 1 deletion(-) create mode 100644 docs/llmservice/models/qwen3.7-flash.md create mode 100644 i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/models/qwen3.7-flash.md diff --git a/docs/llmservice/models/qwen3.7-flash.md b/docs/llmservice/models/qwen3.7-flash.md new file mode 100644 index 0000000..53c5368 --- /dev/null +++ b/docs/llmservice/models/qwen3.7-flash.md @@ -0,0 +1,67 @@ +# Qwen3.7-Flash + +## Overview + +[Qwen3.7-Flash](https://www.qwencloud.com/models/qwen3.7-flash) is a cost-efficient native vision-language model from Alibaba's Qwen team, released on July 25, 2026. It combines a one-million-token context window with visual understanding, multimodal coding, and tool-driven task execution. + +**Model ID:** `qwen3.7-flash`. + +## Key Features + +- **Native Multimodal Understanding:** Analyzes text, images, and video, including objects, spatial relationships, and real-world scenes. +- **Long Context:** Handles large document collections, codebases, and extended conversations within a 1,000,000-token context window. +- **Optional Thinking:** Uses reasoning for complex tasks and supports disabling thinking for simpler requests. +- **Visual Coding:** Supports coding tasks that combine written instructions with screenshots or other visual references. +- **Structured Workflows:** Supports function calling, prefix completion, context caching, and structured JSON output. + +## Best Use Cases + +- **Document and Visual Analysis:** Extract information from documents, screenshots, charts, and images. +- **Coding Assistance:** Generate and debug code or turn visual references into interface implementations. +- **Long-Context Q&A:** Answer questions over large reference materials or conversation histories. +- **Tool-Driven Assistants:** Combine model reasoning with external tools for search, analysis, and multi-step tasks. + +## Capabilities and Limitations + +| Capability | Description | +| :--- | :--- | +| **Reasoning** | Hybrid thinking mode, enabled by default and optional per request. | +| **Input and Output** | Text, image, and video input; text output. | +| **Context Window** | 1,000,000 tokens. | +| **Maximum Input** | 991,808 tokens without thinking; 983,616 tokens with thinking. | +| **Maximum Output** | 131,072 tokens in either mode. | +| **Tool Use** | Function calling supports connections to external tools and systems. | +| **Structured Output** | Supports JSON Object and [JSON Schema](https://docs.qwencloud.com/developer-guides/text-generation/structured-output) output modes. | +| **Context Caching** | Supports explicit and automatic implicit caching of shared prompt prefixes. | + +### Known Limitations + +- Video understanding does not include the video's audio track; audio input is unsupported. +- Thinking adds generation time and billable output tokens. + +## Standard Pricing + +All token prices below are in USD per 1 million tokens. Select the tier by the request's total input length. Here, 1K = 1,000 tokens and 1M = 1,000,000 tokens. + +| Billing Item | Input ≤ 32K | 32K < Input ≤ 256K | 256K < Input ≤ 1M | +| :--- | ---: | ---: | ---: | +| Ordinary Input | $0.03 | $0.10 | $0.20 | +| Output | $0.13 | $0.40 | $0.80 | +| Implicit Cache Read | $0.006 | $0.02 | $0.04 | +| Explicit Cache Write | $0.038 | $0.125 | $0.25 | +| Explicit Cache Read | $0.003 | $0.01 | $0.02 | + +**Credits settlement:** B.AI converts charges at `1 USD = 1,000,000 Credits` and deducts Credits from the account balance. + +### Tier and Cache Billing + +- Total input length selects the pricing tier for all input and output tokens in the request. Thinking tokens are billed at the output rate. +- Implicit cache creation tokens are billed at the ordinary input rate, with no additional cache-write fee. Cache hits are billed at the implicit cache-read rate. +- Explicit Cache Write replaces the ordinary input charge for newly cached tokens; it is not an additional charge on top of ordinary input for the same tokens. +- Explicit and implicit caching are alternative modes. Their applicable prices are shown above. +- [Explicit caches](https://www.alibabacloud.com/help/en/model-studio/context-cache) last five minutes, refreshed on a hit; automatic implicit cache hits are not guaranteed. +- The [pricing overview](../pricing-and-usage.md) shows the base-tier implicit-cache prices. Refer to the table above for higher input tiers and explicit-cache prices. + +:::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 account benefits. Specific prices and account benefits are subject to the platform display and final billing records. +::: diff --git a/docs/llmservice/pricing-and-usage.md b/docs/llmservice/pricing-and-usage.md index 6a2c53b..b0aee3e 100644 --- a/docs/llmservice/pricing-and-usage.md +++ b/docs/llmservice/pricing-and-usage.md @@ -41,6 +41,7 @@ The token prices below are shown in USD per 1 million tokens; web search is bill | 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.7-Flash | `$0.03` | `$0.03` | `$0.006` | `$0.13` | - | | Qwen3.6-27B | `$0.19` | `$0.19` | `$0.019` | `$2.99` | - | | Hy4 Preview | `$0.834` | `$0.834` | `$0.042` | `$2.501` | - | | Hy3 | `$0.132` | `$0.132` | `$0.033` | `$0.528` | - | @@ -113,6 +114,8 @@ The token prices below are shown in USD per 1 million tokens; web search is bill **Long-context pricing:** Some models use tiered long-context pricing. The table shows their base-tier rates; see the corresponding model detail pages for thresholds, full prices, and billing rules. +**Qwen3.7-Flash:** The table shows implicit-cache prices for inputs up to 32,000 tokens. See the [model detail page](./models/qwen3.7-flash.md) for all three input-length tiers and explicit-cache prices. + **Kimi K3.1 Pro / Highspeed:** The table shows the default 5-minute cache write rates. See the [model detail page](./models/kimi-k3.1-pro.md) for 1-hour cache write prices and cache renewal rules. **Claude Haiku 5.5:** The table shows 5-minute cache write rates. Prompts over 100,000 tokens use the higher token rates for the entire request, including output and cached tokens. See the [model detail page](./models/claude-haiku-5-5.md) for 1-hour cache write prices and tier rules. diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/models/qwen3.7-flash.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/models/qwen3.7-flash.md new file mode 100644 index 0000000..c9a2ce4 --- /dev/null +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/models/qwen3.7-flash.md @@ -0,0 +1,67 @@ +# Qwen3.7-Flash + +## 概述 + +[Qwen3.7-Flash](https://www.qwencloud.com/models/qwen3.7-flash) 是阿里巴巴 Qwen 团队于 2026 年 7 月 25 日发布的高性价比原生视觉语言模型。它结合了百万 Token 上下文、视觉理解、多模态编程和工具驱动的任务执行能力。 + +**模型 ID:** `qwen3.7-flash`。 + +## 核心特性 + +- **原生多模态理解:** 支持分析文本、图像和视频,识别物体、空间关系和真实世界场景。 +- **长上下文:** 在 1,000,000 Token 上下文窗口内处理大型文档集合、代码库和长对话。 +- **可选思考模式:** 可对复杂任务启用推理,也可在简单请求中关闭思考。 +- **视觉编程:** 支持结合文字说明与截图等视觉参考完成编程任务。 +- **结构化工作流:** 支持函数调用、前缀续写、上下文缓存和结构化 JSON 输出。 + +## 适用场景 + +- **文档与视觉分析:** 从文档、截图、图表和图像中提取信息。 +- **编程辅助:** 生成和调试代码,或根据视觉参考实现界面。 +- **长上下文问答:** 基于大量参考资料或对话历史回答问题。 +- **工具驱动助手:** 将模型推理与外部工具结合,用于搜索、分析和多步骤任务。 + +## 能力与限制 + +| 能力维度 | 说明 | +| :--- | :--- | +| **推理能力** | 支持混合思考模式,默认开启,可按请求选择是否启用。 | +| **输入与输出** | 支持文本、图像和视频输入;输出为文本。 | +| **上下文窗口** | 1,000,000 Token。 | +| **最大输入** | 非思考模式为 991,808 Token;思考模式为 983,616 Token。 | +| **最大输出** | 两种模式均为 131,072 Token。 | +| **工具调用** | 支持通过函数调用连接外部工具和系统。 | +| **结构化输出** | 支持 JSON Object 和 [JSON Schema](https://docs.qwencloud.com/developer-guides/text-generation/structured-output) 输出模式。 | +| **上下文缓存** | 支持共享输入前缀的显式缓存和自动隐式缓存。 | + +### 已知限制 + +- 视频理解不包含视频中的音轨,不支持音频输入。 +- 思考会增加生成时间,并产生按输出价格计费的 Token 用量。 + +## 标准价格 + +以下 Token 价格均以美元计价,单位为每 100 万 Token。按请求的总输入长度选择对应档位,其中 1K = 1,000 Token,1M = 1,000,000 Token。 + +| 计费项目 | 输入 ≤32K | 32K<输入 ≤256K | 256K<输入 ≤1M | +| :--- | ---: | ---: | ---: | +| 普通输入 | $0.03 | $0.10 | $0.20 | +| 输出 | $0.13 | $0.40 | $0.80 | +| 隐式缓存读取 | $0.006 | $0.02 | $0.04 | +| 显式缓存写入 | $0.038 | $0.125 | $0.25 | +| 显式缓存读取 | $0.003 | $0.01 | $0.02 | + +**Credits 结算:** B.AI 按照 `1 USD = 1,000,000 Credits` 换算,并从账户余额中扣除 Credits。 + +### 分档与缓存计费 + +- 按请求的总输入长度选择价格档位,该档位适用于本次请求的全部输入和输出 Token。思考 Token 按输出价格计费。 +- 隐式缓存创建的 Token 按普通输入价格计费,不额外收取缓存写入费用;命中后按隐式缓存读取价格计费。 +- 显式缓存新写入的 Token 按显式缓存写入价格计费,替代这些 Token 的普通输入费用,不重复叠加收取。 +- 显式缓存和隐式缓存是两种互斥模式,适用价格分别见上表。 +- [显式缓存](https://www.alibabacloud.com/help/en/model-studio/context-cache)有效期为 5 分钟,命中后刷新有效期;自动隐式缓存不保证每次命中。 +- [价格总表](../pricing-and-usage.md)展示基础档的隐式缓存价格;更高输入档位及显式缓存价格请查看上表。 + +:::info 价格说明 +文档价格为 B.AI 平台模型标准参考价,仅供基础计费说明使用。B.AI 可能会通过账户权益等方式,为用户提供更低的实际使用成本。具体价格及账户权益请以平台页面展示及最终账单为准。 +::: diff --git a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/pricing-and-usage.md b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/pricing-and-usage.md index f1bcb96..24b5573 100644 --- a/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/pricing-and-usage.md +++ b/i18n/zh-Hans/docusaurus-plugin-content-docs/current/llmservice/pricing-and-usage.md @@ -41,6 +41,7 @@ | 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.7-Flash | `$0.03` | `$0.03` | `$0.006` | `$0.13` | - | | Qwen3.6-27B | `$0.19` | `$0.19` | `$0.019` | `$2.99` | - | | Hy4 Preview | `$0.834` | `$0.834` | `$0.042` | `$2.501` | - | | Hy3 | `$0.132` | `$0.132` | `$0.033` | `$0.528` | - | @@ -113,6 +114,8 @@ **长上下文分档:** 部分模型采用长上下文分档计价,总表展示基础档价格,具体门槛、完整价格及计费规则请查看对应模型详情页。 +**Qwen3.7-Flash:** 总表展示输入不超过 32,000 Token 时的隐式缓存价格;三档输入长度对应的完整价格及显式缓存价格见[模型详情页](./models/qwen3.7-flash.md)。 + **Kimi K3.1 Pro / Highspeed:** 总表展示默认的 5 分钟缓存写入价格;1 小时缓存写入价格及缓存续期规则见[模型详情页](./models/kimi-k3.1-pro.md)。 **Claude Haiku 5.5:** 总表展示 5 分钟缓存写入价格。提示词超过 100,000 Token 时,整次请求的 Token 用量(含输出和缓存用量)均适用高档费率;1 小时缓存写入价格与分档规则见[模型详情页](./models/claude-haiku-5-5.md)。 diff --git a/package.json b/package.json index 78a2840..f2d982a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@x402-tron/docs", - "version": "1.4.25", + "version": "1.4.26", "description": "x402-tron documentation", "license": "MIT", "resolutions": { diff --git a/sidebars.js b/sidebars.js index e4192f6..2f7037b 100644 --- a/sidebars.js +++ b/sidebars.js @@ -288,6 +288,7 @@ const sidebars = { { type: 'doc', id: 'llmservice/models/qwen3.8-27b', label: 'Qwen3.8-27B' }, { type: 'doc', id: 'llmservice/models/qwen3.8-max', label: 'Qwen3.8-Max' }, { type: 'doc', id: 'llmservice/models/qwen3.7-max', label: 'Qwen3.7-Max' }, + { type: 'doc', id: 'llmservice/models/qwen3.7-flash', label: 'Qwen3.7-Flash' }, { type: 'doc', id: 'llmservice/models/qwen3.6-27b', label: 'Qwen3.6-27B' }, ], },