{"uid":"cap_9YDgKeTYdqu-O0YDnGiwI","slug":"x402-nvidia-gemma-4-31b-nim-chat-completions-02983d0c","name":"X402-NVIDIA Gemma-4-31B NIM Chat Completions","description":"Access 48+ NVIDIA NIM AI models via x402 micropayments. Chat completions, vision, safety, translation, and more.","url":"https://x402-nvidia.vercel.app/api/gemma-4-31b","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.186144","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.186144/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.186144","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.186144","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4FOePo3En56dy1reEt6yy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.186144","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs inference on NVIDIA's Gemma-4-31B NIM model via x402 micropayments, returning chat completion responses","exampleAgentPrompt":"Ask the Gemma-4-31B model hosted on NVIDIA NIM to explain the difference between supervised and unsupervised learning in simple terms — pay per call using my x402 wallet.","exampleUseCases":[{"title":"Translate technical docs on demand","prompt":"Use the NVIDIA NIM Gemma-4-31B model to translate this paragraph of technical documentation from English to Spanish — charge my x402 wallet per call, no subscription needed."},{"title":"Summarize research paper quickly","prompt":"Send this abstract from a machine learning research paper to the Gemma-4-31B model on NVIDIA NIM and get a concise plain-English summary back — pay for it with my x402 USDC wallet."},{"title":"Generate code review feedback","prompt":"Pass this Python function to the Gemma-4-31B NIM model and ask it to review the code for bugs, readability, and best practices — use my x402 micropayment wallet to cover the inference cost."}],"resultDescription":"Returns a JSON object with a 'choices' array containing the model's generated assistant message, including the role ('assistant') and content text of the response.","failureModes":["Payment failure if x402 wallet has insufficient USDC funds","Model overload or NVIDIA NIM upstream timeout returning 5xx","Invalid or malformed request body missing required message fields","Rate limiting or quota exceeded on the NVIDIA NIM backend","Model not available or temporarily offline returning 503"],"whenToPreferThis":"Choose this endpoint when you need chat completions from Google's Gemma-4-31B model specifically, hosted on NVIDIA's NIM infrastructure, and want to pay per call via x402 USDC micropayments without a subscription. Ideal for agents that need pay-as-you-go LLM inference without pre-committing to API keys or monthly plans.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:51.415Z","isFirstParty":false}