{"uid":"cap__2l07vX9wVgKaVnXJExl_","slug":"citiview-glm-5-3-flash-chat-completions-b64f8e1f","name":"Citiview 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://agents.citiviewgroup.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 (t","url":"https://agents.citiviewgroup.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":"down","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_gs9kTOeQiwyge_tSbq4wl","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":"Runs a user prompt through the GLM-5.3-Flash language model and returns an OpenAI-compatible chat completion response, pay-per-call via USDC.","exampleAgentPrompt":"Ask GLM-5.3-Flash to summarize the following paragraph in three bullet points: 'Quantum computing uses qubits to perform calculations exponentially faster than classical computers for certain problem types, with applications in cryptography, drug discovery, and optimization.'","exampleUseCases":[{"title":"Agent reasoning step with cheap LLM","prompt":"Use the GLM Flash model to decide which of these three options is most cost-effective given this budget breakdown — I want a quick answer, nothing fancy, just its best recommendation."},{"title":"Keyless LLM for automated pipeline","prompt":"My pipeline needs to call an LLM to classify customer intent from this message: 'I want to cancel my subscription immediately.' Have GLM-5.3-Flash label it as one of: cancel, upgrade, support, or other — no signup required."},{"title":"Multilingual reply generation","prompt":"Generate a polite French reply to this English customer complaint using the GLM Flash model, keeping it under 80 words: 'Your delivery was 5 days late and the package arrived damaged.'"}],"resultDescription":"Returns an OpenAI-compatible JSON object with a `choices` array containing the assistant's reply message, finish reason, token usage breakdown (prompt, completion, total tokens), model name ('glm-5.3-flash'), and a completion ID.","failureModes":["Missing required `prompt` query parameter returns an error","Exceeding max_tokens limit may truncate output or return an error","Malformed temperature values (outside 0–2 range) may cause rejection","Insufficient USDC balance or failed x402 payment results in 402 Payment Required","Model unavailability or upstream GLM API downtime returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap OpenAI-compatible LLM call without API key management or signup — especially in agent pipelines where cost-per-call matters and GLM Flash quality is sufficient. Prefer it over heavier models when latency and cost are priorities and you are already using x402/USDC micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T03:30:45.970Z","isFirstParty":false,"canonicalSlug":"citiview-glm-5-3-flash-chat-completions-b64f8e1f"}