Qwen3.7 Flash API

Fast Qwen3.7 vision-language model for text, image, video, tool use, and agentic tasks, with implicit caching and a 1M token context.

Alibaba Cloud文本生成1M 上下文发布日期 2026年7月15日Singapore专有端点

关于 Qwen3.7 Flash

Fast Qwen3.7 vision-language model for text, image, video, tool use, and agentic tasks, with implicit caching and a 1M token context.

Supports text, image, and video inputs, thinking mode with enable_thinking and thinking_budget up to 131072 tokens, function calling, structured output, web search, web extractor, code interpreter, image search tools, prefix continuation, and implicit context caching. Web Search and image-search tools are billed per invoked call. Thinking tokens are billed as output tokens.

也称为 Alibaba Cloud Qwen3.7 Flash, Qwen3.7-Flash, qwen3-7-flash

reasoningvisionvideoweb searchcode interpreterfunction callingprefix continuationcacheagentic coding

Qwen3.7 Flash 规格

模型 ID
qwen3-7-flash
提供方
Alibaba Cloud
类别
文本生成
发布日期
2026年7月15日
上下文窗口
1M 个 token
最大输出
65,536 个 token
输入
文本图像视频
输出
文本
结构化输出
JSON 模式
区域
Singapore
端点
POST/v1/chat/completionsPOST/v1/responsesPOST/v1/messagesPOST/v1beta/models/qwen3-7-flash:generateContent
备用模型 ID
qwen3.7-flash

Qwen3.7 Flash API 价格

来自 EmpirioLabs 目录的实时按量计费价格。只为实际用量付费,没有月度最低消费。

类型
规格
价格
输入
per 1M prompt tokens
<=32K $0.0332K-256K $0.10256K-1M $0.20
输出
per 1M generated tokens
<=32K $0.1332K-256K $0.40256K-1M $0.80
Implicit cache read
per 1M cached input tokens
<=32K $0.00632K-256K $0.02256K-1M $0.04
Web search
per request when enabled
$0.03
Image Search
per call
$0.03
在完整价格页比较

如何调用 Qwen3.7 Flash API

Qwen3.7 Flash 提供 OpenAI 兼容的 Chat Completions API。用你的 EmpirioLabs API 密钥把任意 OpenAI SDK 指向 https://api.empiriolabs.ai/v1,并使用模型 ID qwen3-7-flash。 在EmpirioLabs 控制台获取 API 密钥。

cURL
curl https://api.empiriolabs.ai/v1/chat/completions \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "qwen3-7-flash",
    "messages": [
      {"role": "user", "content": "Write a haiku about the ocean."}
    ]
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(
    base_url="https://api.empiriolabs.ai/v1",
    api_key="YOUR_EMPIRIOLABS_API_KEY",
)

response = client.chat.completions.create(
    model="qwen3-7-flash",
    messages=[{"role": "user", "content": "Write a haiku about the ocean."}],
)
print(response.choices[0].message.content)
Qwen3.7 Flash API 完整参考

Qwen3.7 Flash API 参数

EmpirioLabs 上 Qwen3.7 Flash API 支持的请求参数。省略字段时使用默认值。

参数类型默认值范围 / 值描述
temperaturenumber0.70 到 2Sampling temperature. 0 is deterministic and 2 is maximum randomness.
top_pnumber0.90 到 1Nucleus sampling probability mass. Lower values make outputs more focused.
max_tokensnumber40961 到 65536Maximum output tokens.
stopstring--Up to 4 strings where the model will stop generating further tokens.
enable_thinkingbooleantrue-Enable reasoning before answering.
reasoning_effortenummediumnone, low, medium, high, maxReasoning effort level. none disables thinking. low, medium, high, and max set bounded thinking budgets sized to the selected model.
thinking_budgetnumber327681 到 131072Maximum tokens reserved for reasoning when thinking is enabled.
vl_high_resolution_imagesbooleantrue-Use higher resolution processing for image inputs.
max_pixelsnumber26214404096 到 16777216Maximum pixel count per image when high resolution processing is disabled.
video_fpsnumber20.1 到 10Frames per second to sample from video inputs.
treat_images_as_videobooleanfalse-Treat a sequence of images as video frames.
tool_web_searchbooleantrue-Search the web for real-time information. Adds $0.03 to the request cost for each invoked call.
tool_web_extractorbooleantrue-Extract and read content from URLs. Requires Web Search and Thinking.
tool_code_interpreterbooleantrue-Run Python code in a sandbox. Requires Thinking.
文档中还有 4 个参数

