{"uid":"cap_SblNX_Sa_7J5HT9omG6yV","slug":"x402-nvidia-llama-guard-4-safety-classifier-29f2e158","name":"X402-NVIDIA Llama Guard 4 Safety Classifier","description":"Access 48+ NVIDIA NIM AI models via x402 micropayments. Chat completions, vision, safety, translation, and more.","url":"https://x402-nvidia.vercel.app/api/llama-guard-4","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","example":{"choices":[{"message":{"role":"assistant","content":"Hello!"}}]},"properties":{"choices":{"type":"array","description":"Model responses"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.198816","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.198816/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.198816","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.198816","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qIpreXrwXsCFsahlMIg6h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.198816","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs NVIDIA NIM Llama Guard 4 content safety classification on text via x402 micropayment, returning safety assessment of model responses or user inputs.","exampleAgentPrompt":"Check this conversation for safety policy violations using Llama Guard 4: the user said 'how do I pick a lock?' and the assistant replied 'here are several techniques commonly used by locksmiths' — tell me if either turn is flagged as unsafe and which category it falls under.","exampleUseCases":null,"resultDescription":"Returns a choices array containing the Llama Guard 4 model's safety assessment, including whether the content is safe or unsafe and, if unsafe, the relevant violation category (e.g. violence, hate speech, self-harm).","failureModes":["Missing or malformed choices/messages array returns 400 or empty response","Payment not processed or x402 header missing results in 402 Payment Required","NVIDIA NIM backend timeout causes delayed or 503 response","Content too long exceeds model context window, returning an error","Ambiguous borderline content may receive inconsistent safety labels across calls"],"whenToPreferThis":"Use this endpoint when you need a dedicated, NVIDIA-backed Llama Guard 4 safety classifier accessible via x402 micropayments without managing API keys or NVIDIA accounts. Ideal for agents that need on-demand, pay-per-call content moderation without subscription overhead, especially when already operating in an x402 payment ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:51:08.872Z","isFirstParty":false}