Skip to main content
Skip to main content

Qwen3.8 27B

Qwen3.8-27B is the model that makes frontier-adjacent agent capability personal: a 27-billion-parameter dense multimodal model that quantizes down to a single consumer GPU, ships under Apache 2.0, and beats models several times its size on agentic benchmarks - including SWE-bench Pro at 61.7 and OSWorld computer control at 84.3.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:AlibabaInput token: $0.3825/MOutput token: $2.295/MInput cache read: $0.0765/M

Qwen3.8-27B: Model Introduction & Practical Guide

Qwen3.8-27B is the model that makes frontier-adjacent agent capability personal: a 27-billion-parameter dense multimodal model that quantizes down to a single consumer GPU, ships under Apache 2.0, and beats models several times its size on agentic benchmarks - including SWE-bench Pro at 61.7 and OSWorld computer control at 84.3.

Here's the short version: 27B is the dense sibling in Alibaba's Qwen3.8 family, and its story is about what small models can now do. It natively handles images, video, and text from pretraining (not bolted-on vision), stretches to 262K tokens natively and 1M with YaRN, and adds a reasoning_effort control that trades thinking depth for cost per task. Its agent numbers - OSWorld 84.3, WebArena 64.8, AndroidWorld 81.9 - beat the previous generation's larger models and even some leading closed models on the same benchmarks. The honest caveats: a 27B dense model still trails giant MoE flagships on the broadest knowledge tasks, and "runs on a consumer GPU" assumes quantization and adequate VRAM (16-24GB).

This guide covers model overview, core features, technical specifications, capability comparison, core advantages, recommended use cases, example prompts, and selection recommendations.


Quick Facts

AttributeValue
Model nameQwen3.8-27B
DeveloperAlibaba Qwen team
CategoryDense multimodal language model (open source)
Parameters27B (dense, all parameters active)
Context262K native; YaRN extension to 1M tokens
ArchitectureGated DeltaNet + Gated Attention hybrid; 64 layers, hidden dim 5120
Reasoning controlreasoning_effort (low / medium / high)
Key benchmarksSWE-bench Pro 61.7 · OSWorld 84.3 · WebArena 64.8 · AndroidWorld 81.9
LicenseApache 2.0 (free commercial use)
DeploymentConsumer GPUs with quantization (INT4/INT8); Transformers, vLLM, SGLang
WeightsHugging Face, ModelScope

Table of Contents

  1. Model Overview
  2. Core Features
  3. Technical Specifications
  4. Capability Comparison
  5. Core Advantages
  6. Recommended Use Cases
  7. Example Prompts
  8. Selection Recommendations
  9. FAQ
  10. Sources & Further Reading

1. Model Overview

The Qwen3.8 generation marked a shift in Alibaba's strategy: instead of only pushing scale, the family ships a dense 27B model whose agentic performance rivals much larger systems. That's the point of 27B - it is small enough to run locally, open enough to modify freely (Apache 2.0), and strong enough to drive real agents rather than toy demos.

The architecture choices support that goal. It's a dense design - every parameter activates for every token, unlike MoE models that route to experts - which makes behavior more predictable and deployment simpler. The hybrid attention stack combines Gated DeltaNet (linear attention for efficient long-sequence processing) with Gated Attention (full attention for precise recall), across 64 layers. Multimodality is native: vision and text are fused during pretraining rather than stitched together afterward, so chart analysis, document understanding, and visual web development are first-class tasks.

The reasoning_effort control is the practical new lever. Simple queries run at low effort (cheap, fast); hard reasoning runs at high effort (slower, stronger). For local deployments paying in GPU-seconds rather than API tokens, that knob is the difference between a model you can afford to leave running and one you can't.

The generational jump is substantial: against Qwen3.6-27B, DeepSWE rose from 13.3 to 42.2 and QwenSWEBench from 49.3 to 79.0. Against closed competitors, some scores land in surprising territory - SWE-bench Pro 61.7 exceeds Claude Opus 4.6 Max's published 53.4 on the same benchmark. Alibaba has also announced an API version with 1M context for those who prefer hosted inference.

2. Core Features

Native multimodal understanding. End-to-end image, video, and text comprehension from pretraining: STEM charts, complex documents, and hours-long video content.

262K native context, 1M with YaRN. Long documents and repository-scale code without retraining; the hybrid attention keeps long-sequence compute lower than pure full-attention designs.

Reasoning effort control. low / medium / high thinking depth per request - simple tasks save resources, complex tasks get deeper inference.

Agentic coding. Agentic coding, terminal workflows, and repository-scale generation: SWE-bench Pro 61.7 - ahead of the previous Qwen generation and several frontier closed models.

Agentic use across devices. Computer control (OSWorld 84.3), browser operation (WebArena 64.8), and phone operation (AndroidWorld 81.9) - all three agent benchmarks at the top of their class.

Office and long-horizon task execution. CoWorkBench 70.7 and JobBench 33.4, both substantially improved over the prior generation.

Visual application development. RecreationBench 47.1 and Vision2Web 62.9 - generate interface code from screenshots.

Consumer-grade deployment. Quantized (INT4/INT8) deployment on a single 16-24GB consumer GPU, with support for Transformers, vLLM, and SGLang.

3. Technical Specifications

