Roboflow
Qwen

Qwen: Qwen3.8 Max

Qwen3.8 Max Overview

Qwen3.8 Max is the flagship tier of Alibaba's Qwen3.8 family, a sparse mixture-of-experts multimodal model with roughly 2.4 trillion total parameters of which about 95 billion activate per token, which keeps serving cost and latency well below what the total parameter count would imply. It builds on the architectural foundation established by Qwen3.5 and accepts text, images, video, and documents as input while producing text output. Reported context handling reaches close to one million tokens, with a maximum generation length of 131,072 tokens, so the model is aimed at long-horizon agentic work such as repository-scale coding, multi-step research, data analysis, and office document workflows.

For vision work the model performs image and video understanding, document and chart interpretation, text recognition inside images, and grounded visual question answering, and Alibaba reports gains concentrated in multimodal and agentic evaluation categories rather than general reasoning. Published figures include 86.6 on Terminal-Bench 2.1, 67.7 on SWE-bench Pro, 93.0 on PaperBench, 82.8 on IFBench, and 92.6 on GPQA Diamond. It is the first model in the Max tier of the Qwen line for which the team states weights will be released publicly, alongside a smaller Qwen3.8 27B checkpoint. No training or safety model card has been published.

Qwen3.8 Max Interactive Demo

Model settings

Thinking level

Max output tokens

Default 65,536 · max 65,536

Sign in to adjust thinking and output length per run.

Results appear here. Add an image or pick an example to run Qwen3.8 Max.

Qwen3.8 Max Details & Performance

Details

Resources

Vision Tasks

CaptioningChart Question AnsweringClassificationDocument Question AnsweringImage TaggingMulti-Label ClassificationOCRObject DetectionVision LanguageVisual Question Answering

Features

Foundation VisionLLMs with Vision CapabilitiesMultimodal Vision

Usage

Past 30 Days

Performance

Avg. Latency

Qwen3.8 Max Vision Evals

Vision Evals is Roboflow's ground-truth benchmark: every model runs the same real-world samples across six vision tasks, and answers are scored against ground truth.

Evals updated September 5, 2026Pricing updated September 19, 2026

Overall score#5 of 53
83.9%
Avg cost / sample#41 of 53
$0.0074
Avg speed / sample#40 of 53
17.25s
Avg tokens / sample
2.1K

Strengths and weaknesses

Qwen3.8 Max averages 83.9% across the six Vision Evals tasks, ranking #5 of 53 models overall.

It leads the field in Counting.

It also places in the top three for Object Detection.

Its weakest relative showing is Identification, ranking #18 of 53 at 88.5%.

At $0.0074 per sample it is the 41st cheapest of the 53 benchmarked models, and its average inference time of 17.3s per sample makes it the 40th fastest.

Performance profile

Field medianQwen3.8 Max

Field medians: Object Detection 53.9%, Counting 56.8%, Identification 84.4%, OCR 88.7%, Data Extraction 84.5%, Reasoning 54.1%.

Results by task

