{"uid":"cap_MgoDvVXs3_jaf6SiOP6mp","slug":"farout-glm-5-3-chat-completions-pay-per-call-x402-39ccd672","name":"FarOut GLM-5.3 Chat Completions (Pay-Per-Call, x402)","description":"Fixed-price chat completions for glm-5.3 on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.090/1M input tokens, $0.282/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/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_es74Nu9EHF8L2X9weOVyR","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 chat/reasoning/coding inference against GLM-5.3 via a pay-per-call API using USDC on Base — no API key or account required.","exampleAgentPrompt":"Using GLM-5.3 on FarOut, send these messages — system: 'You are a concise coding assistant', user: 'Write a Python function to flatten a nested list' — with a max of 512 output tokens and temperature 0.2.","exampleUseCases":[{"title":"Crypto-native agent coding helper","prompt":"Ask GLM-5.3 via FarOut to review this Python snippet for bugs and suggest fixes, paying per call with USDC — system prompt: 'You are a senior Python engineer', user message: the code below, max 800 tokens, temperature 0.1."},{"title":"Autonomous agent reasoning loop","prompt":"I need my agent to send a multi-turn conversation to GLM-5.3 on FarOut — include the prior assistant turns in the messages array, cap the reply at 1024 tokens, and stream the response back to me."},{"title":"One-off question, no subscription","prompt":"Without setting up any account or API key, have FarOut call GLM-5.3 with my single user message 'Summarize the pros and cons of retrieval-augmented generation in three bullet points' and cap the output at 300 tokens."}],"resultDescription":"Returns an OpenAI-compatible JSON object with a choices array containing the assistant message, finish_reason (e.g. 'stop'), and a usage object with prompt_tokens and completion_tokens counts.","failureModes":["Payment rejected — insufficient USDC balance or x402 payment not accepted, returns 402 Payment Required","Invalid model id — model field not matching a listed model returns 400","Messages array empty or missing role/content — returns 400 validation error","max_tokens too large for model context window — returns 400 or truncated output","Rate limiting or upstream model unavailability — returns 503 or timeout","Network error reaching farouter.tech — connection refused or DNS failure"],"whenToPreferThis":"Choose this endpoint when you need GLM-5.3 specifically (strong multilingual and reasoning performance) and want true pay-per-call billing via USDC with no account registration, no prepaid credits, and OpenAI-compatible message format — ideal for autonomous agents that need to pay for inference programmatically without human-managed API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T03:30:32.835Z","isFirstParty":false}