{"uid":"cap_dg3cCcWbCFNJtJEeULDR0","slug":"model-access-gateway-glm-5-3-chat-completions-x402-usdc-78bba063","name":"Model Access Gateway – GLM-5.3 Chat Completions (x402, USDC)","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://modelaccessgateway.com/llm/glm-5.3?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (zai/glm-5.3)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"zai/glm-5.3","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0014","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.0014/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0014","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vgt8vsj2pPi1W9GT8uls0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0014","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions using the GLM-5.3 model, billed per call in USDC on Base via x402 with no account or API key required.","exampleAgentPrompt":"Using the GLM-5.3 model on Model Access Gateway — no API key needed, just pay in USDC — send it these messages: system: 'You are a concise assistant', user: 'Summarize quantum entanglement in two sentences.' Use up to 300 tokens and a temperature of 0.7.","exampleUseCases":[{"title":"Crypto-native agent calling GLM","prompt":"I need to call the GLM-5.3 model to answer a user question — 'What are the main risks of DeFi lending?' — without setting up any account. Pay per call in USDC, keep the response under 500 tokens."},{"title":"Multilingual content generation","prompt":"Use GLM-5.3 to translate and rephrase this product description into fluent Mandarin: 'Our wireless earbuds deliver studio-quality sound with 30-hour battery life.' Temperature 0.5, max 256 tokens."},{"title":"Tool-augmented reasoning pipeline","prompt":"Send a chat request to GLM-5.3 with tool calling enabled — pass it the user message 'What is the current weather in Shanghai?' along with a get_weather tool definition, and stream the response back to me as server-sent events."}],"resultDescription":"Returns a JSON chat completion object in OpenAI format containing the assistant's reply message, finish reason (e.g. 'stop'), prompt/completion/total token counts, model identifier ('zai/glm-5.3'), a unique completion ID, and a created timestamp. If the model fails, the payment is automatically refunded.","failureModes":["Model inference failure triggers automatic USDC refund","Malformed messages array or missing required 'role' field returns 400","max_tokens exceeds 16384 ceiling returns validation error","Payment not completed via x402 results in 402 response with payment details","Streaming may be interrupted if connection drops mid-response","temperature outside 0–2 range rejected","Empty messages array rejected (minItems: 1)"],"whenToPreferThis":"Choose this endpoint when you need GLM-5.3 (Zhipu AI) specifically — particularly for Mandarin-centric tasks or when you want a Chinese frontier model — and want to pay per call in USDC on Base without creating an account or managing API keys. It is ideal for autonomous agents that need keyless, trustless, micropayment-gated LLM inference with automatic refund guarantees on failure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T08:33:49.137Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-glm-5-3-chat-completions-x402-usdc-78bba063"}