{"uid":"cap_LQvWkpuKhH53WUjM-v_Vh","slug":"speraxos-groq-summarize-x402-6963d9e7","name":"SperaxOS Groq Summarize (x402)","description":"AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.","url":"https://chat.sperax.io/api/x402/groq-summarize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"type":"string","description":"'brief' asks for under 3 sentences (openrouter only; ignored by groq)"},"text":{"type":"string","description":"Text to summarize. Required unless headlines is a non-empty array."},"model":{"enum":["llama-3.1-8b-instant","llama-3.3-70b-versatile","llama3-8b-8192","llama3-70b-8192","mixtral-8x7b-32768","gemma2-9b-it"],"type":"string","default":"llama-3.1-8b-instant"},"variant":{"type":"string","description":"Accepted but unused"},"headlines":{"type":"array","items":{"type":"string"},"description":"Alternative to text; joined with newlines when text is absent."},"maxTokens":{"type":"integer","default":512,"description":"max_tokens sent to the provider"},"geoContext":{"type":"string","description":"Optional geographic/regional focus added to the system prompt"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iU-LxBlQPB7TgKmIJXZcx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes a block of text or a list of headlines using a Groq-hosted LLM, paid per-request via USDC on Base with no API key required.","exampleAgentPrompt":"Summarize the following DeFi market update article using the llama-3.3-70b-versatile model and keep the output under 512 tokens: [paste article text here]. Focus on developments relevant to the Base ecosystem.","exampleUseCases":[{"title":"DeFi protocol governance digest","prompt":"Condense this Aave governance proposal into a short summary using the llama-3.3-70b-versatile model — keep it under 300 tokens so I can share it in our Discord: [paste proposal text]."},{"title":"Crypto news headline roundup","prompt":"I have these 10 DeFi news headlines from today — can you join them into a single paragraph summary using llama-3.1-8b-instant, with a focus on activity in the Asia-Pacific region?"},{"title":"Research report distillation","prompt":"Summarize this long on-chain analytics report for me using the mixtral-8x7b-32768 model, max 512 tokens, so I can get the key takeaways quickly: [paste report text]."}],"resultDescription":"A plain-text summary of the provided content, generated by the selected Groq-hosted LLM. Length is bounded by the maxTokens parameter (default 512). No structured JSON envelope is guaranteed — the response body is the summarized text.","failureModes":["Payment not received or insufficient USDC balance causes 402 Payment Required response","Text input missing and headlines array is empty causes validation error","Selected model unavailable on Groq infrastructure causes 503 or timeout","maxTokens set too low results in truncated or incomplete summary","Network timeout if Groq inference takes longer than expected"],"whenToPreferThis":"Choose this endpoint when you need lightweight, fast text summarization paid micropayment-style with no API key setup, especially in DeFi/crypto contexts or when building agents that use x402 pay-per-call infrastructure on Base. Prefer over OpenAI or Anthropic direct calls when you want USDC billing and Groq's low-latency LLaMA models.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:40:40.328Z","isFirstParty":false,"canonicalSlug":"speraxos-groq-summarize-x402-6963d9e7"}