SpecificationDetail
Parameters27B dense (all active)
Layers / hidden size64 layers / 5120
AttentionGated DeltaNet + Gated Attention hybrid
Context262K native; YaRN to 1M
Reasoning controlreasoning_effort: low / medium / high
MultimodalNative image, video, text
LicenseApache 2.0
QuantizationINT4/INT8 for consumer GPUs (16-24GB)
Inference frameworksTransformers, vLLM, SGLang
WeightsHugging Face / ModelScope

Published benchmarks:

BenchmarkQwen3.8-27BQwen3.7-Plus (prior)Claude Opus 4.6 Max (published)
SWE-bench Pro61.7< 61.753.4
DeepSWE (vs 3.6-27B: 13.3)42.2——
QwenSWEBench (vs 3.6-27B: 49.3)79.0——
OSWorld (computer use)84.3——
WebArena64.8——
AndroidWorld81.9——
CoWorkBench70.7——
JobBench33.4——
RecreationBench47.1——
Vision2Web62.9——

4. Capability Comparison

DimensionQwen3.8-27B (Alibaba)Muse Glimmer-30B (Meta)Gemma 4-31B (Google)
Parameters / architecture27B dense + hybrid attention~29.6B dense + GQA31B dense
Native context262K (→1M YaRN)128K+256K
MultimodalNative image + videoText + imageNative vision + audio
LicenseApache 2.0Apache 2.0Apache 2.0
Local deploymentQuantized, consumer GPUYesYes

Positioning read. The three models form the open-weight small-model frontier at this moment. Qwen3.8-27B's differentiators are its long context (262K-1M), native video understanding, and the agentic benchmark suite - particularly device control, where its 84.3 OSWorld score is a step change for locally-runnable models. Its weaknesses are the usual dense-model ones: at 27B it cannot match MoE flagships on the broadest knowledge recall, and high-effort reasoning costs more wall-clock time than larger parallel architectures.

5. Core Advantages

  1. Top agent benchmarks in a local model. OSWorld 84.3, AndroidWorld 81.9, WebArena 64.8 - device control that previously required cloud flagships, on hardware you own.
  2. Run-it-yourself economics. Apache 2.0 plus INT4 quantization means zero marginal inference cost after hardware, no API quotas, and no data leaving your machine.
  3. Native multimodal depth. Video and chart understanding fused at pretraining, not retrofitted - enabling document and visual-UI workflows locally.
  4. 262K-1M context. Long documents and repos handled without chunking gymnastics; YaRN extension avoids retraining costs.
  5. Effort dial for cost control. reasoning_effort gives per-request control of the compute/quality trade-off - essential when you pay in GPU time.
  6. Stable dense behavior. All parameters active means predictable performance and simpler capacity planning than MoE routing.
  • Local coding agents: repository-scale development, debugging, and terminal workflows on workstation hardware.
  • Device and UI automation: computer, browser, and Android control for testing, RPA, and accessibility tooling.
  • Private document analysis: charts, contracts, and technical manuals processed on-premises with no data egress.
  • Visual app development: screenshot-to-interface-code generation for rapid prototyping.
  • Edge and embedded agents: quantized deployments where cloud latency or connectivity is unacceptable.
  • Education and research: fully open, inspectable multimodal model for teaching and experimentation.

7. Example Prompts

1. Local repository agent

text
Analyze this repository (about 150K tokens). Task: add structured logging
to every HTTP handler with request IDs, without changing response bodies.
Show me the plan first, then implement and run the tests.

2. Screenshot to code

text
From the attached app screenshot, generate a React + Tailwind
implementation. Match the layout and spacing; extract the palette into
CSS variables; make it responsive. List any ambiguous elements.

3. Chart reasoning (local)

text
Read the attached financial chart. Extract all labeled values, compute
YoY growth per series, and identify the quarter where the trend breaks.
Show your calculations. Reasoning effort: high.

4. Android/desktop automation

text
Automate this test scenario: open the app, navigate to settings, toggle
"sync over Wi-Fi" off, verify the state persists after restart, and log
each step with a screenshot reference. Pause if any UI differs from the
script.

5. Long-document QA

text
Given this 220K-token technical manual, answer: (1) the exact torque
specs for the main assembly; (2) all safety warnings related to
electrical work; (3) the maintenance interval table. Cite section numbers.

8. Selection Recommendations

Choose Qwen3.8-27B if:

  • You want a strong agent model that runs locally, with no per-token bills.
  • Data privacy or air-gapped environments rule out cloud APIs.
  • Your workloads are agentic (coding, device control, UI automation) rather than broad general knowledge.
  • You need long context (262K+) on local hardware.
  • You want Apache 2.0 freedom for commercial embedding and fine-tuning.

Consider alternatives if:

  • You need frontier knowledge breadth - use a large MoE flagship (cloud).
  • You lack GPU hardware with 16-24GB VRAM (consider the hosted API version instead).
  • You need the fastest possible inference at high concurrency (a smaller or MoE model wins on throughput per watt).

Deployment note. For production, vLLM or SGLang both give high-throughput serving with continuous batching; start with INT8 and step down to INT4 only if VRAM-constrained, and measure quality on your own eval set - quantization loss is workload-dependent.

Sources & Further Reading


Benchmark figures are as published by the model's release materials; results on quantized local deployments will differ from full-precision evaluation numbers. Always validate agent capability on your target hardware and environment.