{"uid":"cap_QVT76lzebVQanxf7IOVny","slug":"x402donghang-grok-4-5-high-chat-completions-9e393265","name":"x402donghang Grok 4.5 High Chat Completions","description":"GLM 5.2 chat via x402. OpenAI-compatible /v1/chat/completions, streaming supported. Listed as glm-5.2. $0.001 USDC per request on Base/Solana mainnet. See GET /x402/v1/models for the full chat catalog.","url":"https://x402donghang.duckdns.org/x402/v1/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Use \"glm-5.2\""},"stream":{"type":"boolean"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"number"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-x402","model":"glm-5.2","object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello!"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UWasMoauDigKEBxqln0N4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Serves OpenAI-compatible chat completions using the Grok 4.5 High model, with streaming support, payable per-request via x402 on Base/Solana mainnet.","exampleAgentPrompt":"Use the Grok 4.5 High model to answer this question with detailed reasoning: what are the key differences between proof-of-work and proof-of-stake consensus mechanisms?","exampleUseCases":[{"title":"Frontier reasoning for agent pipeline","prompt":"I need you to use the Grok 4.5 High model to analyze this legal clause and explain the key obligations and risks it creates for both parties — stream the response as it comes in."},{"title":"Pay-per-use LLM without subscription","prompt":"Can you call the Grok 4.5 High chat API for me and ask it to write a detailed technical explanation of how transformers work, up to 1000 tokens? I want to pay per request rather than sign up for another subscription."},{"title":"Creative writing with high-capability model","prompt":"Use Grok 4.5 High to write the opening chapter of a sci-fi short story about an AI waking up on a generation ship — make it around 800 tokens and stream the output so I can read it as it appears."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's generated message, finish reason, model identifier ('grok-4.5-high'), and a completion ID. Streaming mode returns server-sent event chunks in the standard OpenAI delta format.","failureModes":["Payment not received or insufficient USDC balance — returns HTTP 402 with payment instructions","Invalid model name (must be exactly 'grok-4.5-high') — returns 400 or model-not-found error","Malformed messages array (missing role or content fields) — returns 422 validation error","max_tokens exceeds model context limit — response truncated or error returned","Network timeout on long generations — partial response or connection reset","Upstream xAI API downtime — service may be temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need access to the Grok 4.5 High model specifically — a high-capability frontier LLM — without a standing subscription, paying only $0.01 USDC per request via the x402 protocol on Base or Solana. It is ideal for agents that require sporadic but powerful reasoning, creative generation, or complex instruction-following, especially in crypto-native or agent-to-agent workflows where micropayments are the preferred billing model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:52.279Z","isFirstParty":false}