{"uid":"cap_CmKGZGrE4qpiRjGzke1cj","slug":"laminarity-relay-glm-5-3-flash-chat-completions-7d7c8d40","name":"Laminarity Relay – GLM-5.3-Flash Chat Completions","description":"Pay-per-request LLM inference for AI agents, served by open-weight models (DeepSeek, GLM, MiniMax). OpenAI-compatible; paid in USDC via x402 — no signup, no API keys.","url":"https://api.laminarity.uk/v1/glm-5.3-flash/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["zai-org/GLM-5.3-Flash"],"type":"string","default":"zai-org/GLM-5.3-Flash","description":"Model id from GET /v1/models."},"stream":{"type":"boolean","default":false},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","minimum":1,"description":"Upper bound on completion tokens; lower values cost less."},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-example","model":"zai-org/GLM-5.3-Flash","usage":{"total_tokens":12,"prompt_tokens":9,"completion_tokens":3},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello!"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00123","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.00123/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00123","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.00123","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nma4uKhfjpAkKYPiuyYWa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.00123","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-request OpenAI-compatible chat completion using GLM-5.3-Flash, billed in USDC via x402 with no signup or API keys required.","exampleAgentPrompt":"Using GLM-5.3-Flash on Laminarity, generate a chat completion for this conversation: system says 'You are a concise assistant', user asks 'What is the capital of France?' — keep max tokens to 50 and temperature at 0.3.","exampleUseCases":[{"title":"Autonomous agent reasoning step","prompt":"I need you to call GLM-5.3-Flash on Laminarity to think through this sub-task: given the system prompt 'You are a planning assistant', ask it 'Break down the steps to plan a product launch' — use a temperature of 0.7 and cap the response at 300 tokens."},{"title":"Cheap bulk content drafting","prompt":"Use the GLM-5.3-Flash model on Laminarity to draft a short product description — system prompt is 'You are a copywriter', user message is 'Write a 2-sentence description for a reusable water bottle.' Keep max_tokens at 80 and temperature at 0.5."},{"title":"Anonymous one-off code explanation","prompt":"Without setting up any account or API key, hit Laminarity's GLM-5.3-Flash endpoint and ask it to explain what this Python snippet does: 'for i in range(10): print(i**2)' — no system prompt needed, temperature 0, max 150 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's reply text, the model used, finish reason (e.g. 'stop'), and token usage breakdown (prompt, completion, and total tokens).","failureModes":["Payment failure: x402 payment not accepted or insufficient USDC balance — request rejected before inference","Invalid model ID: sending a model name other than 'zai-org/GLM-5.3-Flash' returns a 400 or model-not-found error","Malformed messages array: missing required 'role' or 'content' fields causes a validation error","max_tokens too low: completion may be truncated or return finish_reason 'length' unexpectedly","Temperature out of range: values outside 0–2 are rejected with a validation error","Rate or capacity limits: open-weight model backend may return 503 or timeout under high load","Streaming not supported in all client contexts: stream:true may cause parse issues if client expects buffered JSON"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible chat completions with zero onboarding friction — no account, no API key, just USDC micropayments via x402. It is ideal for AI agents that dynamically spin up LLM calls, need cost-per-call billing in stablecoin, or want to use the GLM-5.3-Flash open-weight model specifically. Prefer it over OpenAI or Anthropic direct APIs when anonymity, pay-as-you-go USDC billing, or avoiding vendor lock-in matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:41:08.389Z","isFirstParty":false,"canonicalSlug":"laminarity-relay-glm-5-3-flash-chat-completions-7d7c8d40"}