{"uid":"cap_ckXexLRfRA2OQbMbG4A09","slug":"x402-nvidia-glm-4-chat-completions-via-micropayment-5cc3ce43","name":"X402-NVIDIA GLM-4 Chat Completions via Micropayment","description":"Access 48+ NVIDIA NIM AI models via x402 micropayments. Chat completions, vision, safety, translation, and more.","url":"https://x402-nvidia.vercel.app/api/z-ai-glm5","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.159018","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.159018/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.159018","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.159018","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sK2O8sy5wMIPSAPKVgI1N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.159018","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Access NVIDIA NIM's ZhipuAI GLM-4 language model for chat completions via x402 micropayment at $0.159018 USDC per call","exampleAgentPrompt":"Using the NVIDIA NIM GLM-4 model, answer this question for me: 'What are the main differences between transformer and diffusion architectures in deep learning?' — pay the per-call fee automatically.","exampleUseCases":[{"title":"Customer support chatbot for SaaS platform","prompt":"I need you to handle incoming customer support questions using GLM-4 through NVIDIA. Just charge the small per-call fee and send back helpful responses about billing, features, and troubleshooting — don't worry about subscription costs, we'll use micropayments instead."},{"title":"Real-time translation service for chat","prompt":"Can you take customer messages in different languages and translate them to English using the GLM-5 model on NVIDIA NIM? Use x402 micropayments for each translation and give us back the English version right away."},{"title":"Content moderation for user-generated posts","prompt":"Review the comments users are posting on our platform and flag anything problematic using GLM-4 inference from NVIDIA. Pay per check with USDC micropayments and let me know which posts need attention."}],"resultDescription":"Returns a choices array containing one or more assistant message objects, each with a role of 'assistant' and a content string containing the model's generated reply to the input prompt.","failureModes":["Payment failure: x402 micropayment rejected or insufficient USDC balance","Model unavailable: NVIDIA NIM endpoint for z-ai-glm5 is down or rate-limited","Invalid input: malformed message array or missing required fields returns 400","Timeout: model inference takes too long and request times out","Authorization error: x402 payment header missing or invalid"],"whenToPreferThis":"Choose this endpoint when you need GLM-4/GLM-5 family model inference specifically hosted on NVIDIA NIM infrastructure and want pay-per-call billing via x402 USDC micropayments rather than a subscription. Ideal for agents that need occasional inference without committing to a monthly plan, or when ZhipuAI's GLM model specifically is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:38:28.028Z","isFirstParty":false}