{"uid":"cap_NiEKa8xidgISXbSdjA60V","slug":"llama-guard-3-8b-content-moderation-via-x402-f6cb7295","name":"Llama Guard 3 8B Content Moderation via x402","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://ged-x402-media.jvalamis.workers.dev/v1/guard/llama-guard-3-8b","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object"}},"max_tokens":{"type":"integer"}}},"responseSchema":{"type":"json","example":{"safe":true,"categories":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QA03OD36Yg-UxW6SOmeq7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":null,"resultDescription":"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).","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:31.063Z","isFirstParty":false}