{"uid":"cap_gq3qpJjFnIr2M-Y--THHo","slug":"gedx402-glm-4-7-flash-llm-api-1b146d35","name":"GEDX402 GLM-4.7-Flash LLM API","description":"x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.","url":"https://chat.gedx402.com/v1/llm/glm-4.7-flash","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string","description":"Speaker role for this turn."},"content":{"type":"string","description":"Message text for this turn."}}},"description":"Conversation turns in order (system, user, assistant)."},"max_tokens":{"type":"integer","maximum":4096,"minimum":1,"description":"Maximum tokens to generate in the assistant reply."}}},"responseSchema":{"type":"json","example":{"model":"@cf/zai-org/glm-4.7-flash","response":"Hello!"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6ddPwB6sQiPCXLr6R1IRt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs conversational inference on GLM-4.7-Flash via x402 pay-per-call with USDC — no API key required","exampleAgentPrompt":"Using the GLM-4.7-Flash model, send this conversation — system: 'You are a helpful assistant', user: 'Explain quantum entanglement in two sentences' — and give me up to 256 tokens in the reply, paying with USDC on Base.","exampleUseCases":null,"resultDescription":"A JSON object with the model identifier (@cf/zai-org/glm-4.7-flash) and the assistant's generated text response string.","failureModes":["Insufficient USDC balance or payment failure — HTTP 402 with payment required details","Invalid message format (missing role or content fields) — schema validation error","max_tokens out of range (must be 1–4096) — request rejected","Network timeout on Cloudflare Workers edge — retryable error","Unsupported blockchain network specified for payment — payment rejected"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call LLM inference with no API key or subscription, want to pay with USDC on Base, Polygon, Arbitrum, World, or Solana via the x402 protocol, and specifically want the GLM-4.7-Flash model (a fast, capable chat model from Zhipu AI hosted on Cloudflare Workers AI).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:30:15.032Z","isFirstParty":false}