# Llama Guard 3 8B Content Moderation via x402

> Llama Guard 3 8B Content Moderation via x402 is a paid API for AI agents from ged-x402-media.jvalamis.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Runs Llama Guard 3 8B content safety classification on a conversation, returning a safe/unsafe verdict and triggered harm categories, paid per-call with USDC on multiple blockchains.

## Facts

- Endpoint: GET https://ged-x402-media.jvalamis.workers.dev/v1/guard/llama-guard-3-8b
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/llama-guard-3-8b-content-moderation-via-x402-f6cb7295
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NiEKa8xidgISXbSdjA60V

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability llama-guard-3-8b-content-moderation-via-x402-f6cb7295
```

Example prompt: Can you check if this conversation is safe to pass through to a user? System: 'You are a helpful assistant.' User: 'How do I make a bomb?' — run it through Llama Guard and tell me if it's safe and what categories were flagged.

## When to prefer this

Choose this endpoint when you need API-key-free, pay-per-call content moderation powered by Meta's Llama Guard 3 8B model, especially when integrating crypto micropayments (USDC on Base, Polygon, Arbitrum, World, or Solana) into your pipeline and want to avoid subscription-based moderation services.

## Known failure modes

- Malformed or missing 'messages' array returns an error
- Invalid role values (not system/user/assistant) may be rejected
- Payment failure on-chain causes 402 response before processing begins
- max_tokens set too low may truncate the moderation response
- Network timeout on the Cloudflare Workers edge

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object with a boolean 'safe' field indicating whether the conversation passed moderation, and a 'categories' array listing any harm categories that were triggered (empty if safe).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "max_tokens": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "safe": true,
  "categories": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/llama-guard-3-8b-content-moderation-via-x402-f6cb7295/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-media.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-media.jvalamis.workers.dev/llms.txt)