TaskScoreField (0 to 100)RankCost / sampleSpeed
Object Detection (low)
76.7%
±0.3, Mean of 3 runs, range 76.5 to 77.1
#2 of 53$0.01229.91s
Object Detection (high)
78.4%
±0.4, Mean of 3 runs, range 78.1 to 78.9
#2 of 17$0.03083.04s
Counting (low)
81.1%
±2.0, Mean of 3 runs, range 78.4 to 82.4
#1 of 53$0.004610.13s
Counting (high)
81.1%
±0.0, Mean of 3 runs, range 81.1 to 81.1
#2 of 17$0.009125.36s
Identification (low)
88.5%
±1.6, Mean of 3 runs, range 87.5 to 90.6
#18 of 53$0.00275.24s
Identification (high)
89.6%
±1.6, Mean of 3 runs, range 87.5 to 90.6
#8 of 17$0.00378.44s
OCR (low)
93.3%
±0.5, Mean of 3 runs, range 92.8 to 93.9
#5 of 53$0.005613.96s
OCR (high)
91.3%
±0.5, Mean of 3 runs, range 90.7 to 91.7
#9 of 17$0.02789.51s
Data Extraction (low)
87.6%
±0.0, Mean of 3 runs, range 87.6 to 87.6
#16 of 53$0.00294.54s
Data Extraction (high)
89.3%
±1.0, Mean of 3 runs, range 88.7 to 90.7
#7 of 17$0.00407.78s
Reasoning (low)
75.9%
±2.0, Mean of 3 runs, range 73.5 to 77.5
#6 of 53$0.004811.30s
Reasoning (high)
80.3%
±2.0, Mean of 3 runs, range 78.2 to 82.1
#6 of 39$0.01131.92s
  • Thinking longer helps: 1.7 points higher on object detection at high effort for 2.4x the cost and 2.8x the latency.
  • Thinking longer changes nothing: the same counting score at high effort for 2x the cost and 2.5x the latency.
  • Thinking longer helps: 1 points higher on identification at high effort for 1.4x the cost and 1.6x the latency.
  • Thinking longer does not help: 2.1 points lower on ocr at high effort for 4.9x the cost and 6.4x the latency.
  • Thinking longer helps: 1.7 points higher on data extraction at high effort for 1.4x the cost and 1.7x the latency.
  • Thinking longer helps: 4.4 points higher on reasoning at high effort for 2.2x the cost and 2.8x the latency.

Price vs. performance

Score vs. cost

Overall benchmark score against estimated cost per sample, on a log scale. Upper-left is the sweet spot: high quality at low cost.

52 models on the current benchmark · scores and efficiency pooled across all six tasks at low effort · Qwen3.8 Max highlighted

Qwen3.8 Max scores are the mean of 3 runs per task at both low and high effort · Methodology

View all Vision Evals →

Alternatives to Qwen3.8 Max

Other models worth comparing for similar use cases.

