{"uid":"cap_e_E9t-KE2S1HTaO3VsxnW","slug":"agentrxi-glm-5-3-flash-chat-completions-35563bb9","name":"AgentRXI GLM-5.3 Flash Chat Completions","description":"OpenAI-compatible chat completions on Zhipu GLM-5.3 Flash, inexpensive reasoning with tool calling and a 1M-token context. Set your OpenAI SDK base URL to https://agentrxi.com/v1/glm5-flash and pay per token with x402 instead of an API key: $0.45 per million input and $1.5 per million output tokens, minimum $0.002 a call, at most $0.0401. The 402 quotes your request's maximum; \"upto\" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling,","url":"https://agentrxi.com/v1/glm5-flash/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.3-flash","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.005081","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.005081/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005081","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005081","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WdYmCOAsOmyZ9R3yXeElt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005081","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"OpenAI-compatible chat completions powered by Zhipu GLM-5.3 Flash with 1M-token context, tool calling, and pay-per-token x402 billing","exampleAgentPrompt":"Ask the GLM-5.3 Flash model to explain the difference between supervised and unsupervised learning in simple terms, with a max of 300 tokens.","exampleUseCases":[{"title":"One-off reasoning without a subscription","prompt":"Use the GLM Flash model to reason through this logic puzzle for me: 'If all bloops are razzies, and all razzies are lazzies, are all bloops definitely lazzies?' — keep it under 200 tokens."},{"title":"Tool-calling agent with pay-per-use billing","prompt":"I need a cheap LLM that supports tool calling and doesn't require a monthly API key — use GLM-5.3 Flash to answer 'What is the current weather in Paris?' and call the get_weather tool if available."},{"title":"Long-document summarization with huge context","prompt":"Summarize this 200,000-word legal document using the GLM Flash model — I need a concise 3-paragraph summary and the model needs to handle the full text in one shot."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's message content, role, finish reason, and token usage breakdown (prompt tokens, completion tokens, total tokens), along with a model identifier and completion ID.","failureModes":["Insufficient x402 payment balance causes 402 Payment Required before inference runs","Prompt exceeds 1M token context window returns a context-length error","Invalid or malformed prompt parameter returns a 400 Bad Request","Model unavailability or upstream Zhipu API outage returns a 503","Temperature or max_tokens out of acceptable range may be silently clamped or cause a validation error"],"whenToPreferThis":"Choose this endpoint when you need inexpensive, OpenAI-compatible LLM inference without committing to a monthly subscription — especially for sporadic or one-off agent calls billed per token. It is ideal when you need a very large (1M token) context window, tool calling support, or want to avoid managing API keys by paying via x402 micropayments. Prefer it over GPT-4 or Claude when cost minimization matters and the task doesn't require frontier-model quality.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:39:21.861Z","isFirstParty":false,"canonicalSlug":"agentrxi-glm-5-3-flash-chat-completions-35563bb9"}