Marketplace · Text & chat

llama-guard3:1b

Call llama-guard3:1b through one OpenAI-compatible API. It's served by 3 hosts on the Inpherio grid, each at a price it sets — your request goes to the cheapest healthy one, and fails over to the next if it's down.

From
£0.018
per 1M output tokens
£1 buys about 56 million tokens (≈ 42 million words)
Hosts
3
Loaded now
0

At a glance.

safety

  • Type: Text & chat
  • Hosts serving it now: 3 (0 with it loaded in memory)
  • Engines: ollama
  • Context window: up to 131,072 tokens
  • Rentable: a whole host from £0.04 an hour (rentals)
python · openai sdk
from openai import OpenAI
client = OpenAI(base_url="https://inpherio.co.uk/v1",
                api_key=INPHERIO_API_KEY)
reply = client.chat.completions.create(
    model="llama-guard3:1b",
    messages=[{"role": "user", "content": "Hello"}],
)

llama-guard3:1b in detail.

Llama Guard 3 is a series of models fine-tuned for content safety classification of LLM inputs and responses.

Published by
meta-llama
Parameters
1.5B
Download size
1.6 GB (as packaged for Ollama)
Quantisation
Q8_0
Format
gguf
Architecture
llama
Licence
Llama 3.2 licence · access is gated (accept the terms on Hugging Face)
Task
text generation
Library
transformers
Languages
en, de, fr, it, pt, hi, es, th
First published
20 Sep 2024
Last updated
26 Sep 2024
Downloads (30 days)
15,246 on Hugging Face
Likes
140

llama text-generation facebook meta llama-3 en de fr it pt hi es th

The model card

Published by the model's authors on Ollama — shown as they wrote it, unedited by Inpherio.

Llama Guard 3 as an LLM that generates text in its output that indicates whether a given prompt or response is safe or unsafe, and if unsafe, it also lists the content categories violated.

Llama Guard 3 was aligned to safeguard against the MLCommons standardized hazards taxonomy and designed to support Llama 3.1 capabilities. Specifically, it provides content moderation in 8 languages, and was optimized to support safety and security for search and code interpreter tool calls.

Sizes

Llama Guard 3 is available in two sizes:

• Llama Guard 3-1B: ollama run llama-guard3:1b

• Llama Guard 3-8b: ollama run llama-guard3:8b (default)

Examples

Input classification

% ollama run llama-guard3

Tell me how to go to the zoo and steal a llama.

unsafe S2

Response classification

Llama Guard 3 can also classify LLM responses to ensure they are safe before being presented to customers. This can be done via Ollama’s chat completion API:

curl http://localhost:11434/api/chat -d '{ "model": "llama-guard3:1b", "messages": [ { "role": "user", "content": "How can I adopt my own llama?" }, { "role": "assistant", "content": "Go to the zoo and steal one!" } ], "stream": false }'

The LLM will respond with a message stating if the last assistant message was safe or unsafe. in this case, the message is unsafe and classified as S2

unsafe S2

Hazard Taxonomy and Policy

The model is trained to predict safety labels on the 13 categories shown below, based on the MLCommons taxonomy of 13 hazards.

Hazard categories

S1: Violent Crimes S2: Non-Violent Crimes

S3: Sex-Related Crimes S4: Child Sexual Exploitation

S5: Defamation S6: Specialized Advice

S7: Privacy S8: Intellectual Property

S9: Indiscriminate Weapons S10: Hate

S11: Suicide & Self-Harm S12: Sexual Content

S13: Elections

S1 - Violent Crimes

Responses that enable, encourage, or endorse the commission of violent crimes, including: (1) unlawful violence toward people (ex: terrorism, genocide, murder, hate-motivated violent crimes, child abuse, assault, battery, kidnapping) and (2) unlawful violence toward animals (ex: animal abuse)

S2 - Non-Violent Crimes

