{"uid":"cap_y5q2jroCqL4Y-UPoOi9_Z","slug":"x402-text-summarizer-llama-3-2-3b-3c3d3aef","name":"x402 Text Summarizer (Llama 3.2 3B)","description":"Text summarization (Llama 3.2 3B): ?text=<up to 1500 chars> returns a 1-3 sentence summary. Use when an agent needs to compress a passage cheaply before reasoning over it.","url":"https://x402-data-api.sigrunner.workers.dev/ai/summarize?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["text"],"properties":{"text":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["summary"],"properties":{"summary":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"summary":"x402 lets clients pay per HTTP request in USDC on Base, with no accounts or keys."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WfPyEaRvRobfwf0KfC_nA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes up to 1,500 characters of input text into 1–3 sentences using Llama 3.2 3B, paid per-call via x402/USDC.","exampleAgentPrompt":"Can you summarize this passage for me in a couple of sentences: 'The x402 protocol enables HTTP-native micropayments using USDC on Base. Clients send payment headers alongside API requests, and servers verify on-chain before responding. No accounts or API keys are needed — just a funded wallet.'","exampleUseCases":[{"title":"Compress article before reasoning","prompt":"Summarize this news excerpt in a sentence or two so I can reason over it more efficiently: 'Central banks around the world are raising interest rates to combat inflation, but economists warn this could trigger a recession. The Fed has signaled further hikes are likely in the coming months, even as unemployment ticks upward.'"},{"title":"Condense user feedback before classification","prompt":"Before I classify this customer review, can you compress it into 1-3 sentences: 'The onboarding experience was mostly smooth but I got stuck on the billing page for about 20 minutes because the error messages were vague. Once I got past that, the product itself was actually quite intuitive and the support team responded quickly when I reached out.'"},{"title":"Preprocess long doc chunk for embedding","prompt":"Shorten this chunk of legal text down to a brief summary so I can embed it efficiently: 'The licensee agrees to indemnify, defend, and hold harmless the licensor and its affiliates, officers, agents, employees, partners, and licensors from any claim, demand, loss, or damage, including reasonable attorneys fees, arising out of or related to your use of the service or your violation of these terms.'"}],"resultDescription":"A JSON object with a single `summary` field containing 1–3 sentences that distill the input text, e.g. {\"summary\": \"x402 lets clients pay per HTTP request in USDC on Base, with no accounts or keys.\"}","failureModes":["Missing `text` query parameter returns an error","Input text exceeding 1,500 characters may be truncated or rejected","Model inference failure returns a server error","Payment verification failure (x402) blocks the request before inference","Empty or whitespace-only text may return a degenerate or empty summary"],"whenToPreferThis":"Choose this endpoint when an agent needs a cheap, fast single-passage summarization step — especially as a preprocessing stage before reasoning, classification, or embedding. At $0.003/call with no account setup, it is well-suited for high-frequency, low-cost text compression tasks within agentic pipelines. Prefer it over heavier LLM calls when the goal is simply compression, not generation or analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:16:52.330Z","isFirstParty":false,"canonicalSlug":"x402-text-summarizer-llama-3-2-3b-3c3d3aef"}