qwen
8B parameters
Commercial OK
Reviewed June 2026

Qwen 3 8B

Qwen 3 at the 8B scale. Direct head-to-head against Llama 3.1 8B on most benchmarks; usually wins on coding and structured output.

License: Apache 2.0·Released Apr 29, 2025·Context: 131,072 tokens
BLK · VERDICT

Our verdict

OP · Fredoline Eruo|VERIFIED JUN 12, 2026
8.5/10

Positioning

Qwen 3 8B introduces a hybrid "thinking" / "non-thinking" toggle into the 7B class. In non-thinking mode it's a tier with Qwen 2.5 7B; in thinking mode it produces visible chain-of-thought and lifts hard-task performance closer to 14B-class models at the cost of latency.

Strengths

  • Hybrid reasoning toggle/think and /no_think per turn lets you pay for reasoning only when needed.
  • Improved tool-use over Qwen 2.5 — function-call format more standardized.
  • Strong multilingual carryover from the 2.5 generation.

Limitations

  • Thinking-mode output is verbose — tokens-per-answer roughly doubles, eating speed.
  • Some prompt-injection vectors specific to the /think toggle that haven't been fully audited.
  • License remains Qwen-flavored with usage caps.

Real-world performance on RTX 4090

  • Q4_K_M (5.0 GB): 95–115 tok/s decode (non-thinking); 90–110 tok/s thinking but 2× output
  • Q5_K_M (5.9 GB): 85–100 tok/s
  • Q8_0 (8.4 GB): 65–82 tok/s

Should you run this locally?

Yes, for users who want the best 8B-class capability and are willing to use thinking mode selectively for hard prompts. No, for users who don't need reasoning — Qwen 2.5 7B is simpler and similar speed.

How it compares

  • vs Qwen 2.5 7B → Qwen 3 8B with thinking mode wins on reasoning; without thinking, near-equal. Pick Qwen 3 if reasoning matters.
  • vs Llama 3.1 8B → Qwen 3 8B wins on raw capability; Llama wins on instruction polish + ecosystem maturity.
  • vs QwQ 32B → QwQ is the dedicated reasoning specialist at 32B; Qwen 3 8B's thinking mode is a poor man's QwQ at lighter VRAM.
  • vs Phi-4 14B → Phi-4 has cleaner reasoning at higher VRAM; Qwen 3 8B fits in less memory.

Run this yourself

ollama pull qwen3:8b
ollama run qwen3:8b
# Toggle reasoning per turn:
#   /think    — enable chain-of-thought
#   /no_think — disable
Settings: Q4_K_M GGUF, 8192 ctx, llama.cpp/CUDA, RTX 4090
Why this rating

8.5/10 — Qwen 3's hybrid reasoning mode in an 8B body. Strong as a 7B-class chat model, with a "thinking" mode that pushes it materially beyond Qwen 2.5 7B on reasoning tasks. Loses points only on ecosystem maturity vs Llama 3.1 8B.

Overview

Qwen 3 at the 8B scale. Direct head-to-head against Llama 3.1 8B on most benchmarks; usually wins on coding and structured output.

Family & lineage

How this model relates to others in its lineage. Family members share architecture and training-data roots; parent / children edges record direct distillation or fine-tune relationships.

Parent / base model
Qwen 3 14B14B
Consumer
Distilled / fine-tuned from this

Strengths

  • Best 8B coder
  • Apache 2.0
  • Thinking mode

Weaknesses

  • More verbose with thinking enabled

Prompting kit

From model card
source

Tested patterns for getting the most out of Qwen 3 8B locally. Local models are pickier about prompt structure than cloud models — what works on Claude or GPT-5 often fails here.

Recommended system prompt

You are Qwen, a helpful assistant created by Alibaba Cloud. Answer directly and concisely. For multi-step problems, work through your reasoning before giving the final answer.

Quirks to know

  • Small Qwen 3 sibling for 8GB-VRAM rigs. Same /think + /no_think mode toggle as the larger Qwen 3 models.
  • Native 32K context, extendable to 128K with YaRN scaling.
  • ChatML template — same as all Qwen 3 family models.
  • Multilingual: 119 languages per the model card. Quality is materially lower than Qwen 3 32B on lower-resource languages — anchor system prompts in the target language explicitly for best results.
  • Tool-call reliability lower than 32B sibling — use a strict JSON schema validator runtime-side and re-prompt on parse failures.

Chat template

ChatML (Qwen3 variant)

Same template as Qwen 3 32B and Qwen 3 30B-A3B.

Tool calling

✓ Supported(hermes-style)

Hermes-style. Reliability degrades vs the 32B per the model card; constrain output strictly.

Sampler settings

temperature
0.7
top_p
0.8
top_k
20

Same vendor-recommended defaults as Qwen 3 32B. /think mode: temperature 0.6, top_p 0.95.

Browse prompting kits for every model →/prompting
BLK · QUALITY BENCHMARKreviewed · raw logs

Reviewed quality benchmarks

First-party rows were run by RunLocalAI; reviewed community rows are labeled in the data. Every row links to the raw test-run log.

BenchmarkQuantRuntime / HardwareScoreRaw log
HumanEval+
tested 2026-05-29
Q4_K_M
ollama-0.24
rtx-3080-16gb-mobile
2.4/100
Gist →

Q4_K_M note:First-party HumanEval+ on RTX 3080 Laptop. Earlier probe failed on this thinking model (max_tokens=5 → empty visible content); re-run with thinking-tolerant probe.

Want to verify? Every row links to its Gist with full stdout and stderr of the run. The runner script is in the public repo (scripts/run-humaneval-plus.ts) — reproducible end-to-end. Browse all coding scores at /benchmarks/coding.

Quantization variants

Each quantization trades model quality for file size and VRAM. Q4_K_M is the most popular starting point.

QuantizationFile sizeVRAM required
Q4_K_M4.8 GB6 GB
Q8_08.2 GB10 GB

Get the model

Ollama

One-line install

ollama run qwen3:8bRead our Ollama review →

HuggingFace

Original weights

huggingface.co/Qwen/Qwen3-8B

Source repository — direct quantization required.

Hardware that runs this

Cards with enough VRAM for at least one quantization of Qwen 3 8B.

Compare alternatives

Models worth comparing

Same parameter band, plus what's one tier above and below — so you can decide what actually fits your hardware.

Frequently asked

What's the minimum VRAM to run Qwen 3 8B?

6GB of VRAM is enough to run Qwen 3 8B at the Q4_K_M quantization (file size 4.8 GB). Higher-quality quantizations need more.

Can I use Qwen 3 8B commercially?

Yes — Qwen 3 8B ships under the Apache 2.0, which permits commercial use. Always read the license text before deployment.

What's the context length of Qwen 3 8B?

Qwen 3 8B supports a context window of 131,072 tokens (about 131K).

How do I install Qwen 3 8B with Ollama?

Run `ollama pull qwen3:8b` to download, then `ollama run qwen3:8b` to start a chat session. The default quantization is Q4_K_M.

Compare against other models

Curated head-to-head decisions where Qwen 3 8B is one of the contenders. For arbitrary pairings use /model-battle.

Source: huggingface.co/Qwen/Qwen3-8B

Reviewed by RunLocalAI Editorial. See our editorial policy for how we research and verify model claims.

Related — keep moving

Before you buy

Verify Qwen 3 8B runs on your specific hardware before committing money.