{"uid":"cap_JX20VWhKN3y1RGIXhIAvZ","slug":"farout-glm-5-3-flash-chat-completions-x402-bd0989d0","name":"FarOut GLM-5.3-Flash Chat Completions (x402)","description":"Fixed-price chat completions for glm-5.3-flash on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.008/1M input tokens, $0.028/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.","url":"https://farouter.tech/v1/models/glm-5.3-flash/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Model id from GET /v1/models, e.g. glm-5.3. No provider prefix."},"stream":{"type":"boolean","description":"SSE streaming."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","developer","user","assistant","tool"],"type":"string"},"content":{}},"additionalProperties":true},"minItems":1,"description":"Chat messages, [OI]-compatible {role, content}."},"max_tokens":{"type":"integer","minimum":1,"description":"Output token budget. Sets your spending cap; actual usage is what gets settled (true-up)."},"temperature":{"type":"number","maximum":2,"minimum":0,"description":"Sampling temperature."},"max_completion_tokens":{"type":"integer","minimum":1,"description":"Alias of max_tokens (gpt-5.x models)."}}},"responseSchema":{"type":"json","example":{"usage":{"prompt_tokens":6,"completion_tokens":8},"choices":[{"message":{"role":"assistant","content":"Hello! How can I help?"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Br3NGLI7TCyYPvKHZOKuK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a GLM-5.3-Flash chat completion request via pay-per-call USDC micro-payment on Base, returning an OpenAI-compatible response with no API key or account required.","exampleAgentPrompt":"Using GLM-5.3-flash, send this conversation to FarOut and get a response: system prompt is 'You are a concise assistant', user says 'Explain what a Merkle tree is in 3 sentences', limit the output to 200 tokens.","exampleUseCases":[{"title":"Agent sub-task reasoning without API key","prompt":"I need you to call GLM-5.3-flash via FarOut to answer this question for my pipeline: 'What are three edge cases I should handle in a Solidity transfer function?' — keep the response under 300 tokens, no streaming."},{"title":"On-demand coding help for autonomous workflow","prompt":"Ask GLM-5.3-flash to write a Python function that parses a JSON array of timestamps into ISO 8601 format, max 400 tokens, temperature 0.2 — pay per call using USDC, no account needed."},{"title":"Chat response generation for agent with crypto payment","prompt":"Use FarOut's pay-per-call gateway to run a GLM-5.3-flash chat: the user just said 'Summarize the pros and cons of proof-of-stake consensus' — give me the assistant reply, up to 250 tokens."}],"resultDescription":"Returns an OpenAI-compatible JSON object with a choices array containing the assistant's message (role + content), a finish_reason, and a usage block with prompt_tokens and completion_tokens counts.","failureModes":["Payment rejected or insufficient USDC balance on Base — 402 Payment Required","Invalid or unsupported model ID — 400 Bad Request","messages array empty or malformed — 400 validation error","max_tokens exceeds model context limit — 400 or truncated response","Upstream model provider outage — 503 or timeout","Stream requested but client doesn't handle SSE — partial or broken response"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible LLM inference without API keys, accounts, or prepaid credits — paying per call in USDC on Base. It is ideal for autonomous agents that need to self-fund inference on demand. Prefer it over hosted API providers when you want frictionless crypto-native payment for one-off or low-volume calls to GLM-5.3-flash specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T03:30:33.340Z","isFirstParty":false}