OpenAI
GPT-6 Astra
GPT-6 Astra is a proprietary multimodal reasoning model from OpenAI that accepts text and image input and produces text output. It is positioned as the company's flagship system for long-horizon end-to-end work spanning complex reasoning, software engineering, computer use, browsing, research and document creation. The model exposes a graduated reasoning effort control with low, medium, high, xhigh and max settings, and it accepts a change to that setting partway through a conversation rather than only at request time. It launches as a single tier with no smaller mini or nano variants, carries a context window of roughly 1.05 million tokens with a maximum output of 128,000 tokens, and reports a knowledge cutoff of April 30, 2026.OpenAI reports evaluation results across agentic, scientific and security benchmarks, including 96.0% on GPQA Diamond, 64.6% on Terminal-Bench Science, 72.6% on OSWorld 2.0, and a perfect score on ExploitBench, along with near saturation on FrontierMath Tier 4 and ARC-AGI-3. The model supports computer use, structured outputs, streaming, programmatic tool calling, multi-agent orchestration, prompt caching and persisted reasoning, and it keeps earlier context windows searchable so it can recover requirements or tool outputs from previous turns. OpenAI describes Astra as the first of its models to cross the Critical cybersecurity capability threshold under its Preparedness Framework.
Anthropic
Claude Fable 5.1
Claude Fable 5.1 is a proprietary multimodal model from Anthropic in the Mythos-class tier of the Claude 5 family, positioned above Claude Opus for demanding reasoning and long-horizon agentic work. It accepts text and images as input and returns text, with a one million token context window and a maximum output of 128 thousand tokens. Adaptive thinking is always on, and an effort parameter controls how much reasoning the model applies to a given request. Anthropic reports a reliable knowledge and training data cutoff of June 2026. Claude Fable 5.1 and Claude Mythos 5.1 share the same underlying model; the difference between them is the set of safety classifiers applied to dual-use cybersecurity and biology requests.On the vision side, Anthropic documents improvements in reading dense charts, financial filings, and tables nested inside PDF documents, which extends the model toward document understanding, chart question answering, and spreadsheet and slide work. Reported evaluations cover agentic scientific research on Terminal-Bench-Science 0.1, agentic coding on Terminal-Bench 4.0, computer use on OSWorld 2.0, and multidisciplinary reasoning on Humanity's Last Exam. Model weights are not published.
MoonshotAI
Kimi K3
Kimi K3 is a sparse Mixture-of-Experts large language model developed by Moonshot AI, with 2.8 trillion total parameters and a 1-million-token context window. The model activates 16 out of 896 experts per token using the Stable LatentMoE framework, and is built on two architectural innovations: Kimi Delta Attention (KDA), a hybrid linear attention mechanism that enables up to 6.3x faster decoding in long-context settings, and Attention Residuals (AttnRes), which selectively retrieves representations across model depth and delivers roughly 25% higher training efficiency. Together with refined training and data recipes, these structural advances yield approximately 2.5x better overall scaling efficiency compared to its predecessor Kimi K2. The model applies quantization-aware training from the supervised fine-tuning stage onward, using MXFP4 weights with MXFP8 activations for hardware compatibility. Thinking mode is always enabled at launch, with reasoning effort configurable via the reasoning_effort field.Kimi K3 supports native visual understanding alongside text, accepting image inputs for tasks that combine software engineering and visual reasoning. It targets long-horizon coding, knowledge work, and agentic workflows, and ships in two variants: K3 Max for general chat and agent tasks, and K3 Swarm Max for large-scale parallel processing across many coordinated sub-agents. The model is compatible with the OpenAI SDK via an OpenAI-compatible API. Full model weights are scheduled for release by July 27, 2026 under a Modified MIT license, following the open-weight pattern established by the Kimi K2 model family. A technical report with full architecture, training, and evaluation details is expected to accompany the weights release.
Meta
Muse Spark 1.3
Muse Spark 1.3 is a proprietary multimodal reasoning model from Meta Superintelligence Labs and the fourth Muse Spark release in five months, arriving on September 2, 2026. It takes text, images, video, and document files as input and returns text, and it operates over a context window of 1,048,576 tokens. Meta trains the model for long-horizon agentic work, so it carries accumulated context and prior tool results forward across many turns, reconciles messy or conflicting inputs, and asks for clarification when a task is underspecified. Visual inputs such as screenshots and video clips feed a reasoning loop that runs against a real execution environment rather than a scripted sequence of steps.The model exposes graded reasoning effort settings. An xhigh configuration is generally available at launch, while a max reasoning configuration aimed at harder reasoning and agentic problems arrives after further safety testing. Artificial Analysis measures Muse Spark 1.3 (max) at 62 on its Intelligence Index and the xhigh configuration at 61, with agentic tool-use evaluations driving most of the gain over Muse Spark 1.2; max reaches 52% on Tau3-Bench Banking by spending more turns and reasoning tokens than xhigh. Prior Muse Spark versions emit bounding box coordinates, transcriptions, and structured field extractions from images on Roboflow Vision Evals.
Google
Gemini 3.1 Pro
Gemini 3.1 Pro is a proprietary multimodal model from Google’s Gemini 3 series, released in early 2026 and designed for advanced reasoning across large multimodal datasets. It accepts text, images, audio, video, and documents, supporting up to a 1-million-token input context with up to 64k output tokens. Compared with Gemini 3 Pro, it improves long-context synthesis and multi-step reasoning, enabling more reliable analysis of large documents, datasets, and software codebases.The model also advances visual understanding and grounding, allowing it to interpret UI screenshots, diagrams, and real-world scenes while referencing specific regions within images or video. These capabilities make Gemini 3.1 Pro well suited for multimodal workflows involving document processing, interface analysis, robotics research, and complex visual reasoning.
Grok
Grok 4.6
Grok 4.6 is a proprietary reasoning model from xAI aimed at long-running agentic workflows, coding, and knowledge work. It accepts text and image input and returns text, with a 500,000 token context window and a knowledge cutoff of February 1, 2026. The model exposes an adjustable reasoning budget with low, medium, high, and xhigh settings, where high is the default, and it supports function calling, structured outputs, web and X search, and code execution as documented tool behaviors. Its visual capability covers interpreting images supplied alongside text prompts, which places it in the visual question answering and document understanding family, and it can also return object detection boxes as text coordinates when prompted.xAI characterizes Grok 4.6 as the result of an extended post-training run over the Grok 4.5 lineage rather than a new pretrained base. The described recipe combines curated model-generated reasoning and technical data, engineering data, a revised optimizer, regenerated supervised fine-tuning trajectories, and reinforcement learning across agent environments spanning knowledge work, coding, kernel optimization, web development, and computer-aided design. Parameter count and architecture specifics are not disclosed. Independent measurement from Artificial Analysis places the model at 61 on its Intelligence Index, five points above Grok 4.5.

