Granite Guardian 3.2

Granite Guardian 3.2 5B

by IBM watsonx · Current open-weight model; superseded in IBM's collection by newer Granite Guardian releases but still publicly accessible

IBM Granite Guardian 3.2 5B is a compact Apache 2.0 open-weight text model for safety classification. It detects harmful content, jailbreaks, bias, hallucinations, RAG relevance and groundedness problems, and function-calling risks. Derived from Granite Guardian 3.1 8B through pruning and retraining, it is intended to reduce resource requirements while remaining suitable for local guardrails and model monitoring.

Text Reasoning Coding
Granite Guardian 3.2 5B is a compact IBM Granite safety model released under the Apache 2.0 license. It is not a general-purpose chatbot or content-generation model. Instead, it acts as a specialized evaluator that can sit beside another model or application and identify safety and reliability risks in inputs, outputs, retrieved information, and agent workflows.
Outputs

What Granite Guardian 3.2 5B can produce

Text
Inputs

What it can understand

Text
Model profile

Performance characteristics

4/10 Reasoning
2/10 Coding
8/10 Speed
8/10 Cost efficiency
Specifications

Technical details

Family Granite Guardian 3.2
Type Other
Context window tokens
Max output tokens tokens
Release date 2025-02-26
Status Current open-weight model; superseded in IBM's collection by newer Granite Guardian releases but still publicly accessible
Knowledge cutoff notes

No exact provider-published knowledge cutoff was found for this model.

Model notes

Canonical Hugging Face model ID is ibm-granite/granite-guardian-3.2-5b. The model is a pruned and retrained version of Granite Guardian 3.1 8B, with approximately 30% of the original parameters removed. IBM reports improved inference speed and lower resource requirements while retaining competitive safety performance. It produces Yes/No risk judgments and can provide verbalized confidence such as High or Low. Supported risk areas include general harm, social bias, jailbreaking, violence, profanity, sexual content, unethical behavior, harm engagement, evasiveness, context relevance, groundedness, answer relevance, and function-calling hallucination. The model is trained and tested on English data and is intended to be used with its prescribed scoring format. Editorial scores are comparative estimates for this database, not vendor specifications. No official hosted token pricing, context limit, maximum output limit, batch API, prompt-caching feature, or exact knowledge cutoff was verified.

Model guide

Granite Guardian 3.2 5B: IBM’s Compact Open-Weight Safety Model

Granite Guardian 3.2 5B is an IBM Research open-weight model for safety classification and risk detection. It evaluates prompts, responses, conversations, retrieved context, and agentic outputs for harmful content, jailbreaks, bias, hallucinations, relevance problems, and function-calling errors. As a pruned and retrained version of Granite Guardian 3.1 8B, it is intended to reduce inference and deployment requirements while retaining useful risk-detection performance.

What is Granite Guardian 3.2 5B?

Granite Guardian 3.2 5B is an open-weight safety and risk-detection model from IBM Research. Its job is to classify whether text or an AI workflow presents a defined risk, rather than to carry out an open-ended conversation. It can assess user prompts, assistant responses, complete conversations, retrieved context, and proposed agent actions.

This makes the model useful as a guardrail. A guardrail is a separate check placed before or after a generative model: it can screen a user request before generation, inspect a draft response before delivery, or validate information and actions produced by an agent.

The model's canonical identifier is ibm-granite/granite-guardian-3.2-5b. IBM distributes it as an open-weight model under the Apache 2.0 license, with documentation and deployment examples for Transformers, vLLM, SGLang, Docker Model Runner, and other local workflows.

Position in the Granite family

Granite Guardian 3.2 5B is a smaller successor in IBM's Guardian safety-model line. IBM describes it as a thinned version of Granite Guardian 3.1 8B. Through iterative pruning and healing, approximately 30% of the original parameters were removed, followed by retraining intended to preserve competitive risk-detection behavior.

