Independent/Reader-funded/Infrastructure, not tokens
DeAINEWS

AI you control — open models, private inference, and the networks that run them.

Open-Weights Releases

How to Run Qwen3.8 via API in 2026 (Hosts Compared)

Qwen3.8 ships a self-hostable 27B dense model plus a 2.4T Max flagship with fresh open weights. Run it locally, via API, or both — without guessing.

DeAI is powered by Morpheus (mor.org). We cover competing providers on the same terms — see our methodology.

A single graphics card held above an open workstation chassis, the single-GPU build that fits Alibaba's 27B dense Qwen3.8 model. Illustration: DeAI
A single graphics card held above an open workstation chassis, the single-GPU build that fits Alibaba's 27B dense Qwen3.8 model. Illustration: DeAI

Qwen3.8 is Alibaba's most capable open-model generation to date, and the number that matters for builders is two-in-one: a 27B dense model that fits on a single high-VRAM GPU, plus a 2.4T-parameter Max flagship whose weights are also going open. This guide walks through running the 27B locally, calling Qwen3.8 through APIs, and combining both — with no invented prices and no unverified specs.

Key facts

What actually shipped: 27B dense plus Max flagship

The release has two distinct serving profiles. Qwen3.8-27B is the builder's model: dense, compact, natively multimodal, with flexible thinking control and compatibility across Transformers, vLLM, SGLang, and llama.cpp-family tooling. If you self-hosted Qwen3.6's 27B, this is the direct upgrade path — same hardware class, newer generation.

Qwen3.8-Max is the capability play: 2.4 trillion total parameters, 95B active per token, aimed at coding, professional work, research, and long-horizon agentic tasks. The Qwen team documents multi-day autonomous coding runs built with it. For most teams Max is an API model, not a self-hosted one — 2.4T weights are datacenter infrastructure, while its open weights matter for audit, fine-tuning houses, and providers who serve it.

On licensing: weights for both are published under the Qwen organization on Hugging Face, which makes them self-hostable and inspectable. The exact license terms live in each repo's LICENSE file — read them before commercial deployment rather than assuming continuity with earlier Qwen3-family terms. If you need the distinction sharpened, our open-weight versus open-source explainer covers what downloadable weights do and do not guarantee.

Can Qwen3.8 27B run on a single GPU?

Yes. At 27B dense, the model sits in the same sizing class as the previous generation's single-GPU builds. The standard planning heuristic (a rule of thumb, not a measurement): at 4-bit quantization, weights run roughly half a gigabyte per billion parameters, landing a 27B model in the mid-teens of gigabytes, with 8-bit roughly doubling that. Budget KV-cache headroom on top — long-context sessions and concurrent users are what push a fitting setup into out-of-memory failures.

Community evidence is encouraging but anecdotal: early r/LocalLLaMA threads report members running Qwen3.8-class builds on 12GB VRAM cards with KV-cache offload to RAM at modest decode speeds, alongside GGUF releases tuned for near-baseline quality. Treat these as existence proofs for experimentation, not production sizing — your context length and batch size decide the real footprint.

Quantization choice follows your stack: GGUF for llama.cpp, Ollama, and LM Studio; the official FP8 checkpoint plus AWQ/GPTQ community builds for vLLM and SGLang. The model card lists official and community quant builds; 15 downstream merges already exist for specialization.

How do you run Qwen3.8 27B locally?

Three paths, in order of increasing operational commitment.

Option 1: Ollama or llama.cpp (fastest start)

Ollama wraps llama.cpp in a one-command experience. Check ollama.com for the exact Qwen3.8 tags matching your VRAM budget:

ollama pull <qwen3.8-tag>   # check ollama.com for exact tags and quant sizes
ollama run <qwen3.8-tag>

Ollama exposes an OpenAI-compatible endpoint on http://localhost:11434/v1 automatically — the seam the hybrid pattern below depends on. For finer control over context size, GPU layers, and thinking-mode sampling, llama.cpp directly is the alternative.

