We are officially releasing Qwen 3.8-Max, the most capable model in the Qwen family to date. This also marks the first time we will open-source the weights of a Qwen-Max-class model. Built upon the architectural foundation of Qwen 3.5, Qwen 3.8-Max scales to 2.4 trillion parameters, delivering comprehensive improvements across coding, work, research, and long-horizon tasks.

💜 Qwen Studio | 🤗 Hugging Face | 🤖 ModelScope | 📑 Blog

Introduction

Qwen3.8

Qwen3.8 features the following enhancements:

  • Core Capabilities: Comprehensive improvements across coding, professional work, research, and long-horizon agentic tasks.
  • Agent Execution: Stronger autonomous planning and better handling of environment feedback, leading to more reliable end-to-end task completion.
  • Downstream Compatibility: Broader support for popular harnesses and development tools, making it easier to integrate into your existing stack.
  • Flexible Thinking Control: Reasoning depth can be tuned with reasoning_effort, and reasoning context from historical messages is retained via preserve_thinking.
Qwen3.8 benchmarks

Qwen3.6

Building upon the fundamental breakthroughs of Qwen3.5, Qwen3.6 prioritizes stability and real-world utility. It offers developers a more intuitive, responsive, and genuinely productive coding experience, shaped by direct community feedback. This update delivers substantial upgrades, particularly in:

  • Agentic Coding: The model now handles front-end workflows and repository-level reasoning with greater fluency and precision.
  • Thinking Preservation: A new feature retains thinking context across conversation history, streamlining iterative development and reducing overhead.

Qwen3.5

Qwen3.5 features the following enhancement:

  • Unified Vision-Language Foundation: Early fusion training on trillions of multimodal tokens achieves cross-generational parity with Qwen3 and outperforms Qwen3-VL models across reasoning, coding, agents, and visual understanding benchmarks.

  • Efficient Hybrid Architecture: Gated Delta Networks combined with sparse Mixture-of-Experts deliver high-throughput inference with minimal latency and cost overhead.

  • Scalable RL Generalization: Reinforcement learning scaled across million-agent environments with progressively complex task distributions for robust real-world adaptability.

  • Global Linguistic Coverage: Expanded support to 201 languages and dialects, enabling inclusive, worldwide deployment with nuanced cultural and regional understanding.

  • Next-Generation Training Infrastructure: Near-100% multimodal training efficiency compared to text-only training and asynchronous RL frameworks supporting massive-scale agent scaffolds and environment orchestration.

Models

The official model weights are released on:

  • 🤗Hugging Face Hub: Most LLM frameworks and applications support downloading model files from Hugging Face Hub automatically by specifying the model ID, e.g., Qwen/Qwen3.8-27B and Qwen/Qwen3.8-2.4T-A95B. You can also download model files manually using huggingface download or git clone. Please follow the instructions on the model page.
  • 🤖ModelScope: For users unable to access Hugging Face Hub, we strongly recommend using ModelScope. For supported frameworks, you can download from ModelScope by setting environment variables, such as SGLANG_USE_MODELSCOPE=true or VLLM_USE_MODELSCOPE=true. You can also download model files manually using modelscope download or git clone. Please follow the instructions on the model page.

Benchmarks

Qwen3.8-Max

