{"uid":"cap_lkKO5tgSU39KD0G5vLsCY","slug":"tokensale-glm-5-3-flash-chat-completions-5beeac87","name":"Tokensale GLM-5-3-Flash Chat Completions","description":"Один API-ключ для GPT и Claude-совместимых клиентов. Пакетные токены, прозрачное списание и контроль доступа.","url":"https://tokensale.maiapp.ru/x402/v1/models/glm-5-3-flash/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","const":"glm-5-3-flash"},"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-flash","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-flash","payment":{"scheme":"upto","network":"eip155:8453","currency":"USDC"},"protocols":["messages"],"contextTokens":200000,"maxInputTokens":195904,"maxOutputTokens":4096,"priceUsdPerMillionTokens":{"input":"0.021000","output":"0.070000","cacheRead":"0.004200","cacheWrite":"0.033600"}}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.000289","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.000289/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000289","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.000289","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yoc10bQX46gmP-Itaenpf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.000289","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a chat message to the GLM-5-3-Flash language model via an OpenAI-compatible API, paying per call in USDC over x402","exampleAgentPrompt":"Send this conversation to GLM-5-3-Flash and get a response: system says 'You are a helpful assistant', user says 'Explain the difference between supervised and unsupervised learning in 3 sentences' — use up to 512 tokens and temperature 0.7.","exampleUseCases":[{"title":"Crypto-native AI chatbot backend","prompt":"I'm building an app where users pay per message with USDC — send this user's message 'What's the capital of France?' to GLM-5-3-Flash with temperature 0.3 and max 100 tokens and give me the reply."},{"title":"Automated content summarization pipeline","prompt":"Summarize the following article excerpt into 2 sentences using GLM-5-3-Flash, max 200 output tokens, temperature 0.5: 'Renewable energy adoption has accelerated globally, with solar capacity doubling in the last three years...'"},{"title":"GPT-compatible client testing with GLM","prompt":"Test my OpenAI-compatible client against GLM-5-3-Flash — send a message array with the system prompt 'You are a coding assistant' and the user asking 'Write a Python hello world', with temperature 1.0 and max_tokens 256."}],"resultDescription":"A JSON chat completion object containing the assistant's reply message, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total), the model ID 'glm-5-3-flash', and a modelCatalog array showing pricing and context window details for the model.","failureModes":["Payment failure if insufficient USDC balance or x402 payment not completed — returns 402 Payment Required","Invalid messages array (empty or malformed objects) — returns 400 Bad Request","Temperature out of range (>2 or <0) — schema validation error","max_tokens or max_completion_tokens below 1 — validation error","Model const mismatch if wrong model string provided","Network timeout if inference takes too long for large prompts"],"whenToPreferThis":"Choose this endpoint when you need a cost-effective, pay-per-call LLM inference via USDC micropayments (x402 protocol) with no subscription, want OpenAI/Claude API compatibility to drop into existing clients, need access to Zhipu AI's GLM-5-3-Flash model specifically, or want transparent per-token pricing with a large 200K context window at very low cost ($0.021/M input tokens).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T22:43:56.718Z","isFirstParty":false,"canonicalSlug":"tokensale-glm-5-3-flash-chat-completions-5beeac87"}