Pricing
- Input Tokens: $0 /M tokens
- Output Tokens: $0 /M tokens
Input Modalities
- Text
Context length
- 64K tokens
Providers
Performance for decision-model-preview
Uptime is the percentage of requests that succeeded over the past 72 hours. AIHubMix continuously monitors every provider and automatically retries with the next-best provider when one returns an error or responds too slowly; Latency is total round-trip time (lower is better); Throughput is how fast the model writes (tokens per second, higher is better).
Try this model
import os
import requests
# Structured decision: POST /v1/systemone — every question is evaluated in parallel and in
# isolation against the same state, and comes back typed. No text generation, nothing to parse.
# The answers{} map is keyed by your own question names; each answer holds its value under a
# key named after its type:
# noul -> { type, noul } probability of "yes", 0..1
# choice -> { type, choice, probabilities, confidence } choice is one of your criteria keys
# score -> { type, score, legend, probabilities, confidence } legend maps level index -> description
# usage carries input_tokens / output_tokens.
url = "https://aihubmix.com/v1/systemone"
headers = {
"Authorization": "Bearer " + os.environ["AIHUBMIX_API_KEY"],
"Content-Type": "application/json",
}
payload = {
"model": "decision-model-preview",
"state": "Hi, I have been trying to connect my Stripe account for 3 days and it keeps failing. I am losing sales. Please help ASAP.",
"questions": {
"department": {
"type": "choice",
"instructions": "Which team should handle this",
"criteria": {
"billing": "Payment or subscription issues",
"technical": "Bugs or integration problems",
"sales": "Pricing or account questions"
}
},
"frustration": {
"type": "score",
"instructions": "How frustrated the customer appears",
"criteria": [
"Calm, just stating facts",
"Frustrated but civil",
"Very angry, strong language"
]
},
"is_urgent": {
"type": "noul",
"instructions": "The message conveys urgency or time-sensitivity"
}
}
}
response = requests.post(url, headers=headers, json=payload)
response.raise_for_status()
data = response.json()
for name, answer in data["answers"].items():
kind = answer["type"]
print(name, kind, answer[kind], answer.get("confidence"))
print("usage:", data.get("usage"))Frequently asked questions
What is Decision Model Preview?
What is the context length of Decision Model Preview?
What modalities does Decision Model Preview support?
How do I call Decision Model Preview via API?
Who created Decision Model Preview?
When was Decision Model Preview released?
More models from Qwen
See all Qwen models →Qwen-Image-2.1-Pro is a unified text-to-image generation and image-editing model in the Tongyi Qianwen (Qwen) series. Its visual generation component contains only 7 billion parameters (a 32-layer single-stream DiT), achieving a good balance between generation quality, inference efficiency, and versatility. This release includes four key improvements: - Compact and efficient: adopts a lightweight architecture that combines hybrid-granularity attention and prefix KV cache reuse to deliver high-quality image generation with low computational cost. - Native transparency support, unified generation and editing: can generate regular or transparent (RGBA) images from text, edit transparent layers, and extract subjects from photos—all handled by a single model. - Versatile editing: supports up to 10 reference images, allows specifying local edit regions via circular or freehand annotations or separate masks, and preserves identity features of people and products. - Photorealistic textures and refined aesthetics: improved typography, portrait lighting, and detail rendering for more visually appealing results.
Qwen-Image-2.1-Turbo is currently the best-balanced and most cost-effective open-source image generation model in the Qwen-Image series, offering four core advantages: a lightweight model with strong performance and excellent value; native transparency support with integrated generation and editing; flexible editing—supporting multiple reference images, local control, high-fidelity restoration, and comprehensive editing capabilities; and realistic textures, elegant typography, and refined portrait quality.
- Input: $ 0.1126 /M
- Output: $ 0.38 /M
- Web Search: $0.00055/request
Qwen3.8 Omni Flash is Alibaba Cloud Qwen's next-generation native multimodal model, supporting 1M-length sequences and able to directly accept text, images, audio, and video as input. It is based on the Qwen3.8-Flash-Next architecture. The model is designed for agent capabilities in real productivity scenarios: while offering agentic abilities such as programming, text knowledge work, and GUI operation, it also achieves significant results in audio/video-centered agentic applications—such as video editing, music video creation, film production and narration, audio/video-to-text-and-image summarization, and audio/video dialogue—that require integrated processing of text, images, audio, and video. It supports 2-channel and 4-channel spatial audio parsing, is compatible with DashScope and OpenAI protocols, and it is recommended to install the accompanying Qwen-MM-Plugins to facilitate agent frameworks' access to native multimodal capabilities.
Qwen3.8-27b is an Alibaba-released dense vision-language model with open-source weights. Qwen3.8 was developed based on the architecture of Qwen3.5, achieving significant improvements in encoding capability, handling professional tasks, research tasks, and tasks that require long-term completion. Qwen3.8-27B integrates these advantages into a compact, easy-to-deploy dense model — a native vision-language model capable of understanding image and video information and featuring flexible cognitive control capabilities. This model can more reliably accomplish complex, multi-step tasks.
- Input: $ 1.69 /M
- Output: $ 5.07 /M
- Web Search: $0.00055/request
Qwen3.8-Max-0902 (also known as qwen3.8-max-2026-09-02) is a snapshot version of Alibaba Cloud Tongyi Qianwen's qwen3.8-max. It pushes encoding depth further, enabling it to handle more complex engineering-level projects and long-term autonomous development; collaborative agent capabilities are significantly enhanced, performing more confidently in multi-tool orchestration and end-to-end delivery; visual understanding is comprehensively improved, with more sensitive and accurate chart reasoning, document parsing, and multimodal perception. Continuing the 1-million-context window, reasoning modes, and a complete tool ecosystem, it continues to evolve at a higher level of intelligence.
- Input: $ 0.1126 /M
- Output: $ 0.38 /M
- Web Search: $0.00055/request
Qwen3.8 Flash is Alibaba Cloud Qwen’s flagship native vision-language model for coding, office tasks, long-context reasoning, and agent workflows. It supports a 1M-token context, 128K output, web access, and tool calling. Compared with Qwen3.7-Plus, Qwen3.8-Flash significantly reduces training and inference costs—the training overhead is only about one-ninth of the former—while offering stronger capabilities on coding and office tasks.