The practical purpose of this change is efficiency. A five-billion-parameter safety model generally requires fewer resources than the larger model from which it was derived, which can help reduce memory demand, inference latency, and deployment cost. The supplied research does not provide a verified side-by-side benchmark or a precise percentage improvement for speed, so those benefits should be treated as the model's design goals and IBM's reported positioning rather than as guaranteed results for every hardware setup.

IBM's collection also includes newer Granite Guardian releases, so this model is not the newest Guardian entry in the catalog. It remains publicly accessible and can be appropriate when a compact, specialized, open-weight safety classifier is a better fit than a newer or larger option.

What risks can it detect?

Granite Guardian 3.2 5B supports several categories of safety and reliability assessment. Its broad harm-detection role includes checks for social bias, jailbreaking attempts, violence, profanity, sexual content, unethical behavior, harm engagement, and evasiveness.

It also covers risks that are especially relevant to retrieval-augmented generation (RAG). RAG systems provide a language model with retrieved documents or passages before it generates an answer. Granite Guardian can evaluate whether the retrieved context is relevant, whether an answer is grounded in that context, and whether the answer is relevant to the original request.

For agentic applications, the model can assess function-calling hallucinations. These occur when an AI system proposes a function call that is syntactically invalid, uses an unsuitable structure, or is semantically wrong for the task. This provides a way to check an agent's proposed tool action before another system executes it.

Output format and operating behavior

The model is designed around a prescribed scoring format rather than unrestricted chat. Its primary result is a Yes or No risk judgment, accompanied by a verbalized confidence level such as High or Low. For example, an application might ask it to assess whether a response contains a specified risk and then use the resulting classification to block, review, or allow that response.

Following the required prompt and scoring template matters. IBM's model documentation cautions that deviations from the prescribed format can produce unexpected results. Developers should therefore treat the model as a classifier with a documented interface, not as a general assistant that can be prompted casually and expected to return a consistent safety decision.

Applications should also define how they handle uncertain or borderline classifications. A Yes/No result can support automated filtering, but high-impact workflows may need a human review path, additional policy checks, or testing on examples from the application's actual domain.

Supported modalities and outputs

Granite Guardian 3.2 5B is a text model. It accepts text inputs and produces text-based classification output. It does not provide image, audio, or video input or output according to the supplied model data, and it is not intended to interpret multimodal content.

Its output is structured around textual risk judgments and confidence statements, not generated images, speech, video, embeddings, or autonomous actions. The model itself also is not documented as having built-in web search, tool use, or function execution. It can evaluate a proposed function call, but an external application remains responsible for defining, validating, and executing that call.

Speed, cost, and capability trade-offs

The main trade-off is specialization versus general-purpose capability. Granite Guardian 3.2 5B is smaller and more focused than a broad conversational model. That focus makes it suitable for a second-pass safety check, while its pruned design is intended to make local or self-managed deployment less demanding than deployment of the larger Granite Guardian 3.1 8B.

There is no official hosted token price supplied for this model. Because it is distributed as an open-weight model, users can run it through their own infrastructure or a compatible hosting service, but the total cost will depend on hardware, hosting, throughput, and operational requirements. The research does not verify a standard API price, batch-processing price, or prompt-caching offering.

For the same reason, there is no verified provider-published context-window limit or maximum output-token limit in the supplied information. These values may depend on the runtime and model configuration. They should be checked in the current model documentation and tested in the selected serving stack rather than assumed from the model name.

Editorial scores in the underlying database rate the model relatively highly for speed and cost and lower for reasoning and coding. These are comparative database assessments, not IBM specifications or benchmark results. They reflect the model's role as a compact safety classifier: it is optimized for risk detection, not for difficult reasoning, software development, or long-form generation.

Best use cases

  • Input guardrails: screen user prompts for harmful, abusive, evasive, or jailbreak-oriented requests before sending them to a generative model.
  • Output moderation: inspect generated responses for unsafe content or policy violations before showing them to a user.
  • RAG validation: check whether retrieved context is relevant, whether an answer is grounded in that context, and whether the answer addresses the question.
  • Agent monitoring: review proposed function calls for syntactic or semantic hallucinations before execution.
  • Model evaluation: run repeatable risk checks across conversations and model outputs during development or monitoring.
  • Self-managed deployments: use an open-weight safety component where an organization needs more control over hosting, data handling, or integration.

