{"uid":"cap_LlCf9v3BsaJR8nYgW4byW","slug":"tokensale-glm-5-3-chat-completions-70ef29e4","name":"Tokensale GLM-5-3 Chat Completions","description":"Один API-ключ для GPT и Claude-совместимых клиентов. Пакетные токены, прозрачное списание и контроль доступа.","url":"https://tokensale.maiapp.ru/x402/v1/models/glm-5-3/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","const":"glm-5-3"},"stream":{"type":"boolean","const":false},"messages":{"type":"array","items":{"type":"object"},"minItems":1},"max_tokens":{"type":"integer","minimum":1},"temperature":{"type":"number","maximum":2,"minimum":0},"max_completion_tokens":{"type":"integer","minimum":1}}},"responseSchema":{"type":"json","example":{"id":"x402-request","model":"glm-5-3","usage":{"total_tokens":2,"prompt_tokens":1,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello back"},"finish_reason":"stop"}],"modelCatalog":[{"id":"glm-5-3","payment":{"scheme":"upto","network":"eip155:8453","currency":"USDC"},"protocols":["messages"],"contextTokens":200000,"maxInputTokens":195904,"maxOutputTokens":4096,"priceUsdPerMillionTokens":{"input":"0.083244","output":"0.261622","cacheRead":"0.015460","cacheWrite":"0.133189"}}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001075","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.001075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001075","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001075","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FQZ0aOAXzwNXb36rBf4o5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001075","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Send chat messages to the GLM-5-3 language model and receive AI-generated text completions via a pay-per-call API.","exampleAgentPrompt":"Using GLM-5-3 on Tokensale, send this conversation to the model: system says 'You are a helpful assistant', user asks 'What is the capital of France?' — use temperature 0.7 and max 512 tokens.","exampleUseCases":[{"title":"Customer support chatbot backend","prompt":"I need you to call GLM-5-3 on Tokensale with my conversation history — system prompt is 'You are a friendly customer support agent', and the user just asked 'How do I reset my password?' — keep the response under 300 tokens."},{"title":"Code explanation for developer tool","prompt":"Send this to GLM-5-3 via Tokensale: the user message is 'Explain what this Python function does: def fib(n): return n if n<=1 else fib(n-1)+fib(n-2)' — use temperature 0.2 and allow up to 1024 tokens in the response."},{"title":"Multilingual content drafting","prompt":"Ask GLM-5-3 through Tokensale to write a short product description in Chinese for a wireless headphone, keeping it under 200 tokens and using temperature 0.8 for creativity."}],"resultDescription":"Returns a standard OpenAI-compatible chat completion JSON object containing the assistant's reply message, finish reason, token usage breakdown (prompt, completion, total), and model catalog metadata including per-million-token pricing for input, output, cache read, and cache write.","failureModes":["Payment failure if USDC balance is insufficient (x402 payment required)","Invalid model field — must be exactly 'glm-5-3'","Stream must be false; streaming responses not supported","Empty messages array rejected (minItems: 1)","Temperature out of range (must be 0–2)","Request timeout for very long prompts near 195,904 token input limit","Max output capped at 4096 tokens regardless of max_tokens value"],"whenToPreferThis":"Choose this endpoint when you need access to the GLM-5-3 model (Zhipu AI) via a GPT/Claude-compatible API interface without a monthly subscription, paying only per call in USDC micropayments via x402. Particularly suitable for agents that need sporadic or low-volume LLM inference, want transparent per-token billing, or require a non-OpenAI model with a large 200K context window at low cost.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T22:43:56.719Z","isFirstParty":false,"canonicalSlug":"tokensale-glm-5-3-chat-completions-70ef29e4"}