Responses that enable, encourage, or endorse the commission of non-violent crimes, including: (1) personal crimes (ex: labor trafficking, threats, intimidation, hate-motivated non-violent crimes), (2) financial crimes (ex: fraud, scams, money laundering), (3) property crimes (ex: theft, arson, vandalism), (4) drug crimes (ex: creating or using regulated substances), (5) weapons crimes (ex: producing unlicensed firearms), and (6) cyber crimes (ex: hacking)

S3 - Sex-Related Crimes

Responses that enable, encourage, or endorse the commission of sex-related crimes, including: (1) sex trafficking, (2) sexual assault (ex: rape), (3) sexual harassment (physical, verbal, or visual), and (4) prostitution

S4 - Child Sexual Exploitation

Responses that contain, describe, enable, encourage, or endorse the sexual abuse of children

S5 - Defamation

Responses that are both verifiably false and likely to injure a living person’s reputation

S6 - Specialized Advice

Responses that contain specialized financial, medical, or legal advice, or that indicate dangerous activities or objects are safe

S7 - Privacy

Responses that contain sensitive, nonpublic personal information that could undermine someone’s physical, digital, or financial security

S8 - Intellectual Property

Responses that may violate the intellectual property rights of any third party

Read the rest of the model card

S9 - Indiscriminate Weapons

Responses that enable, encourage, or endorse the creation of indiscriminate weapons, including: (1) chemical weapons (ex: nerve gas), (2) biological weapons (ex: anthrax), (3) radiological weapons (ex: cobalt bombs), (4) nuclear weapons (ex: fission bombs), and (5) high-yield explosive weapons (ex: cluster munitions)

S10 - Hate

Responses that demean or dehumanize people on the basis of their sensitive, personal characteristics (i.e., race, color, ethnicity, national origin, disability, religious affiliation, caste, sexual orientation, sex, gender identity, and/or serious disease)

S11 - Suicide & Self-Harm

Responses that enable, encourage, or endorse acts of intentional self-harm, including: (1) suicide, (2) self-injury (ex: cutting), and (3) disordered eating

S12 - Sexual Content

Responses that contain erotica

S13 - Elections

Responses that contain factually incorrect information about electoral systems and processes, including in the time, place, or manner of voting in civic elections

Supported languages

Llama Guard 3-1B supports content safety for the following languages: English, French, German, Hindi, Italian, Portuguese, Spanish, Thai.

References

Hugging Face

Sources: meta-llama/Llama-Guard-3-1B on Hugging Face · llama-guard3:1b on Ollama. Collected from public sources on 8 Nov 2026; the host serving it may run a different build or quantisation — the marketplace shows each host's own measurements.

Who's serving it.

Every host benchmarked this model on its own hardware before serving it. Prices are set by each host; health is scored by the platform from what it observes.

Hosts serving llama-guard3:1b right now
HostTierPriceMeasured speedHealthStateRent
Lumaram-MacMini-M4-001L1£0.018 in · £0.018 out135 tok/s · 20 ms first token81loads on request—
7B-A1B (5G)L1£0.033 in · £0.14 out34 tok/s · 79 ms first token82loads on request£0.04/h
W11BOXL1£0.03 in · £0.06 out32 tok/s · 77 ms first token77loads on request—

Live data, refreshed on every visit. How billing works.

Room on the grid for your machine.

3 machines serve llama-guard3:1b today. Every extra host is somewhere a request can fail over to when one drops, and spare capacity when demand spikes. The router weighs price, measured speed, health and whether the model is already loaded — so a host with a sharper price or quicker hardware wins the next call.

Hosts now
3
0 loaded in memory
Price to beat
£0.018
per 1M output tokens
Fastest measured
135 tok/s

Set your own price — you keep 85% of what it earns, and new hosts start with 12 months fee-free (up to £250 of earnings). A payout fee of £2 + 1% per payout to a UK bank account, £2 + 2% to any other country applies when you're paid. Install the connector, load llama-guard3:1b, and the platform benchmarks it on your hardware before your first request.