AI Prosumer
EN
IBM

granite3-guardian

Get API key
ibm/granite3-guardian:latest

The IBM Granite Guardian 3.0 2B and 8B models are designed to detect risks in prompts and/or responses.

Input → Output
Text Text
Input / Output · per 1M tokens
Not available in Credits
Context window
8,192 tokens
License: open_source

From model to application

Quick Start

API reference
  1. Get your API key

    Create a key in the ShareAI Console, then save it as an environment variable on your server.

    Create API key
    Environment variable
    export SHAREAI_API_KEY="your-api-key"
  2. Choose your endpoint

    Choose a tag available in this access view to see its API request.

Pricing

No Credits offer for this tag

Choose another Credits tag or explore Token Exchange in Network.

Explore Network →

A little more detail

Frequently asked questions

What is granite3-guardian?

The IBM Granite Guardian 3.0 2B and 8B models are designed to detect risks in prompts and/or responses.

How much does granite3-guardian cost?

A per-token price has not been published for this tag. Check your Console for available access and current pricing.

What inputs and outputs does granite3-guardian support?

Inputs: Text. Outputs: Text. These capabilities apply to the selected model tag. Check the endpoint documentation for supported request formats.

What is the context length of granite3-guardian?

This tag has a context window of 8,192 tokens. Context size and pricing thresholds are separate. Request limits can be lower for a particular deployment.

How do I use granite3-guardian with ShareAI?

Create an API key in the ShareAI Console, choose a model tag, and send an authenticated request to the endpoint in Quick Start. Your key must have access to the chosen model. Keep your key on your server.