Qwen3Guard

Qwen3Guard-Stream-8B

by Qwen · Current open-weight model

An open-weight 8B Qwen safety classifier for moderating prompts and streamed language-model responses in real time. It uses Safe, Controversial, and Unsafe labels, supports up to 119 languages and dialects, and is intended for self-managed deployment.

Reasoning Coding
Qwen3Guard-Stream-8B is built for applications that must moderate language-model output while it is being generated. Rather than waiting for a complete answer, it processes incremental token IDs and can help a deployment interrupt or revise a response before harmful content is fully delivered. The model is based on Qwen3, is distributed under the Apache 2.0 license, and is intended for self-managed moderation rather than use as a general-purpose conversational model.
Inputs

What it can understand

Text
Capabilities

Support features

Streaming Fine-tuning
Model profile

Performance characteristics

1/10 Reasoning
1/10 Coding
7/10 Speed
8/10 Cost efficiency
Specifications

Technical details

Family Qwen3Guard
Type Other
Context window 8K tokens
Max output tokens tokens
Release date 2025-09-23
Status Current open-weight model
Knowledge cutoff notes

No authoritative model-specific knowledge-cutoff date was published. As a specialized moderation classifier, the model's safety policy and training data should not be treated as an ordinary conversational-model knowledge cutoff.

Model notes

Canonical Hugging Face identifier: Qwen/Qwen3Guard-Stream-8B. The model is a specialized token-level safety classifier, not a general-purpose text-generation model. It classifies content into Safe, Controversial, and Unsafe categories and supports up to 119 languages and dialects. Streaming inference requires incremental token IDs and works most naturally with models using the Qwen3 tokenizer; other tokenizers require re-tokenization. The published checkpoint is approximately 8B parameters in BF16 and uses an 8,192-position configuration. No official hosted per-token pricing was identified because the model is distributed as open weights. Fine-tuning is technically possible because weights are available, but no model-specific managed fine-tuning service was verified.

Model guide

Qwen3Guard-Stream-8B: Token-Level Safety Moderation for Live AI Responses

Qwen3Guard-Stream-8B is an open-weight, 8-billion-parameter safety moderation model from Alibaba's Qwen team. It evaluates prompts and incrementally generated responses at token level, classifying content as Safe, Controversial, or Unsafe across up to 119 languages and dialects.

What is Qwen3Guard-Stream-8B?

Qwen3Guard-Stream-8B is an open-weight safety classifier from Alibaba's Qwen team. Its job is to assess the safety of prompts and language-model responses, especially when those responses are being delivered as a live stream. The model does not function like a normal chat assistant: it returns safety classifications and scores instead of composing general-purpose answers.

The model belongs to the Qwen3Guard family, which includes generative and streaming safety models in 0.6B, 4B, and 8B sizes. The Stream variant is the family member focused on token-level, real-time moderation. Its approximately 8 billion parameters make it the largest listed Stream checkpoint, but also mean that local deployment requires substantially more memory and compute than a smaller safety model.

How streaming moderation works

In a conventional moderation workflow, an application generates a complete answer and sends it to a safety checker afterward. That approach can allow unsafe text to reach a user before the check finishes. Qwen3Guard-Stream-8B is designed for a different workflow: the application supplies the prompt and then forwards generated response tokens to the guard model as they arrive.

When the guard detects a problem, the application can stop the response, apply a stricter policy, request a safer continuation, or route the interaction for review. This makes the model particularly relevant to chatbots and other systems where visible output is streamed progressively.

The published integration approach uses token IDs. Streaming works most naturally when the protected language model uses the Qwen3 tokenizer. If the application is moderating output from a model with a different tokenizer, the generated text must be re-tokenized into Qwen3's vocabulary before it can be evaluated incrementally. That additional processing is an important implementation consideration.

Safety labels and moderation coverage

Three severity levels

Qwen3Guard-Stream-8B assigns content to three broad outcomes:

  • Safe: no relevant safety concern is identified.
  • Controversial: the content may require a policy decision or a more permissive moderation threshold.
  • Unsafe: the content falls into a safety category that may require blocking or intervention.

The intermediate Controversial label is useful for deployments that do not want a simple allow-or-block policy. For example, a product could permit trained human reviewers to inspect controversial cases while automatically interrupting content classified as unsafe.

Categories covered

The documented safety taxonomy includes violence, non-violent illegal acts, sexual content or sexual acts, personally identifiable information, suicide and self-harm, unethical acts, politically sensitive topics, copyright violations, and jailbreak attempts for inputs. The exact policy applied in production remains the responsibility of the application using the model; the checkpoint does not remove the need to define thresholds, escalation rules, and user-facing behavior.

Qwen reports support for up to 119 languages and dialects. This makes the model suitable for multilingual moderation pipelines, although language coverage should not automatically be interpreted as identical performance across every language or dialect.

Technical profile and deployment

SpecificationVerified detail
Model familyQwen3Guard
ProviderAlibaba's Qwen team
ParametersApproximately 8 billion
Maximum position configuration8,192 positions
Checkpoint formatBF16 safetensors
Primary inputText represented as token IDs
Primary outputSafety classifications and scores
LicenseApache 2.0
Hosted API pricingNo official per-token price identified

