Kensink Labs
APACHE 2.0 · 27B DENSE · SELF-HOSTABLEAlibabaModel brief
QWEN · VERSION 3.8 · 27B · 5 AUG 2026

Qwen3.8-27B. Frontier scores you can run yourself.

A 27-billion-parameter dense model under Apache 2.0 that beats Claude Opus 4.6 Max on SWE-bench Pro and computer use, takes text, images and video, and holds 262K tokens natively. It is the most-liked language model on Hugging Face and the base almost every open-weight fine-tune now starts from. If your constraint is that data cannot leave your network, this is the current answer.

Open weightsApache 2.0Self-hostedEval pipelines
Released
5 Aug 2026
Model ID
Qwen/Qwen3.8-27B
Licence
Apache 2.0
Parameters
27.8B, dense
Context
262K native, 1M max
Modalities
Text, image, video → text
Weights
Open, 27.8B BF16
Thinking
On by default, tunable
[TL;DR FOR CEO + CTO]

What to know.

  • 01

    Apache 2.0 at 27B is the whole story.

    A permissive licence on a model this capable removes the two conversations that usually kill a self-hosted plan: whether you are allowed to use it commercially, and whether you have to tell the vendor what you are doing with it. You do not, and you do not.

  • 02

    It beats Claude Opus 4.6 Max on agentic coding and computer use.

    SWE-bench Pro comes in at 61.7 against 53.4, and OSWorld computer use at 84.3 against 72.7. It trails on terminal coding (73.0 against 78.2) and slightly on GPQA Diamond (89.2 against 91.3). That is a genuinely mixed result rather than a clean win, and it is remarkable at 27B.

  • 03

    Dense, not mixture-of-experts, and that matters for your hardware.

    All 27.8 billion parameters activate on every token. Memory sizing is simple and predictable, with none of the routing overhead or expert-placement complexity a sparse model brings. In BF16 that is roughly 56GB of weights, so it fits on a single 80GB accelerator with room for context.

  • 04

    Vision and video are in the base model.

    Text, images, and video up to hour scale, from one checkpoint. You do not bolt on a separate vision encoder or run a second model for document work, which removes a whole integration seam from a self-hosted stack.

  • 05

    It is the base everyone else forks.

    Search Hugging Face for Qwen3.8-27B and you get quantisations, GGUF conversions, abliterated variants and merges, several with hundreds of thousands of downloads of their own. That ecosystem is a real operational asset: someone has already solved the quantisation you need.

[THE NUMBERS]

Where it actually lands.

From the Qwen model card, set against the Claude tier Alibaba chose to compare with. We reproduce their comparison set rather than substituting our own, and we flag that a vendor picks the columns that flatter it. The pattern is consistent though: competitive at 27B, ahead on agentic and computer-use work, behind on terminal coding.

CapabilityQwen3.8-27BClaude Opus 4.6 MaxQwen3.6-27B
Agentic coding
SWE-bench Pro
ahead of the closed comparison
61.7
+8.3 vs Opus 4.6 Max
53.4
not published
Agentic computer use
OSWorld
the widest margin in the card
84.3
+11.6 vs Opus 4.6 Max
72.7
not published
Browser use
WebArena
+16 points on the previous Qwen generation
64.8
not published
48.8
Terminal coding
Terminus
behind, and the gap is real
73.0
-5.2 vs Opus 4.6 Max
78.2
not published
Graduate science
GPQA Diamond
within about two points
89.2
-2.1 vs Opus 4.6 Max
91.3
not published

These are Alibaba's published numbers against a comparison set Alibaba chose, which is how every vendor card works and is worth stating plainly. Two things we would want before recommending a switch: the same evals run on the quantisation you actually intend to deploy, since a 4-bit GGUF is not the model in this table, and a run on customer tasks rather than public benchmarks. Open weights make both of those cheap to do, which is itself an argument for this family.

[SOFTWARE DEVELOPMENT IMPACT]

What it changes for the team building with it.

What changes for a team weighing this against an API. Two comparisons decide it: against the frontier APIs on capability and cost, and against the sparse Qwen tier above it on hardware.