BenchmarkQwen 3.8-MaxQwen 3.7-MaxGPT-5.6 Sol (max)Fable 5Opus 4.8
Coding Agent
Terminal Bench 2.186.674.588.884.684.6
SWE-bench Pro67.760.664.680.069.2
DeepSWE 1.156.621.673.070.059.0
NL2Repo-Bench55.947.269.4
FrontierSWE73.540.788.870.0
MLS-Bench-Lite41.031.746.249.942.8
PaperBench93.064.890.588.880.3
AndroidBench75.156.574.084.569.8
QwenSWEBench80.763.473.586.384.0
QwenQoderBench58.436.853.863.162.7
QwenReactBench17241538156417701694
QwenSVGBench17131499175816901648
General Agent
CoWorkBench74.864.671.575.972.3
WorkSpaceBench67.761.465.668.766.8
JobBench53.431.345.457.448.4
SkillsBench70.261.273.570.965.1
Agents’ Last Exam (Pass / Score)27.0 / 52.411.8 / 31.130.6 / 53.6– / –27.0 / 45.1
Automation-Bench (Pass@1)27.314.229.729.127.2
Toolathlon Verified (Pass@1)72.549.774.977.976.2
WideSearch81.975.281.272.9
HLE w/ tools56.253.558.064.557.9
General Capabilities
GPQA Diamond92.692.494.192.692.0
HLE43.641.447.253.345.7
IFBench82.879.172.763.562.2
$OneMillion-Bench (expert score)52.544.453.855.941.8
HealthBench60.254.555.352.4
PLawBench73.258.972.370.269.6
PRBench-Legal57.648.557.657.652.7
PRBench-Finance58.346.855.555.851.9
MRCR v2 256K (8-needle)92.986.793.883.2
LongBench v266.365.367.169.1
Footnotes
  1. Fable5 results may involve fallbacks.
  2. Terminal Bench 2.1: Evaluated with Claude Code (avg@10), using a 5-hour timeout and max_tokens=131,072. For all other models, we report the best published score across harnesses: Claude Opus 4.8 and Claude Fable 5 with Terminus 2 from Artificial Analysis (https://artificialanalysis.ai/evaluations/terminalbench-v2-1); GPT-5.6 Sol with Codex (https://openai.com/index/previewing-gpt-5-6-sol/).
  3. SWE-bench Pro: Evaluated with the Claude Code harness, temp=1.0, top_p=0.95, and a 256K context window. Problematic tasks corrected and all baselines evaluated on the refined benchmark.
  4. DeepSWE 1.1: Evaluated with the Claude Code and mini-SWE-agent harnesses, temp=1.0, top_p=0.95, and a 256K context window. We report the highest score among both harnesses; notably, Qwen3.8-Max performs best on Claude Code.
  5. NL2Repo-Bench: Evaluated with the Claude Code harness. To prevent reward hacking, we disable Bash commands that attempt to access the specific repository, such as pip download, pip install, and git clone.
  6. FrontierSWE: Evaluated with the Claude Code harness. All other available MEAN@5 results are taken from the official FrontierSWE leaderboard (https://www.frontierswe.com) as of August 3, 2026. Dominance scores are recomputed from the raw scores using the official evaluation script. “–” indicates that no official MEAN@5 result was available as of that date.
  7. MLS-Bench-Lite: Evaluated with Claude Code using a 5-hour timeout and max_tokens=131,072. All other model scores are taken from the official leaderboard.
  8. PaperBench: Evaluated in the BasicAgent setting under Code-Dev mode, judged by Claude Opus 4.6, and averaged over 3 runs (max 12 hours per run).
  9. AndroidBench: Evaluated on the 95-task public subset, reporting avg@3 scores.
  10. QwenSWEBench: Inhouse coding benchmark to evaluate models’ software engineering capabilities. Evaluated with the Claude Code harness. Reporting avg@3 with an 8-hour timeout, max_tokens=32,768, temperature=1.0, and a 256K-token context window.
  11. QwenQoderBench: Inhouse coding benchmark to evaluate user experience on Qoder. Evaluated with the Claude Code harness. Reporting avg@5 with a 6-hour timeout, max_tokens=32,768, temperature=1.0, and a 256K-token context window.
  12. QwenReactBench: Inhouse React project building benchmark using Claude Code as the harness, bilingual (EN/CN), 7 categories; auto-render + multimodal judge; BT/Elo rating.
  13. QwenSVGBench: Inhouse SVG code generation benchmark; bilingual (EN/CN), auto-render + multimodal judge; BT/Elo rating.
  14. CoWorkBench: Inhouse cowork benchmark for evaluating long-horizon tasks across computer science, finance, law, medical, and other productivity domains.
  15. SkillsBench: Evaluated on the public SkillsBench v1.1 benchmark across 87 tasks, reporting the average score over three runs per task. Opus 4.8 and Fable 5 are evaluated on Claude Code; GPT-5.6 Sol is evaluated on Codex; the Qwen-series are evaluated on OpenCode. All results are from our own testing.
  16. Automation-Bench: Evaluated on the 600-task public subset.
  17. WideSearch: Evaluated with the Claude Code harness for external models and the Qwen-Agent harness for ours, reporting the average item-F1 over four runs.
  18. $OneMillion-Bench: Evaluated using gemini-3.1-pro-preview.
  19. PLawBench: Evaluated using gemini-3.1-pro-preview.
  20. Empty cells (–): Scores are not yet available or are not applicable.

BenchmarkQwen 3.8-MaxQwen 3.7-PlusGPT-5.6 SolGemini 3.1-ProFable 5Opus 4.8
Multimodal Reasoning
MMMU-Pro82.379.083.080.581.275.6
MathVision95.2 / 97.790.3 / –90.8 / 97.887.4 / 95.792.7 / 98.687.1 / 97.1
BabyVision82.0 / 91.364.7 / 70.465.5 / 88.955.9 / 68.342.5 / 90.528.4 / 81.2
HLE-VL (w/ Tools)52.225.651.243.9
ZeroBench (Pass@5)24.0 / 49.019.0 / 19.022.0 / 35.017.0 / 23.020.0 / 46.017.0 / 34.0
ZeroBench-Sub48.541.046.736.537.131.1
LogicVista91.984.389.782.685.776.7
HiPhO90.084.186.885.478.669.3
PhyX83.580.079.179.471.754.2
SLAKE90.883.285.182.986.675.9
MedXpertQA-MM80.471.081.580.780.071.7
PMC-VQA66.263.462.362.563.259.2
Visual Agent & Coding
OSWorld-Verified86.173.383.276.285.083.4
OSWorld 2.019.4 / 46.72.8 / 21.5– / 62.67.8 / 30.6– / 66.120.6 / 54.8
ScreenSpot Pro84.579.081.368.187.382.3
WebArena-Verified66.855.369.764.371.367.9
AndroidWorld85.381.077.670.788.875.0
MobileWorld77.851.276.958.185.567.5
ClawEval-MM77.2 / 74.857.4 / 60.181.2 / 78.950.5 / 55.281.2 / 77.573.3 / 73.8
Vision2Web69.042.162.170.562.4
QwenBlenderBench69.941.568.623.069.562.4
Parametric CAD Bench91.573.886.273.587.585.1
RecreationBench51.730.247.616.256.148.0
PresentBench79.665.782.955.479.880.9
Document & Office Intelligence
CharXiv (RQ)88.4 / 93.585.8 / 85.985.1 / 89.184.4 / 89.987.9 / 93.578.5 / 89.9
OmniDocBench 1.592.191.486.790.089.586.5
OCR-Bench-V2 (EN/ZH)74.2 / 68.370.7 / 67.169.0 / 57.364.6 / 58.265.3 / 58.153.9 / 55.3
CC-OCR-Bench-V279.672.768.068.972.460.3
MTVQA-Test56.651.252.754.341.648.1
MADQA91.887.187.881.186.086.8
QwenVisualOffice44.632.429.539.632.434.5
Real-World & Spatial Understanding
RealWorldQA88.086.983.783.585.976.6
ERQA77.869.870.068.070.057.2
LingoQA84.883.472.666.877.473.8
SURDS77.877.263.064.079.462.2
Visual Perception & Grounding
SimpleVQA75.070.366.673.173.467.3
WorldVQA53.243.945.154.053.533.9
MMStar85.983.282.584.080.576.7
PerceptionBench63.551.159.756.257.247.2
CountQA82.477.068.672.863.141.3
RefAdv-S80.273.069.271.968.661.7
Dense20087.060.755.369.731.120.8
COCO78.774.261.272.456.450.7
VisFactor60.842.862.839.854.530.1
VLMsAreBiased88.336.659.874.161.243.8
Video Intelligence & Agents
VideoMME (w/ Sub.)90.488.089.586.785.4
VideoMME v2 (w/ Sub.)68.359.771.166.952.249.0
VideoMMMU88.785.485.085.381.275.3
MMVU82.476.681.277.972.067.4
MLVU (M-Avg)90.887.487.684.753.4
TVBench81.978.283.273.061.5
LVBench81.876.278.875.167.3
LVBench (w/ Mem.)85.674.5 / –84.290.184.3
EgoLife (w/ Mem.)80.368.870.882.378.3
VideoDR (w/ Search)73.241.071.377.165.6
Footnotes
  1. MathVision, BabyVision, CharXiv (RQ), and ZeroBench: Scores are reported as “without CI / with CI.” A small number of incorrect ground-truth annotations in MathVision and CharXiv (RQ) were corrected following manual verification.
  2. MathVision: Our model is evaluated using a fixed prompt, e.g., “Please reason step by step, and put your final answer within \boxed{}.” For other models, we report the higher score obtained from runs with and without the \boxed{} formatting requirement.
  3. MMMU-Pro: Results for Gemini3.1-Pro and GPT5.6-Sol are taken from official model reports or system cards. All other models are evaluated in-house.
  4. ClawEval-MM: Scores are reported as “Pass@3 / average score.” Pass@3 measures the percentage passed in at least one of the three trials, and average score is the mean score across the three trials.
  5. Vision2Web: Scores are averaged across the frontend, webpage, and website categories, using the Claude Code harness and gpt-5.4-2026-03-05 as the judge.
  6. HLE-VL (w/ Tools): Scores are evaluated with tool use, including both Code Interpreter (CI) and Search. Scores for the tool-enabled versions of Gemini3.1-Pro and GPT5.6-Sol are measured end-to-end through their official native tool-calling APIs.
  7. OSWorld 2.0: Scores are reported as “binary / partial.” The binary score is the percentage of tasks receiving the full task reward, while the partial score aggregates the partial rewards obtained across all tasks.
  8. ScreenSpot Pro: Scores for Opus4.8 and Fable5 are taken from official system cards. The Fable5 results refer to the corresponding Mythos Preview scores. All other models are evaluated in-house.
  9. WebArena-Verified: Scores are reported using the official WebArena grader within the OSWorld scaffold.
  10. RecreationBench: An internal long-horizon application-recreation benchmark for evaluating hybrid-agent capabilities across five platforms: Ubuntu, macOS, Windows, Android, and the web.
  11. PerceptionBench: Scores for comparison models are taken from the benchmark’s official release report, while our model is evaluated in-house.
  12. VideoMME (w/ Sub.) and VideoMME v2 (w/ Sub.): Scores are evaluated with subtitles enabled.
  13. QwenBlenderBench and QwenVisualOffice: Both are internal benchmarks.
  14. LVBench and EgoLife (w/ Mem.): Scores are evaluated using a memory system built with Qwen-MM-Plugins, enabling fine-grained, long-horizon video memory.
  15. VideoDR (w/ Search): Scores are evaluated with access to a search tool.
  16. Empty cells (–): Scores are not yet available or are not applicable.

Qwen3.8-27B

BenchmarkQwen3.8-27BQwen3.6-27BQwen3.7-PlusOpus 4.6Muse Glimmer-30B
Coding
Agentic terminal coding
Terminal Bench 2.1 (Terminus)
73.063.464.078.251.7
Agentic coding
SWE-bench Pro
61.753.557.653.451.2
Repo-level code generation
NL2Repo-Bench
42.336.241.147.6
Agentic coding
DeepSWE 1.1
42.213.314.2
Software engineering
QwenSWEBench
79.049.359.263.8
Agent
Long-horizon office work
CoWorkBench
70.761.065.168.2
Professional job tasks
JobBench
33.421.827.6
Frontier agentic tasks
Agents’ Last Exam
Pass@1: 20.4
Score: 42.9
Pass@1: 10.6
Score: 27.3
Pass@1: 13.2
Score: 33.6
General
Instruction following
IFBench
79.569.179.162.577.0
Scientific reasoning
GPQA Diamond
89.287.890.391.383.5
Multidisciplinary reasoning
HLE
30.824.034.740.022.0
Competitive coding
LiveCodeBench v6
90.383.989.688.8
Footnotes
  1. SWE-bench Pro: Except for Opus4.6 Max, which uses the officially reported score, all models are evaluated with the Claude Code harness at temp=1.0, top_p=0.95, and a 256K context window. Problematic tasks were corrected, and all baseline models were re-evaluated on the refined benchmark.
  2. NL2Repo-Bench: Evaluated with the Claude Code harness. To prevent reward hacking, we disable Bash commands that attempt to access the specific repository, such as pip download, pip install, and git clone.
  3. DeepSWE 1.1: Evaluated with the Claude Code harness at temp=1.0, top_p=0.95, and a 256K context window.
  4. QwenSWEBench: In-house coding benchmark for evaluating models’ software engineering capabilities. Evaluated with the Claude Code harness. Reporting avg@3 with an 8-hour timeout, max_tokens=32,768, temperature=1.0, and a 256K context window.
  5. CoWorkBench: In-house cowork benchmark for evaluating long-horizon tasks across computer science, finance, law, medical, and other productivity domains.
  6. HLE: Judged by GPT-4o.
  7. The best result in each row is shown in bold.
  8. Empty cells (–) indicate that results are not yet available or not applicable.

BenchmarkQwen3.8-27BQwen3.6-27BQwen3.7-PlusOpus 4.6Muse Glimmer-30B
Agentic Multimodal Intelligence
Computer use
OSWorld-Verified
84.363.973.372.765.9
Browser use
WebArena-Verified
64.848.855.3
Mobile use
AndroidWorld
81.970.381.062.0
Application recreation
RecreationBench
47.129.830.2
Multimodal tool use
ClawEval-MM
Pass@3: 57.4
Average: 56.9
Pass@3: 42.6
Average: 50.4
Pass@3: 57.4
Average: 60.1
Pass@3: 52.5
Average: 54.7
Multimodal software engineering
SWE-MM
38.625.730.027.1
Visual web development
Vision2Web
62.945.042.1
General Multimodal Intelligence
Visual math problem solving
MathVision
Without CI: 90.0
With CI: 94.6
Without CI: 85.1Without CI: 90.3Without CI: 65.5
General visual reasoning
BabyVision
Without CI: 65.7
With CI: 85.6
Without CI: 28.9Without CI: 64.7
With CI: 70.4
Without CI: 12.6
Scientific chart analysis
CharXiv (RQ)
Without CI: 83.7
With CI: 90.2
Without CI: 78.4Without CI: 85.8
With CI: 85.9
Without CI: 66.078.8
Document intelligence
OmniDocBench 1.5
91.189.491.486.675.8
Real-world perception
RealWorldQA
85.984.186.973.9
Embodied intelligence
ERQA
65.562.569.840.8
Footnotes
  1. MathVision, BabyVision, and CharXiv (RQ): Where both settings are available, cells report “Without CI” and “With CI” separately; otherwise, only the available setting is shown. A small number of incorrect ground-truth annotations in MathVision and CharXiv (RQ) were corrected following manual verification, and all reported scores on those benchmarks were computed using the corrected annotations.
  2. MathVision: Qwen3.8-27B is evaluated using the fixed prompt: “Please reason step by step, and put your final answer within \boxed{}.” For the remaining models, we report the higher score from two prompt variants—one with and one without the \boxed{} formatting requirement.
  3. WebArena-Verified: Scores are computed with the official WebArena-Verified grader under the OSWorld scaffold.
  4. RecreationBench: An in-house, long-horizon application-recreation benchmark designed to evaluate hybrid-agent capabilities across five platforms: desktop (Ubuntu, macOS, and Windows), mobile (Android), and the web.
  5. ClawEval-MM: Scores are reported as “Pass@3 / average score.” Pass@3 is the percentage of tasks passed in at least one of three trials; the average score is the mean benchmark score across the three trials.
  6. Vision2Web: Scores are averaged across the frontend, webpage, and website categories. Evaluations use the Claude Code harness and are judged by gpt-5.4-2026-03-05.
  7. SWE-MM: Scores are evaluated on the Claude Code harness using the public dev split of SWE-bench Multimodal, with the modifications described in Appendix 8.3 of the Claude Opus 4.7 system card.
  8. Empty cells (–) indicate that results are not yet available or not applicable.

Quickstart

For streamlined integration, we recommend using Qwen3.8 via APIs.

Serving Qwen3.8

❗ Important

Inference efficiency and throughput vary significantly across frameworks. We recommend using the latest framework versions to ensure optimal performance and compatibility. For production workloads or high-throughput scenarios, dedicated serving engines such as SGLang, vLLM, or TokenSpeed are recommended.

Qwen3.8 can be deployed with popular inference frameworks, e.g.:

API Usage

❗ Important

Qwen3.8-2.4T-A95B is a text-only model that requires thinking mode for all interactions. Multimodal inputs are not supported, and thinking cannot be disabled. Every response will automatically begin with reasoning enclosed in <think>\n...</think>\n\n before the final output.

💡 Tip

We recommend using the following set of sampling parameters for generation:

  • temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0

Please note that the support for sampling parameters varies according to inference frameworks.

Qwen3.8 comes with official support for reasoning_effort, which can be used to adjust reasoning depth and control cost:

  • xhigh (default): for complex tasks demanding thorough analysis
  • medium: balancing accuracy and speed
  • low: efficient reasoning optimizing for speed and cost

In addition, preserve_thinking is enabled by default for all workloads for the best out-of-the-box experience.

Chat Completions API

The Chat Completions API can be used with most inference frameworks, as well as Qwen Cloud. Before starting, make sure the OpenAI Python SDK is installed and the API key and the API base URL are configured, e.g.:

pip install -U openai

# Set the following accordingly
export OPENAI_BASE_URL='your-base-url'
export OPENAI_API_KEY='your-api-key'
Text-Only Input
from openai import OpenAI
# Configured by environment variables
client = OpenAI()

messages = [{"role": "user", "content": "Write a Python function to merge two sorted linked lists."}]

completion = client.chat.completions.create(
    model="Qwen/Qwen3.8-2.4T-A95B",
    messages=messages,
    extra_body={
        "chat_template_kwargs": {
            "enable_thinking": True,  # on by default; should not be turned off
            "preserve_thinking": True, # on by default
        },
    },
    reasoning_effort="xhigh",  # xhigh by default; supported levels are xhigh, medium, and low
    stream=True,
    stream_options={"include_usage": True},
)

reasoning_content = ""
answer_content = ""
is_answering = False
print("\n" + "=" * 20 + "Reasoning" + "=" * 20 + "\n")

for chunk in completion:
    if not chunk.choices:
        print("\nUsage:")
        print(chunk.usage)
        continue

    delta = chunk.choices[0].delta

    if hasattr(delta, "reasoning_content") and delta.reasoning_content is not None:
        if not is_answering:
            print(delta.reasoning_content, end="", flush=True)
        reasoning_content += delta.reasoning_content

    if hasattr(delta, "content") and delta.content:
        if not is_answering:
            print("\n" + "=" * 20 + "Answer" + "=" * 20 + "\n")
            is_answering = True
        print(delta.content, end="", flush=True)
        answer_content += delta.content

ℹ️ Note

If you are using APIs from Qwen Cloud, in addition to changing model, please pass extra_body={"enable_thinking": True, "preserve_thinking": True} instead of extra_body={"chat_template_kwargs": {"enable_thinking": True, "preserve_thinking": True}}.

Best Practices

To achieve optimal performance, we recommend the following settings:

  1. Sampling Parameters:

    • We suggest using the following set of sampling parameters:
      • temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0
    • For supported frameworks, you can adjust the presence_penalty parameter between 0 and 2 to reduce endless repetition. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
  2. Adequate Output Length: To optimize performance on agentic tasks, we recommend allocating sufficient output length to allow the model to generate detailed and comprehensive responses. For frameworks that support separate token limits for internal reasoning and final outputs, we suggest the following configuration within the 1M context length:

    • Reasoning Content: Set the maximum output length to 262,144 tokens.
    • Final Response: Set the maximum output length to 131,072 tokens.

    These settings provide the necessary capacity for complex reasoning while ensuring ample space for high-quality final deliverables.

Citation

If you find our work helpful, feel free to give us a cite.

@misc{qwen38,
    title = {{Qwen3.8-Max}: A New Bar for Coding and Cowork},
    url = {https://qwen.ai/blog?id=qwen3.8},
    author = {{Qwen Team}},
    month = {August},
    year = {2026}
}