Open-Weight LLM · Private & Custom AI

Qwen3-8B-FP8

8B dense reasoning model with thinking/non-thinking modes for private deployment—custom ops AI, agent workflows, and internal knowledge automation without leaving your infrastructure.

Qwen3-8B-FP8 is an 8.2B-parameter causal language model quantized to FP8 for efficient inference, built for both complex reasoning (math, code, logic) and fast conversational tasks. It supports 100+ languages, native 32K context (expandable to 131K with YaRN), and a unique thinking-mode toggle—useful for ops teams building internal AI workflows that require reasoning without the latency overhead of 70B+ models.

8.2B
Parameters
apache-2.0
License (OSI/permissive)
Unknown
Context
626.5k
Downloads

Model facts

DeveloperQwen
Parameters8.2B
Context windowUnknown
Licenseapache-2.0 — OSI/permissive
Tasktext-generation
GatedNo
Downloads626.5k
Likes62
Updated2025-07-26
SourceQwen/Qwen3-8B-FP8

Private deployment

Run Qwen3-8B-FP8 in your own environment

Self-hosted on single A100/H100 GPU (~8–16GB VRAM in FP8) or distributed CPU inference via llama.cpp/KTransformers. Runs on-prem with transformers, SGLang (≥0.4.6), or vLLM (≥0.8.5). Data remains in your environment; no API calls. Trade-off: quantization (FP8 block-size 128) vs. native FP32 quality—known multi-GPU distributed inference issues in transformers require `CUDA_LAUNCH_BLOCKING=1`.

Operational AI use cases

01

Support ticket triage & intelligent routing

Analyze customer issues, extract intent/urgency, assign to correct queue or suggest knowledge-base articles. Thinking mode for complex escalations; fast non-thinking mode for routine classification. Runs on-prem—no ticket data leaves your servers.

02

Internal knowledge assistant & policy agent

Index company docs (SOP, HR policies, technical specs), ground responses in retrieval-augmented search, answer employee questions with citations. Thinking mode verifies policy compliance; non-thinking mode handles quick lookups. Self-hosted means data stays internal.

03

Code generation & bug-resolution workflow

Enable thinking mode for complex debugging, refactoring, or architecture review; disable for fast snippet generation in IDE integrations. 32K context handles large files; reasoning improves solution quality for high-stakes fixes.

Custom AI

As a base for custom AI

Strong base for building proprietary AI products. Fine-tunable on domain-specific data (sales, legal, engineering), reasoning mode extends capability to logic-heavy custom workflows (contract review, risk scoring, diagnosis systems). FP8 quantization reduces training/hosting costs. Seamless thinking/non-thinking toggle allows product teams to offer both 'reasoning' and 'fast' inference tiers within one model.

In the operating system

Where it fits

Knowledge / Reasoning layer in an AI OS: grounds operations workflows with retrieval, agent integration (via tool-calling framework support mentioned), and on-demand thinking. Can feed into workflow automation layer (triggering actions based on reasoning output) and underlying private data layer (documents, CRM, logs). Lightweight enough to run alongside other ops-layer models without infrastructure sprawl.

Data control & security

Self-hosting means customer data—tickets, policies, code, logs—never transits to third-party APIs; processing happens in your VPC/on-prem. No model telemetry or usage reporting to Qwen by default. Quantization and single-GPU deployment reduce attack surface vs. large distributed systems. Not a compliance guarantee; conduct your own security review and ensure your infrastructure (network isolation, access controls, backups) meets your data governance standards.

Hardware footprint

**Estimate (unverified):** FP8 quantization ~6–8GB VRAM single-GPU inference (vs. ~16GB for BF16). Multi-GPU distributed inference possible but currently buggy in transformers; SGLang/vLLM recommended for scale. CPU inference (llama.cpp) viable for latency-tolerant workflows; expect 3–10x slower than GPU.

Integration

Load via HuggingFace `transformers` library (requires ≥4.51.0); compatible with SGLang and vLLM for OpenAI-compatible API endpoints. Supports `device_map='auto'` for multi-GPU sharding. Chat template includes `apply_chat_template(..., enable_thinking=True/False)` for mode control. Output includes reasoning tokens in `<think>...</think>` blocks when thinking enabled—parse separately from final response. Ollama, LMStudio, MLX-LM, llama.cpp also support it for non-API workflows.

When it's not the right fit

  • Real-time, low-latency requirements (<100ms per token)—reasoning mode adds 2–5x generation time; fast mode helps but 8B still slower than specialized small models.
  • Long-context retrieval-augmented generation at scale—32K native context sufficient for most workflows, but 131K YaRN expansion may introduce latency/accuracy trade-offs; requires benchmarking.
  • Multi-GPU distributed inference in production—known quantization issues in transformers; SGLang/vLLM workarounds available but add operational complexity.
  • Highly specialized domains (medical diagnosis, legal discovery, financial forecasting)—8B reasoning is good but less reliable than domain-fine-tuned or 70B+ models; validate output heavily.

Alternatives to consider

Llama 3.1 8B

No native thinking mode; faster inference, better tooling ecosystem (ollama.cpp, mobile). Choose if you don't need reasoning and want simplicity.

DeepSeek-R1-Distill-Qwen-7B

7B reasoning variant; similar thinking capability, slightly smaller footprint. Pick if ultra-compact deployment is priority over accuracy.

Mistral 7B Instruct

No reasoning; extremely fast, low VRAM, strong instruction-following for ops tasks (classification, summarization). Choose for speed-over-reasoning workflows.

FAQ

Can I run this on my existing on-prem GPU cluster without Qwen's servers seeing my data?

Yes. Deploy via transformers/SGLang/vLLM entirely within your network. No data leaves your infrastructure unless you explicitly call external APIs. Quantization & Apache 2.0 license allow unrestricted private use.

Is commercial use allowed?

Yes. Apache 2.0 license permits commercial use, modification, and distribution with attribution. No license fees; you pay only for compute/hosting.

How much slower is FP8 vs. native BF16?

Unknown (not benchmarked in provided docs). Block-size-128 fine-grained quantization generally <5% accuracy loss vs. BF16, negligible latency overhead on modern GPUs. Recommend testing on your workloads.

Can I use thinking mode for all requests, or should I mix thinking/non-thinking?

Thinking mode is ~2–5x slower but improves reasoning quality. Use thinking for complex logic (math, code review, policy verification); use non-thinking for fast, repetitive tasks (triage, summarization). Toggle per-request via `enable_thinking=True/False`.

Build Custom AI That Stays Inside Your Walls

Qwen3-8B is ready to run on your infrastructure. Use LLM.co to wire it into your ops workflows—automate support, knowledge, and agent tasks without shipping data elsewhere. Let's build your private AI stack.