Dimensionvs a frontier APIvs Qwen3.8-Flash-Next
Where the data goes
This is usually the reason the conversation starts. Weights on your hardware means no prompt or document leaves your boundary, no data-retention negotiation, and no vendor-side classifier deciding your request was disallowed. For regulated work that is not a cost argument, it is a feasibility one.Both are open weights, so neither has this problem. The choice between them is about hardware and licence, not about privacy.
Cost shape
You trade per-token billing for fixed capacity. At low volume an API is cheaper, and Qwen's own hosted tier at $0.14 / $0.42 undercuts most self-hosting once you price the GPU hours honestly. Self-hosting wins on sustained high volume, on privacy, and when you need the latency floor of local inference.Flash-Next activates 6B per token against this model's 27.8B, so it is cheaper per token to run, but it needs 180B of weights resident. Dense 27B is the cheaper machine, sparse 180B is the cheaper token.
Hardware sizing
Roughly 56GB of BF16 weights, so one 80GB accelerator with room for context, or a quantised build on considerably less. Predictable because it is dense: no expert routing, no placement strategy, no surprise memory spikes on an unlucky batch.Flash-Next needs the full 180B resident even though only 6B activate. That is a multi-GPU deployment. If you have one card, this is your model and the decision is already made.
Licence risk
Apache 2.0 is about as settled as licensing gets. No field-of-use restriction, no user threshold, no acceptable-use policy that can be revised under you after you have shipped.Flash-Next ships under qwen-community-1.0, not Apache 2.0. Read it before you build on it. On a client project we default to the Apache-licensed model unless the capability gap is proven and the licence has been through legal.

We treat open weights as a deployment option rather than an ideology. The model sits behind the same abstraction as the hosted APIs, so a workload can move from Qwen3.8-Flash to a self-hosted 27B and back as the privacy, latency and volume picture changes, with the eval suite deciding rather than the licence.

[WHAT IS NEW]

The features that ship with it.

01

A hybrid attention stack, not a plain transformer

The layer pattern is 16 repeats of three Gated DeltaNet blocks followed by one Gated Attention block, each with its own FFN. The linear-attention blocks carry most of the depth cheaply and the full-attention blocks do the long-range work, which is how a 27B dense model reaches 262K context without the memory curve getting silly.

02

262K native, extensible to 1M

Native rather than extrapolated is the important word. The card also gives explicit output guidance: up to 262,144 reasoning tokens and 131,072 for the final response, which is unusually concrete and worth respecting in your serving config.

03

Thinking on by default, and switchable per request

Reasoning is enabled unless you turn it off, with depth tuned through reasoning_effort. That is the right default for an agent and the wrong one for a classification endpoint, so set it per call site rather than globally.

04

Video in the base checkpoint

Hour-scale video with the right configuration, from the same weights that do text and images. Anyone who has run a separate video pipeline alongside a language model will recognise how much integration that removes.

05

Official SGLang and vLLM recipes

Both ship cookbooks for this checkpoint. That matters more than it sounds: most open-weight pain is serving pain, and a maintained recipe is the difference between a day and a fortnight.

06

Apache 2.0

Not a community licence, not a bespoke agreement, not a user-count threshold. The most capable model at this size with a licence your legal team already knows.

[THE SPEC]

Everything an integration depends on.

The limits, the endpoints, and the lines that decide whether this model fits your transport and your budget. Kept here so nobody has to reconstruct it from three vendor pages.

Hugging Face repoQwen/Qwen3.8-27B
LicenceApache 2.0. Commercial use with no separate agreement
Parameters27,781,427,952 BF16. Dense, so all 27.8B activate on every token
ArchitectureQwen3_5ForConditionalGeneration. 16 x (3 x (Gated DeltaNet to FFN) then 1 x (Gated Attention to FFN))
Layers64, hidden dimension 5,120
Context window262,144 tokens native, extensible to 1,000,000
Recommended outputUp to 262,144 reasoning tokens, 131,072 for the final response
InputText, images, and video up to hour scale with the right configuration
ThinkingOn by default, disableable per request, depth tuned with reasoning_effort
ServingSGLang and vLLM both ship official recipes. TokenSpeed also supported
Deployment targetsAzure and SageMaker one-click, plus any Transformers-compatible runtime
Hugging Face signal6.4M downloads and 14,239 likes, second only to FLUX.1-dev overall
Hosted equivalentsQwen3.8-Max at $2 / $6 and Qwen3.8-Flash at $0.14 / $0.42 on Alibaba Cloud Model Studio
[MIGRATION]

How we move a live integration.

How we take an open-weight model from interesting to load-bearing. Step two is where most pilots quietly fail.