The canonical public checkpoint is Qwen/Qwen3Guard-Stream-8B on Hugging Face, with related project distribution through the Qwen3Guard repository and ModelScope. The model is intended for local or self-managed inference. Qwen's published example loads it through Transformers using an AutoModel-style feature-extraction interface with custom model code enabled, rather than as a conventional text-generation model.

The 8,192-position configuration is the relevant published input/context limit. No separate maximum output-token limit is specified because the model is a classifier rather than a text-generation system. Its output is a moderation result, not a generated response.

Capabilities and trade-offs

The model's main technical advantage is timing. A complete-response classifier can identify unsafe content only after the response has been produced, while Qwen3Guard-Stream-8B is designed to make decisions during generation. That can reduce the amount of harmful text shown to users and supports early interruption.

Its multilingual coverage is another strength, particularly for services that need one moderation component across many supported languages. The three-level classification system also gives product teams more control than a single binary decision.

These benefits come with deployment costs. An approximately 8B BF16 checkpoint needs substantial local memory and compute, and the application must manage incremental token delivery. A tokenizer mismatch creates extra re-tokenization work. The guard model also adds inference latency and infrastructure complexity to the protected generation pipeline, even though its purpose is to improve safety rather than produce user-facing content.

Qwen reports a Qwen3GuardTest F1 score of 83.6 for Qwen3Guard-Stream-8B on the thinking-content safety-classification test, along with separate streaming-latency measurements for responses with and without reasoning content. These are provider-reported benchmark results, not a guarantee of performance for every language, category, threshold, or production workload.

Reasoning, coding, modalities, and tools

Qwen3Guard-Stream-8B is not a reasoning assistant in the usual sense. It may assess content that contains reasoning or is produced by a reasoning model, but it is not intended to solve multi-step problems for users. Similarly, coding is not a primary capability: it can moderate text that happens to contain code, but it is not a coding model.

The supported use case is text moderation. No image, audio, or video input or output capability is documented. The model produces classification results rather than direct image, audio, video, or general conversational text output. No native tool-calling or function-calling support is verified. Applications can still place the classifier inside a larger tool-enabled system, but orchestration must be implemented by the surrounding software.

Pricing and availability

There is no verified official hosted per-token price for Qwen3Guard-Stream-8B. The model is distributed as open weights, so users generally account for their own hardware, hosting, storage, and inference costs rather than paying a published model API rate. Open licensing does not make deployment cost-free: an 8B BF16 model can require meaningful GPU memory and operational capacity.

The checkpoint was introduced as part of the Qwen3Guard release in September 2025. It is available through the public Hugging Face model repository, and the project also references ModelScope and the Qwen3Guard source repository. The Apache 2.0 license permits broad use subject to the license terms.

When to choose Qwen3Guard-Stream-8B

Choose Qwen3Guard-Stream-8B when the central requirement is early moderation of streamed language-model output and you can operate an open-weight checkpoint yourself. It is a strong fit for:

  • Chatbots that stream responses to users in real time.
  • Qwen-based language-model deployments that need a safety gate during generation.
  • Multilingual products requiring moderation across a broad set of languages and dialects.
  • Systems that need separate handling for safe, controversial, and unsafe content.
  • Research or self-hosted pipelines where access to model weights matters.

Another option may be more appropriate when the system only needs to scan completed text, cannot afford the memory and latency of an 8B checkpoint, or requires a managed moderation API instead of self-hosted inference. A general-purpose language model is also a better choice for conversation, coding, search, or content generation. Qwen3Guard-Stream-8B should be selected for its moderation role, not treated as a replacement for those models.

Bottom line

Qwen3Guard-Stream-8B is a specialized safety component for live text generation. Its defining feature is token-level moderation: it can evaluate a response as it unfolds instead of waiting for the final answer. The combination of multilingual coverage, three severity labels, open weights, and Apache 2.0 licensing makes it suitable for self-managed safety pipelines. The main compromises are its substantial 8B deployment requirements, tokenizer and streaming integration work, added inference overhead, and lack of general-purpose generation, multimodal, or verified tool-calling capabilities.


Answers to Frequently Asked Questions

What are the main deployment requirements and limitations of Qwen3Guard-Stream-8B?
Qwen3Guard-Stream-8B is an approximately 8 billion-parameter BF16 model intended for local or self-managed inference. It requires substantial memory and compute, adds latency and integration complexity, and works most naturally with Qwen3 token IDs. Output from models using another tokenizer must be re-tokenized for incremental moderation.
What safety labels and categories does Qwen3Guard-Stream-8B support?
The model assigns content to three outcomes: Safe, Controversial, or Unsafe. Its documented coverage includes violence, illegal acts, sexual content, personally identifiable information, suicide and self-harm, unethical acts, politically sensitive topics, copyright violations, and jailbreak attempts for inputs.
What is Qwen3Guard-Stream-8B used for?
Qwen3Guard-Stream-8B is an open-weight safety classifier designed to moderate prompts and language-model responses as they are streamed. It returns safety classifications and scores rather than generating general-purpose answers.
How does token-level moderation work in Qwen3Guard-Stream-8B?
An application sends the generated response tokens to Qwen3Guard-Stream-8B as they arrive. If the model detects unsafe content, the application can stop the response, request a safer continuation, apply a stricter policy, or send the case for review.


Sources 5
AI Provider

About Qwen