Ali

Qwen3.8-Flash

ali/qwen3.8-flash
/v1/chat/completions/v1/messages/v1/responses/v1/completions/v1beta/models/*/v1/models/*

Qwen3.8-Flash 是千问最新推出的多模态大模型,兼具强大的理解与生成能力和出色的响应速度。模型原生支持百万级上下文窗口,能够一次性处理超长文档、代码仓库和复杂对话。在编程辅助、智能体协作、图文理解等场景中表现尤为出色——无论是自动修复代码、操作桌面应用,还是分析图表与长视频,都能给出准确、高质量的结果。同时兼容 OpenAI 与 Anthropic 主流接口协议,可无缝接入 Claude Code、Codex 等开发者工具,轻松构建高并发应用与智能工作流。凭借优异的性能与极具竞争力的推理成本,Qwen3.8-Flash 是开发者和企业在 AI 应用中兼顾效果与效率的理想选择。

Input / output modalities
文本 · 图像 · 视频 to 文本
Reference input / output price
Input¥1Output¥3per 1M tokens
Context window
1M
Added to catalog
Aug 27, 2026

Providers and pricing

ProviderInput /MOutput /MCached /MContextMax outputDetails
Ali¥1¥3¥0.11M128K

Ali

Latency
1.81s
Throughput
56 tokens/s
Context
1M

Pricing

Input
¥1/M tokens
Output
¥3/M tokens
Cached
¥0.1/M tokens

Additional pricing

Cached tiers
¥0.1
Cache write tiers 5m
¥1.25
Cache read tiers
¥0.1
Built in tools · Web search
¥0.004
Built in tools · I2i search
¥0.05
Built in tools · T2i search
¥0.02

Specifications

Context
1M
Max output
128K
Supported APIs
/v1/chat/completions/v1/messages/v1/responses/v1/completions/v1beta/models/*/v1/models/*

Qwen3.8-Flash code examples and API guide

Modelmesh normalizes requests and responses across service providers behind one consistent API.

Modelmesh provides an OpenAI-compatible Completion API for more than 300 models and service providers. Call it directly, through the OpenAI SDK, or with supported third-party SDKs.

Modelmesh-specific request headers in these examples are optional. When supplied, your application can appear on the Modelmesh rankings.

Supported endpointsSelect an endpoint to switch the example below.
/v1/chat/completions
from openai import OpenAI API_KEY = "$SSY_API_KEY" client = OpenAI( base_url="https://router.shengsuanyun.com/api/v1", api_key=API_KEY, ) try: completion = client.chat.completions.create( model="ali/qwen3.8-flash", messages=[{"role": "user", "content": "Which number is larger, 9.11 or 9.8?"}], temperature=0.6, top_p=0.7, stream=True, ) response_text = "" for chunk in completion: if chunk.choices and chunk.choices[0].delta.content is not None: content = chunk.choices[0].delta.content print(content, end="", flush=True) response_text += content except Exception as error: print(f"Request failed: {error}")
                
              

Related Models