From a hosted API
  1. 01

    Decide whether you actually need the weights

    Privacy, latency floor, or sustained volume. If none of those apply, Qwen3.8-Flash at $0.14 / $0.42 through the hosted API is cheaper and simpler than anything you will run yourself, and the honest recommendation is to stay there.

  2. 02

    Run the evals on the quantisation you will deploy

    The published benchmarks are BF16. Almost nobody deploys BF16. A 4-bit GGUF is a different model with different failure modes, and the gap shows up on exactly the long-context and tool-calling work you bought the model for. Evaluate the artefact, not the announcement.

  3. 03

    Size the machine against real context, not the demo

    56GB of weights plus KV cache for your actual context length and batch size. Long context is where deployments run out of memory in production having been fine in testing, so size against p95 context and concurrency.

  4. 04

    Pick a serving stack and stay on the official recipe

    SGLang or vLLM, using the cookbook for this checkpoint. Drifting off the recipe is how you end up debugging a rotary embedding at midnight. Pin the runtime version alongside the model.

  5. 05

    Set reasoning per call site

    Thinking is on by default. That is right for an agent loop and wasteful for classification or extraction. Turn it off where judgement is not needed and tune reasoning_effort where it is.

  6. 06

    Keep the hosted path warm as a fallback

    Behind one abstraction, the same workload should be able to run on the self-hosted weights or the hosted API. That gives you a real answer when a GPU node fails at 2am, and it keeps the comparison honest as both sides change.

[PRICING]

What it costs to run.

The weights are free. Inference is not. These are the hosted Qwen tiers you would be measuring self-hosting against, at the Singapore endpoint.

Qwen3.8-27B weightsFreeApache 2.0. Your cost is the hardware and the engineering.
Qwen3.8-Max$2 / $6Hosted flagship, closed weights. Cached input $0.25 per million.
Qwen3.8-Flash$0.14 / $0.42Flat across the full 1M context, no long-context surcharge.
Regional difference60 to 70% lessThe Beijing endpoint against Singapore. A data-residency decision before it is a pricing one.
Free tier1M tokensPer eligible model for new accounts, 90 days from Model Studio activation.
For comparison$10 / $50GPT-6 Astra and Claude Fable 5.1. Qwen3.8-Flash is roughly seventy times cheaper on input.

The number that surprises people is not the weights being free, it is Qwen3.8-Flash at $0.14 input. That is cheap enough to change which steps are worth doing with a model at all, and cheap enough that self-hosting has to justify itself on privacy or latency rather than on cost. We price both paths against real volume before recommending either, and on more than one engagement the honest answer has been to use the hosted tier and spend the saved effort on evals.

[RISK + GOVERNANCE]

What to watch.

Open weights move the safety work to you.

There is no vendor classifier between your prompt and the model, no refusal path, and no abuse monitoring you inherit for free. Everything a hosted API does on your behalf becomes your responsibility: input filtering, output review, rate limiting, and an audit trail. Teams consistently underestimate this, and it is the main reason a self-hosted pilot stalls before production.

The derivative ecosystem is an asset and a supply chain.

The abliterated and uncensored variants near the top of the Hugging Face trending list are the same architecture with the safety training removed. They are useful for research and a genuine liability in a product. Pin exact repo revisions, verify checksums, and treat a model download the way you treat any other third-party dependency.

Apache 2.0 is permissive, not a blank cheque.

The licence settles copyright and patent grant. It says nothing about whether your use is lawful under the EU AI Act, sectoral regulation, or your own customer contracts. Provenance, disclosure and evaluation obligations attach to what you build, not to what you downloaded.

[OUR TAKE]

How we are using it.

01

This is the model we reach for when data cannot leave.

Regulated work, on-premise constraints, and anything where a data-processing agreement would take longer than the build. At 27B with these numbers, the capability cost of staying inside the boundary is now small enough that the conversation is about hardware rather than about compromise.

02

The licence is doing as much work as the benchmarks.

Apache 2.0 at this capability is rarer than the scores. It removes a legal review, a vendor negotiation, and a category of risk that outlives the model. We weight that heavily on client work, and it is why we default to the 27B over the stronger community-licensed Flash-Next.

03

Benchmark the quantisation, not the announcement.

Every published number here is BF16 and almost nobody serves BF16. We evaluate the exact artefact going to production, and we have seen 4-bit builds lose materially on long-context tool use while looking fine on short prompts. That gap is invisible unless you look for it.