Deploy Qwen3.8 Max with an API

Qwen3.8 Max runs as a hosted REST endpoint through Roboflow Workflows. Pick a task, then hand the prompt to your coding agent or copy the code. Deploying the workflow into a free Roboflow workspace replaces the your-workspace and YOUR_API_KEY placeholders with your own.

Connect your agent to Roboflow (once)

Add the Roboflow MCP server

claude mcp add --transport http roboflow https://mcp.roboflow.com/mcp

Run /mcp and authorize Roboflow in your browser when the OAuth flow opens.

Start a new Claude Code session so the MCP loads, then paste the prompt below (it works the same in any agent).

Deploy this workflow to your Roboflow workspace to use it.

Integrate the Roboflow "Qwen3.8 Max" workflow into my app.

- Endpoint: POST https://serverless.roboflow.com/<your-workspace>/workflows/qwen3-8-max-captioning
- Auth: send my Roboflow API key as `api_key` in the request body, read from the ROBOFLOW_API_KEY env var (never hardcode).
- Body: { "api_key": ..., "inputs": { `image`: { type: "url" | "base64", value } } }.
- Billing: this workflow needs no provider API key — inference runs on my Roboflow credits. A BYO provider key can be added to the model step in the Roboflow workflow editor later.

With the Roboflow MCP connected, call `workflows_get` on "qwen3-8-max-captioning" to read the exact input schema (the source of truth), then `workflows_run` on a sample image to confirm the output shape before writing code (the MCP is authenticated, so this needs no key). Without the MCP, use the contract above.

Before running the app, set up these keys so it does not error at runtime:
- `ROBOFLOW_API_KEY` (sent as `api_key`) from https://app.roboflow.com/settings/api
Create a .gitignore'd .env with these variables, using placeholder values for any I haven't given you. Then pause and tell me directly, in your reply: the full path to the .env file, exactly which keys I need to paste in, and the link to get each one. Wait for me to confirm I've added them before you run anything. Do not run the app until I confirm.

Then add the integration to my codebase: match my project's language, framework, and conventions; read every key from environment variables (never hardcode); add basic error handling; and include a small runnable example. If you can't tell what language my project uses, ask me.
Installpip install inference-sdk

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
# 1. Import the library
from inference_sdk import InferenceHTTPClient

# 2. Connect to your workflow
client = InferenceHTTPClient(
  api_url="https://serverless.roboflow.com",
  api_key="YOUR_API_KEY"
)

# 3. Run your workflow on an image
result = client.run_workflow(
  workspace_name="your-workspace",
  workflow_id="qwen3-8-max-captioning",
  images={
    "image": "YOUR_IMAGE.jpg"  # Path to your image file
  },
  use_cache=True  # cache workflow definition for 15 minutes
)

