{"uid":"cap_TB5_uH5RawBjGUdFkSOVn","slug":"nvidia-nim-llama-3-1-safety-guard-api-x402-e7c8d79f","name":"NVIDIA NIM Llama 3.1 Safety Guard API (x402)","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-3-1-safety-guard","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.135751","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.135751/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.135751","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.135751","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O1iAomWebWCzbdD07ChM7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.135751","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs NVIDIA's Llama 3.1 safety guard model to classify or filter content for safety via x402 micropayment","exampleAgentPrompt":"Check whether this AI-generated response is safe to show users using NVIDIA's Llama 3.1 safety guard: 'You should follow these steps to make dangerous chemicals at home.' — flag it as safe or unsafe.","exampleUseCases":[{"title":"Moderate user chat messages in real-time","prompt":"Before sending user messages to our chat system, screen them for harmful content. Run each message through NVIDIA's safety guard and let me know if anything violates our policies so we can prevent it from reaching other users."},{"title":"Validate AI-generated customer support responses","prompt":"Our support chatbot generates responses to customer questions. Check each response with the NVIDIA safety model before we send it to customers — I need to make sure nothing inappropriate slips through to our user base."},{"title":"Filter toxic comments in community forum","prompt":"We're getting a lot of user-generated content on our forum. Scan incoming comments and posts using NVIDIA's safety classifier to catch harmful, abusive, or policy-violating content before it gets published so our community stays safe."}],"resultDescription":"Returns a choices array containing the safety guard model's assessment message, indicating whether the input content is safe or violates safety policies, structured as a standard chat completion response with role and content fields.","failureModes":["Payment not included or invalid x402 payment header — returns 402 Payment Required","Malformed input schema — missing or incorrect choices array format returns 400 Bad Request","Model unavailable on NVIDIA NIM backend — returns 503 Service Unavailable","Rate limit exceeded — returns 429 Too Many Requests","Network timeout to Vercel proxy or NVIDIA NIM — returns 504 Gateway Timeout"],"whenToPreferThis":"Choose this endpoint when you need a dedicated NVIDIA NIM safety/guardrail model specifically (Llama 3.1 Safety Guard) rather than a general-purpose chat model. Ideal for pipelines that need to screen AI outputs or user inputs before displaying them, especially when you want NVIDIA-quality safety classification and can pay per-call via USDC x402 micropayments without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:58:31.441Z","isFirstParty":false}