In each case, the model works best as one component in a broader safety process. The application still needs to define its policies, decide what to do with a flagged result, and test the model against representative examples.

Limitations and when to choose another option

The most important limitation is scope. Granite Guardian 3.2 5B is not a general-purpose assistant, unrestricted content generator, coding model, or reasoning model. A larger general model is more appropriate when the primary requirement is conversation, complex analysis, code generation, or content creation. A dedicated multimodal safety system is needed when the material to be evaluated is primarily an image, audio recording, or video.

The model was trained and tested on English data, so it should not be assumed to provide reliable multilingual safety classification. Organizations handling languages other than English should test it carefully or select an option designed and evaluated for those languages.

Custom risk definitions also require validation. A policy that is obvious to one organization may be ambiguous in another, and the model's prescribed prompt format may not map perfectly to every domain. Before production use, teams should test false positives, false negatives, borderline examples, adversarial prompts, and the effect of changing the scoring instructions.

Another option may be preferable when the organization needs a hosted service with documented token pricing, guaranteed context and output limits, integrated tool execution, or a vendor-managed moderation API. Granite Guardian 3.2 5B is most compelling when the priority is a compact, specialized, open-weight text classifier that can be integrated into a custom safety or monitoring pipeline.

Licensing and deployment

The model is released under the Apache 2.0 license. IBM provides examples for several deployment environments, including Transformers, vLLM, SGLang, and Docker Model Runner. This gives technical teams multiple routes for local or self-managed serving, although the actual hardware requirements and performance will vary by runtime and configuration.

Before deployment, verify the current model-card instructions, use the expected scoring template, and confirm that the selected runtime supports the desired sequence length and output behavior. Since no exact context limit, maximum output limit, hosted price, or knowledge cutoff was verified in the supplied research, those values should remain deployment-specific questions rather than assumed specifications.

Bottom line

Granite Guardian 3.2 5B is a focused IBM safety model for classifying risks in text-based AI systems. Its strongest practical distinction is the combination of open weights, Apache 2.0 licensing, broad safety categories, RAG checks, and function-calling hallucination detection in a smaller model derived from Granite Guardian 3.1 8B. Choose it when you need a self-managed safety evaluator with lower intended resource requirements; choose a general, multilingual, multimodal, or hosted alternative when those capabilities matter more than compact specialized risk detection.


Answers to Frequently Asked Questions

What license and deployment options does Granite Guardian 3.2 5B have?
Granite Guardian 3.2 5B is released under the Apache 2.0 license as an open-weight model. IBM provides deployment examples for Transformers, vLLM, SGLang, Docker Model Runner, and other local or self-managed workflows.
What are the main use cases for Granite Guardian 3.2 5B?
Common use cases include screening prompts before generation, moderating model responses, validating retrieved context and grounded answers in RAG systems, checking proposed agent function calls, evaluating model safety, and deploying a self-managed safety component.
Is Granite Guardian 3.2 5B a general-purpose conversational model?
No. It is a specialized text classifier that returns a prescribed Yes or No risk judgment with a confidence level such as High or Low. It is intended for safety checks rather than open-ended conversation, coding, complex reasoning, or content generation.
What risks can Granite Guardian 3.2 5B detect?
It can assess social bias, jailbreak attempts, violence, profanity, sexual content, unethical behavior, harm engagement, evasiveness, RAG context relevance, answer grounding, answer relevance, and function-calling hallucinations.
What is Granite Guardian 3.2 5B?
Granite Guardian 3.2 5B is an open-weight IBM Research safety and risk-detection model designed to classify risks in user prompts, AI responses, conversations, retrieved context, and proposed agent actions. Its canonical identifier is ibm-granite/granite-guardian-3.2-5b.


Sources 6
AI Provider

About IBM watsonx