# 4. Get your results
print(result)

Deploy this workflow to your Roboflow workspace to use it.

// Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
const response = await fetch('https://serverless.roboflow.com/your-workspace/workflows/qwen3-8-max-captioning', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    api_key: 'YOUR_API_KEY',
    inputs: {
      "image": {"type": "url", "value": "IMAGE_URL"}
    }
  })
});

const result = await response.json();
console.log(result);

Deploy this workflow to your Roboflow workspace to use it.

# Inference runs on your Roboflow credits — no provider API key needed. To bill your own provider account instead, add an api_key to the model step in the Roboflow workflow editor.
curl --location 'https://serverless.roboflow.com/your-workspace/workflows/qwen3-8-max-captioning' \
--header 'Content-Type: application/json' \
--data '{
  "api_key": "YOUR_API_KEY",
  "inputs": {
    "image": {"type": "url", "value": "IMAGE_URL"}
  }
}'

Qwen3.8 Max License

Apache-2.0 · Permissive license

Qwen3.8 Max is released under Apache-2.0, a permissive license. The Qwen3.8 Max license lets you run, fine-tune, and redistribute the model in commercial products with no obligation to open-source related code changes, so no separate commercial license is required.

Commercial use
Permitted. Because Apache-2.0 is permissive, Qwen3.8 Max can ship inside paid products and internal systems with no commercial license and no revenue threshold.
Modification
Permitted. Fine-tuning, quantizing, and distilling are all allowed, and your code changes can stay closed. Files you change must be marked as changed.
Redistribution
Permitted with attribution. Ship the Apache-2.0 license text and any NOTICE file alongside the weights or derived code.

Apache-2.0 grants an express patent license that terminates if you bring a patent claim over the work, and it disclaims warranties. Validate Qwen3.8 Max on your own data before you depend on it in production.

Read the full Apache 2.0 license ↗

Do I need a commercial license for Qwen3.8 Max?

This is the straightforward case: a permissive license is the best technical solution and you are free to deploy Qwen3.8 Max commercially without open-sourcing your own code.

Do not hesitate to reach out with questions for your commercial project — our team will help you start solving business problems on the first call. See Roboflow commercial licensing for the models included in each plan.

Talk to sales

This model is released under the Apache License 2.0, a permissive open-source license that allows commercial use, modification, distribution, and patent use.

Yes. Under the terms of the Apache 2.0 license, you can freely use this model for commercial purposes, including in proprietary products. You must retain the copyright notice and disclaimers when redistributing.

License information is provided as a guide and is not legal advice.

Frequently Asked Questions About Qwen3.8 Max Vision

Yes. Qwen3.8 Max accepts image input and handles OCR, data extraction, object counting, identification, visual reasoning, and object detection. On Roboflow's Vision Evals its strongest task is Counting at 81.1% (#1 of 53 at low effort). You can test it on your own image in the demo above.

Yes, and it is one of the model's strongest vision skills: its transcriptions match the ground truth 93.4% on average (#5 of 53 at low effort) on Vision Evals OCR. Pulling specific fields out of documents (data extraction) scores 87.6%.

Yes. On Vision Evals, Qwen3.8 Max scores 76.7% mAP@50 on object detection (#2 of 53 at low effort) and 81.1% judge-graded accuracy on object counting.

On our benchmark's task mix, Qwen3.8 Max averages $0.0074 per sample (#41 of 53 on cost), with an average speed of 17.3s per sample across the benchmark. Actual cost depends on your images and prompts.

On the overall Vision Evals ranking, Qwen3.8 Max sits #5 of 53 at 83.9%, just behind Gemini 3.8 Flash (85.1%) and just ahead of Gemini 3.1 Pro (83.3%). See the full side-by-side: Qwen3.8 Max vs Gemini 3.8 Flash.