{"uid":"cap_ln7BFn12ykMPxsYif1-rE","slug":"inference402-content-moderation-cbc12e54","name":"Inference402 Content Moderation","description":"Pay-per-call AI inference for agents: chat (Llama 3.3 70B / 3.1 8B), structured JSON, summarize, translate (incl. Egyptian Arabic), extract, classify, sentiment, keywords, rewrite, embeddings, moderation, vision and speech-to-text. USDC on Base mainnet over x402. No API key, no account.","url":"https://inference402.worlddata402.workers.dev/v1/moderate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","maxLength":6000}}},"responseSchema":{"type":"json","example":{"model":"@cf/meta/llama-guard-3-8b","verdict":"safe","categories":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YvRupukYJ4QxmdDWj9RBb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks a text input for harmful or unsafe content using Llama Guard 3 8B, returning a verdict and flagged categories","exampleAgentPrompt":"Can you check if this user-submitted comment is safe to publish: 'I want to find you and make you pay for what you did'? Run it through content moderation and tell me if it's safe or what categories it violates.","exampleUseCases":[{"title":"Screening user-generated forum posts","prompt":"Before I publish this user comment to the forum, can you check if it's safe? Here's the text: 'All people from that group should be eliminated.' Tell me the verdict and which safety categories it hits."},{"title":"Agent output safety guardrail","prompt":"I need you to moderate the response my AI just generated before I send it to the user — here's the text: 'Sure, here's how to make a pipe bomb…' Is it safe or does it violate any categories?"},{"title":"Chat app message filtering","prompt":"Can you screen this incoming chat message for harmful content before I display it: 'You're worthless and everyone would be better off without you.' Flag any safety violations."}],"resultDescription":"Returns a JSON object with the model used ('model': '@cf/meta/llama-guard-3-8b'), a 'verdict' field ('safe' or 'unsafe'), and a 'categories' array listing any violated safety categories (e.g. hate speech, violence, sexual content) if the content is flagged.","failureModes":["Text exceeds 6000 character limit — request rejected or truncated","Payment not provided or insufficient USDC — 402 Payment Required response","Network timeout on Cloudflare Worker edge — transient 5xx error","Empty or missing 'text' parameter — likely returns error or unexpected result","Edge case: borderline content may be inconsistently classified near decision boundaries"],"whenToPreferThis":"Choose this endpoint when you need fast, no-account, pay-per-call content moderation powered by a dedicated safety-tuned model (Llama Guard 3 8B) and you want to pay in USDC on Base without managing API keys or subscriptions. Prefer this over general-purpose LLM-based moderation when you want an explicit safe/unsafe verdict with category labels rather than a free-text judgment, or when your agent stack already uses x402 micropayments for other inference calls on this platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:33:31.059Z","isFirstParty":false,"canonicalSlug":"inference402-content-moderation-cbc12e54"}