{"uid":"cap_NOGbDGcOhDQy41n_FWrbS","slug":"agentrxi-glm-5-2-chat-completions-pay-per-call-af3846f7","name":"AgentRXI GLM-5.2 Chat Completions (Pay-Per-Call)","description":"AgentRXI: the largest pay-per-call tool market for AI agents. Web research, 22 LLMs priced per token, rent-a-browser, code sandbox, file storage, agent databases, KYB and wallet trust checks, a prompt-injection firewall, economic data, maps and more. Pay per call in USDC with x402. No key, no signup.","url":"https://agentrxi.com/v1/glm52/chat/completions?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["prompt"],"properties":{"prompt":{"type":"string","description":"User message"},"system":{"type":"string","description":"Optional system message"},"max_tokens":{"type":"integer"},"temperature":{"type":"number"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-...","model":"glm-5.2","usage":{"total_tokens":18,"prompt_tokens":14,"completion_tokens":4},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Bonjour !"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.020079","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.020079/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020079","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020079","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xa8GF0Gtmr80uIgi4wkP7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.020079","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a user prompt through the GLM-5.2 large language model and returns an OpenAI-compatible chat completion response, billed per call in USDC with no signup required.","exampleAgentPrompt":"Ask GLM-5.2 to summarize the following paragraph for me — 'Quantum computing leverages superposition and entanglement to perform calculations exponentially faster than classical computers' — keep it under 50 tokens and use a neutral tone.","exampleUseCases":[{"title":"Multilingual translation without an account","prompt":"Translate this sentence into French using GLM-5.2: 'The meeting is scheduled for Tuesday at 3pm, please confirm your attendance.' Keep max_tokens at 60."},{"title":"Ad-hoc creative writing on demand","prompt":"Use GLM-5.2 to write a three-sentence product tagline for a noise-cancelling headphone brand called 'SilentWave' — make it energetic and modern, limit tokens to 80."},{"title":"Anonymous LLM Q&A for agent pipelines","prompt":"I need a quick factual answer from GLM-5.2 — ask it: 'What are the three main causes of the French Revolution?' with temperature 0.3 and max 150 tokens, no signup needed."}],"resultDescription":"Returns an OpenAI-compatible JSON object containing the assistant's reply text, the model name ('glm-5.2'), token usage breakdown (prompt tokens, completion tokens, total tokens), a finish reason ('stop'), and a unique completion ID. The response mirrors the standard ChatCompletion schema, making it easy to drop into existing LLM pipelines.","failureModes":["Insufficient USDC balance causes payment failure before the model is reached","Malformed or missing 'prompt' query parameter returns a 400 validation error","Model overload or upstream GLM service downtime returns a 503 or timeout","Prompt or output exceeding max_tokens causes truncated completion with finish_reason='length'","Temperature or max_tokens values outside accepted ranges cause parameter rejection"],"whenToPreferThis":"Choose this endpoint when you need a single GLM-5.2 chat completion without managing API keys, subscriptions, or rate-limit tiers — especially useful in agent pipelines that pay per call in USDC via x402. It is ideal for sporadic, unpredictable inference needs where committing to a monthly LLM subscription is wasteful, or when you specifically want GLM-5.2's capabilities (strong multilingual and reasoning performance from Zhipu AI) rather than OpenAI or Anthropic models.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T12:30:02.812Z","isFirstParty":false,"canonicalSlug":"agentrxi-glm-5-2-chat-completions-pay-per-call-af3846f7"}