Qwen3.8-Omni-Flash
Overview
Qwen’s next-generation native omni-modal model supports context lengths of up to 1M tokens and natively accepts text, image, audio, and video inputs. Built on the Qwen3.8-Flash-Next architecture, it is designed for agentic capabilities in real-world productivity scenarios. In addition to coding, knowledge work, GUI interaction, and other agentic tasks, it delivers significant performance gains in workflows that require integrated processing of text, images, audio, and video, including video editing, music video creation, film and video production and narration, multimedia summarization, and audio-video dialogue. It supports two-channel and four-channel spatial audio understanding and is compatible with both the DashScope and OpenAI protocols. We recommend installing the companion Qwen-MM-Plugins to help agent frameworks access its native multimodal capabilities.
Input
Output
Features
Prefix Completion
Enable Partial Mode when calling the Qwen API to make the model continue strictly from your provided prefix text.View docsFunction Calling
Use function calling to connect large language models with external tools and systems.View docsCache
Context Cache stores shared prefixes for long-context requests to reduce repeated computation, improve latency, and lower cost.View docsStructured Outputs
Structured Outputs help ensure the model returns a JSON string in the expected format.View docsPricing
- Input$0.15Per 1M tokens
- Output$0.47Per 1M tokens
- Input(Implicit Cache)$0.016Per 1M tokens
Rate Limits & Context
- Max Input991K
- Max Output131K
- Max Input (Thinking)983K
- Max Output (Thinking)131K
- Context1M
- Max Reasoning262K
- TPMTokens Per Minute2M
- RPMRequests Per Minute30K
Built-in Tools
API Reference
Call API# Install dependencies: pip install -U openai
# Set DASHSCOPE_API_KEY for the target region before running.
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["DASHSCOPE_API_KEY"],
base_url="https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
)
completion = client.chat.completions.create(
model="qwen3.8-omni-flash",
messages=[{"role": "user", "content": "Who are you?"}],
# Qwen3.8-Omni-Flash supports text output only. Do not set audio.
modalities=["text"],
stream=True,
stream_options={"include_usage": True},
)
for chunk in completion:
if chunk.choices:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)
elif chunk.usage:
print()
print("Usage:", chunk.usage)
print()