04

The hosted tier undercuts self-hosting more often than teams expect.

Qwen3.8-Flash at $0.14 per million input is hard to beat with your own GPUs once you count the hours, the on-call, and the engineer maintaining the serving stack. We price both honestly, and self-hosting has to win on privacy, latency or volume rather than on a spreadsheet that omits salary.

05

Its absence from most vendor comparisons is a tell.

Qwen is the most-downloaded and most-forked open family on Hugging Face and it appears in almost no frontier-vendor benchmark table. That is a positioning choice, not a capability judgement, and it is worth remembering when you read any launch post.

[METHODOLOGY · K-FRAMEWORK]

Integrated through the
K-Framework.

Every model we integrate runs through the same operating system. Three pillars, sixteen layers, one Compound Growth Loop. The methodology that keeps AI work from rotting after the first ship.

Read the K-Framework
01

Foundations

Direct API integration with the model. No LangChain, no orchestration vendor, no agent framework built on quicksand. Typed contracts, the same way we wire up Postgres.

02

Amplification

An eval suite built from your real tasks gates every prompt and model change. Quality is measured before it ships, not vibed in a demo.

03

Judgment

Governance, audit, and oversight wired in from day one. Who called what, with which prompt version, at what cost. Your auditors get answers, not screenshots.

[OBSERVABILITY]

Observability your team can read.

A model in production without observability is roulette. We instrument every integration so engineering and finance can see the same numbers, and so a regression at 3am surfaces before a customer opens a ticket.

Instrumented

Cost per call

Tokens in, tokens out, dollars spent. Sliced by feature, tenant, and route. Budgets enforced where it matters.

Instrumented

Latency p50 / p95 / p99

Real distributions, not averages. We know which routes are slow, and why.

Instrumented

Eval pass rates

The same eval suite that gates a release runs continuously in production. A regression on real traffic surfaces fast.

Instrumented

Prompt + completion logs

PII scrubbed at the proxy, shipped to your SIEM. Retention controls match your compliance window.

Dashboards your team owns, not ours. At handoff you get the queries, the alerts, and the runbook. We are not in the path to read your metrics.

[COMMON QUESTIONS]

Questions we are getting asked.

Can we use Qwen3.8-27B commercially?
Yes. It is Apache 2.0, which grants commercial use and a patent licence with no field-of-use restriction and no user threshold. That is not true of every model in this family: Qwen3.8-Flash-Next ships under qwen-community-1.0, so if you are mixing tiers, check each one rather than assuming the family licence.
What hardware do we need?
Roughly 56GB of weights in BF16, so a single 80GB accelerator with headroom for KV cache, or considerably less quantised. Because it is dense there is no expert routing to plan around, which makes sizing predictable. Size against your p95 context length and concurrency rather than a single-request demo, since long context is where these deployments run out of memory in production.
Is it really better than Claude Opus?
On some things in Alibaba's own table: ahead on SWE-bench Pro (61.7 against 53.4) and OSWorld (84.3 against 72.7), behind on Terminus terminal coding (73.0 against 78.2) and slightly on GPQA Diamond. Those are vendor-selected comparisons against Opus 4.6 Max, which is not the current Claude tier. Read it as evidence that a 27B open model is now in the conversation, not as a verdict.
Should we self-host or use the API?
Self-host when data cannot leave your boundary, when you need the latency floor of local inference, or when sustained volume beats the GPU bill. Otherwise use the hosted tier, because Qwen3.8-Flash at $0.14 / $0.42 is cheaper than most self-hosted maths once you count engineering time. We price both against real volume before recommending either.
What about the uncensored variants near the top of the trending list?
They are this architecture with the safety training stripped out. Useful for research, and a liability in a product: you inherit the behaviour and the reputational exposure with no vendor to escalate to. If you use community derivatives at all, pin exact revisions and verify checksums, because a model repo is a supply-chain dependency like any other.
How does it handle documents and images?
Natively. Text, images, and video up to hour scale come from the same checkpoint, so a document pipeline does not need a separate vision model. For dense filings and charts specifically, compare it against the hosted options on our vision page before committing, since that is the case where the frontier models still hold a lead.
DIRECT INTEGRATION · NO FRAMEWORK

Want Qwen3.8-27B
in your product?

Eval suite at handoff, full source ownership. We integrate against the model API the same way we integrate against Postgres, and route by task at runtime. Sized to your scope.