Qwen3.5 397B A17B

Alibaba Qwen chatcodereasoningtool_usevideovision Long

API ID: qwen/qwen3.5-397b-a17b-20260216

Input Price
$0.50
/1M tokens
Output Price
$3.60
/1M tokens
Cached Input
$0.30
Save 40%

About Qwen3.5 397B A17B

The Qwen3.5 series 397B-A17B native vision-language model is built on a hybrid architecture that integrates a linear attention mechanism with a sparse mixture-of-experts model, achieving higher inference efficiency. It delivers state-of-the-art performance comparable to leading-edge models across a wide range of tasks, including language understanding, logical reasoning, code generation, agent-based tasks, image understanding, video understanding, and graphical user interface (GUI) interactions. With its robust code-generation and agent capabilities, the model exhibits strong generalization across diverse agent.

๐Ÿ’ฐ
Price Ranking
#1044 lowest price among 1240 Chat models

Model Specifications

Context Length
262k
Max Output
262k
Release Date
2026-02-16
Capabilities
chat code reasoning tool_use video vision
Input Modalities
textimagevideo
Output Modalities
text

Best For

  • Complex reasoning, math problems, multi-step logic
  • Code generation, debugging, code review, refactoring
  • Image analysis, document understanding, visual Q&A
  • Conversations, content writing, general assistance

Consider Alternatives For

  • Simple Q&A (cheaper models available)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$1.31
/month
50 conversations/day, ~500 tokens each
Code Copilot
$11.04
/month
200 completions/day, ~1k tokens each
Customer Service Bot
$39.90
/month
1000 tickets/day, ~800 tokens each
Data Analysis Pipeline
$54.45
/month
500 analyses/day, ~2k tokens each

Alibaba Qwen Model Lineup

Compare all models from Alibaba Qwen to find the best fit

Model Input Output Context Capabilities
Qwen3.5 397B A17B Current Free Free 262k chat code reasoning tool_use video vision
Qwen2.5-VL 7B Instruct Free Free 33k chat vision tool_use
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen3 Embedding 0.6B Free Free 8k chat code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code
Qwen2.5 VL 3B Instruct Free Free 64k chat vision code

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Relace Relace Search
Input: $1.00
Output: $3.00
Context: 256k
Amazon Nova Pro 1.0
Input: $0.80
Output: $3.20
Context: 300k
Nous Research Hermes 4 405B
Input: $1.00
Output: $3.00
Context: 131k
Xiaomi MiMo-V2.5-Pro
Input: $1.00
Output: $3.00
Context: 1.1M

๐Ÿš€ Quick Start

Get started with Qwen3.5 397B A17B API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="qwen/qwen3.5-397b-a17b-20260216",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)