须知

Token pricing is tiered by prompt size and steps up above 32K and again above 256K input tokens. Cached prompt tokens are billed at the implicit cache rate for the matching tier. Web Search, Text-to-Image Search, and Image-to-Image Search are billed only when invoked.

Text-to-Image Search and Image-to-Image Search use the Image Search pricing row. Thinking tokens are billed as output tokens.

Per-tool billing (usage.tool_usage)

When this model invokes built-in tools inside a single request, the response carries a normalized usage.tool_usage map alongside the token counts. Tool counts are already factored into cost_usd and are surfaced for transparency.

:variant1

China pricing is discounted versus Singapore. Token pricing is tiered by prompt size and steps up above 32K and again above 256K input tokens. Implicit cache input uses the cached-token row. Web Search, Text-to-Image Search, and Image-to-Image Search are billed only when invoked.

Text-to-Image Search and Image-to-Image Search use the Image Search pricing row. China paid tool calls are $0.01 each. Thinking tokens are billed as output tokens.

Qwen3.7 Flash 变体

变体是拥有独立模型 ID 的 Qwen3.7 Flash 替代版本。不同变体的服务区域、价格或支持的参数可能不同;其他方面完全一致。

Qwen3.7 Flash :variant1最高省 18%

模型 ID
qwen3-7-flash:variant1
区域
China
上下文窗口
1M 个 token
结构化输出
JSON 模式
类型
规格
价格
输入
per 1M prompt tokens
$0.03<=32K $0.028$0.1032K-256K $0.083$0.20256K-1M $0.165
输出
per 1M generated tokens
$0.13<=32K $0.11$0.4032K-256K $0.33$0.80256K-1M $0.66
Implicit cache read
per 1M cached input tokens
<=32K $0.006$0.0232K-256K $0.017$0.04256K-1M $0.033
Web search
per request when enabled
$0.01
Image Search
per call
$0.01
在 Playground 中试用 :variant1

Qwen3.7 Flash API:常见问题

Qwen3.7 Flash API 收费多少?

在 EmpirioLabs,Qwen3.7 Flash 按量计费。本页的实时价格表始终与 API 的实际计费一致。

Qwen3.7 Flash 的上下文窗口有多大?

Qwen3.7 Flash 支持 1M token 的上下文窗口,每次响应最多 65,536 个输出 token。

Qwen3.7 Flash API 兼容 OpenAI 吗?

兼容。Qwen3.7 Flash 提供 OpenAI 兼容的 Chat Completions API,现有 OpenAI SDK 只需把 base_url 指向 https://api.empiriolabs.ai/v1 并把模型 ID 设为 qwen3-7-flash 即可使用。

Qwen3.7 Flash 有哪些变体可用?

Qwen3.7 Flash 提供 2 个模型 ID:默认的 qwen3-7-flash 以及 qwen3-7-flash:variant1 (China)。变体的服务区域、价格或支持的参数可能不同;各自的价格表都在本页。

集成之前可以在浏览器里试用 Qwen3.7 Flash 吗?

可以。EmpirioLabs Playground在浏览器中以与 API 相同的参数运行 Qwen3.7 Flash,你可以在写代码之前先测试提示词。

如何获取 Qwen3.7 Flash API 密钥?

创建 EmpirioLabs 账户,然后在控制台的 API Keys生成密钥。计费使用按量付费的额度,只为实际发出的请求付费。

准备好使用更好的终端了吗?

查看我们的定价,或者如果你想将自己的模型部署到我们的堆栈中,请联系我们。