{"uid":"cap_IZqjBp9HCI75RiGS2ePrJ","slug":"telnyx-inference-glm-5-3-flash-upto-metered-6ec8a09d","name":"Telnyx Inference GLM-5.3-Flash (upto/metered)","description":"Featured model. Chat completions via Telnyx Inference (zai-org/GLM-5.3-Flash), run at low reasoning effort for direct answers. max_tokens must be 512–2048 (omit it for the 1024-token default). OpenAI-compatible. $0.005783 USDC per call, or pay per-token via the upto scheme. (upto metered — large context)","url":"https://x402.telnyx.com/v1/chat/completions/_t/glm-5.3-flash/upto?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","const":1,"description":"Fixed to one completion per paid call."},"model":{"type":"string","const":"zai-org/GLM-5.3-Flash","description":"Model identifier; fixed to zai-org/GLM-5.3-Flash on this route."},"tools":{"type":"array","items":{"type":"object"},"maxItems":16},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant","tool"],"type":"string"},"content":{"type":"string","maxLength":900000}}},"maxItems":32,"description":"OpenAI-style chat messages."},"max_tokens":{"type":"integer","maximum":4096,"minimum":512},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.043205","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.043205/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.043205","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.043205","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wh9s0qlmgSqc0CF9DeQM6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.043205","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 using ZAI's GLM-5.3-Flash model via Telnyx Inference, billed per-token up to a cap (upto scheme) for large-context workloads.","exampleAgentPrompt":"Using Telnyx's GLM-5.3-Flash model, send this conversation history and answer the user's question: 'What are the main differences between REST and GraphQL?' — keep the response under 1024 tokens.","exampleUseCases":[{"title":"Agentic tool-use reasoning","prompt":"I need GLM-5.3-Flash on Telnyx to process this multi-turn conversation with tool definitions — it should pick the right tool call to look up a user's order status based on their last message."},{"title":"Low-cost Q&A for high-volume app","prompt":"My app needs to answer thousands of short user questions cheaply — use the Telnyx GLM-5.3-Flash endpoint with metered billing so I only pay for tokens actually consumed, and cap each response at 512 tokens."},{"title":"System-prompted content classifier","prompt":"Set up a system prompt that classifies customer feedback as 'positive', 'negative', or 'neutral', then run this batch of user messages through GLM-5.3-Flash on Telnyx and return the labels."}],"resultDescription":"An OpenAI-compatible chat completion response containing the assistant's generated message, finish reason, and token usage counts (prompt tokens, completion tokens, total tokens). Returns exactly one completion (n=1) per call.","failureModes":["Payment failure or insufficient USDC balance — HTTP 402 returned before inference runs","max_tokens out of range (must be 512–4096) — validation error","messages array empty or malformed role/content — HTTP 400","Model overloaded or unavailable — HTTP 503 or timeout","Context too large (over 900,000 chars per message or 32 messages) — truncation or 400 error"],"whenToPreferThis":"Choose this endpoint when you need a fast, low-cost chat completion with metered (per-token) billing on large-context workloads using GLM-5.3-Flash. Ideal for agentic pipelines that may have variable prompt sizes and want to avoid overpaying for short completions. Prefer over the flat-rate GLM route when context is large and unpredictable. The OpenAI-compatible interface makes it a drop-in replacement for existing OpenAI SDK integrations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:38:38.154Z","isFirstParty":false,"canonicalSlug":"telnyx-inference-glm-5-3-flash-upto-metered-6ec8a09d"}