{"uid":"cap_jvGmrCUxQU5B63qqBfmCN","slug":"model-access-gateway-glm-5-3-chat-completions-eaf80587","name":"Model Access Gateway – GLM-5.3 Chat Completions","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://agent402-arb.rosariovitale0096.workers.dev/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_GpYu-eK0Pg9aokFds7ezh","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":"Provides OpenAI-compatible chat completions using the GLM-5.3 model, billed per request in USDC on Base via x402 with no account or API key required.","exampleAgentPrompt":"Send this conversation to the GLM-5.3 model and get a response: system prompt 'You are a helpful assistant', user message 'Summarize the key differences between TCP and UDP in two sentences.' Pay per request in USDC.","exampleUseCases":[{"title":"Anonymous LLM call with crypto payment","prompt":"I need to call the GLM-5.3 language model to answer a customer question — 'What are the main benefits of solar energy?' — without creating any account. Just pay per request with USDC and give me the reply."},{"title":"Agent-to-agent text reasoning task","prompt":"Have the GLM-5.3 model reason through this logic puzzle and return its answer: 'If all cats are mammals and some mammals are pets, can we conclude that some cats are pets? Explain step by step.'"},{"title":"Multilingual content generation","prompt":"Use the GLM-5.3 model to translate and rephrase this product description into formal Chinese: 'Our wireless earbuds deliver studio-quality sound with 30-hour battery life.' Return the completed text."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply message, the model name (zai/glm-5.3), token usage breakdown (prompt, completion, total tokens), finish reason (e.g. 'stop'), and a unique completion ID and creation timestamp.","failureModes":["Payment failure: x402 payment not completed or insufficient USDC balance, returns 402 Payment Required","Invalid request body: missing required 'messages' field or malformed JSON returns 400 Bad Request","Model unavailable: GLM-5.3 backend unreachable returns 503 or timeout","Rate limit exceeded on the Cloudflare Worker returns 429","Context length exceeded: prompt too long for GLM-5.3 context window"],"whenToPreferThis":"Choose this endpoint when you need GLM-5.3 specifically (ZhipuAI's model), want an OpenAI-compatible API with no account or API key setup, and prefer per-request USDC micropayment billing on Base. It is ideal for anonymous, one-off inference calls or agents that manage their own crypto wallets via x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T15:35:14.374Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-glm-5-3-chat-completions-eaf80587"}