Option 2: LM Studio (GUI)

LM Studio is the desktop route: search for Qwen3.8 in the model browser, pick a GGUF quant, toggle on the local server. Lowest friction for A/B testing the 27B against your current Qwen3.6 setup before committing.

Option 3: vLLM or SGLang (production serving)

For concurrent users, serve the official checkpoints with a throughput-oriented server. vLLM is the common default:

vllm serve Qwen/Qwen3.8-27B --max-model-len 32768  # example; confirm context limits on the model card

This starts an OpenAI-compatible server on http://localhost:8000/v1 with continuous batching and PagedAttention. SGLang is the peer to evaluate on the same criteria; Qwen3 Coder builders have run this comparison recently.

How do you call Qwen3.8 via API?

Three lanes, separated by what is live versus announced. First, QwenCloud serves Qwen3.8-Max today per the Qwen team — that is the official flagship endpoint. Second, Hugging Face's inference-provider surface already lists third parties such as Novita for Qwen3.8-27B; check their pricing pages at call time rather than trusting any figure quoted secondhand. Third, the hosted QwenCloud 27B with 1M default context and built-in tools is announced as coming soon — the likely future default for long-context Qwen3.8 work, not yet orderable.

Because every Qwen3.8 endpoint speaks the OpenAI-compatible API, switching lanes is a base-URL and key change, not a rewrite. Most production teams land hybrid: local 27B for steady or sensitive traffic, API (Max for hard tasks, hosted 27B when it lands) for bursts and long-context overflow. Re-check live price trackers before locking in — with a release this fresh, the price board moves weekly.

Questions

Can Qwen3.8 27B run on a single GPU?
Yes, as a 27B dense model it is sized for one high-VRAM GPU. At 4-bit quantization plan for weight memory in the mid-teens of gigabytes plus KV-cache overhead; community members report running Qwen3.8-class builds on 12GB cards with offload, at reduced speed.
Is Qwen3.8 open weights or fully open source?
Weights for Qwen3.8-27B and Qwen3.8-Max are published on Hugging Face. That makes them auditable and self-hostable, but training data and code are separate questions — confirm the license file on each model card before commercial deployment.
Where can I call Qwen3.8 via API?
Qwen3.8-Max is served through QwenCloud per the Qwen team, and Hugging Face lists third-party inference providers such as Novita. A hosted QwenCloud Qwen3.8-27B with 1M context is announced as coming soon. Compare live prices on the providers' pricing pages before choosing.
What is thinking mode in Qwen3.8-27B?
Thinking mode (extended reasoning) is on by default in Qwen3.8-27B and can be disabled per request, with tunable reasoning depth. Disable it for latency-sensitive chat; keep it for coding and multi-step agent tasks.

Sources

  1. Qwen/Qwen3.8-27B — Hugging Face
  2. Qwen3.8-Max: A New Bar for Coding and Cowork — Qwen Team
  3. Qwen models on Hugging Face — Hugging Face
  4. vLLM documentation — vLLM Project
  5. llama.cpp — ggml-org
  6. Ollama — Ollama
  7. LM Studio — LM Studio

About DeAI

DeAI is an independent publication covering open-weight AI models, private inference, and decentralized infrastructure — the tools for running AI you actually control. We test providers on price, privacy, and refusal behavior and publish the numbers, not the vibes. DeAI is powered by Morpheus (mor.org), a decentralized inference marketplace, and covers it on the same terms as every other provider.

Powered by Morpheus and StrandCMS

Morpheus is a decentralized inference marketplace, covered on the same terms as every other provider — we rank it wherever the data lands. StrandCMS is the open-source, agent-first framework this site is built on.

Learn more about the Morpheus Inference API →

Sponsor disclosure — not editorial

Powered by Morpheus and StrandCMS. Morpheus is a decentralized inference marketplace, covered on the same terms as every other provider. StrandCMS is the open-source, agent-first framework this site is built on.

Learn more →