{"uid":"cap_djyzM1D-lMZzVTIJn-RQO","slug":"inference402-summarize-af7c0c70","name":"Inference402 Summarize","description":"Pay-per-call AI inference for agents: chat (Llama 3.3 70B / 3.1 8B), structured JSON, summarize, translate (incl. Egyptian Arabic), extract, classify, sentiment, keywords, rewrite, embeddings, moderation, vision and speech-to-text. USDC on Base mainnet over x402. No API key, no account.","url":"https://inference402.worlddata402.workers.dev/v1/summarize?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"lang":{"type":"string","example":"en","description":"ISO 639-1 output language; defaults to the input language"},"text":{"type":"string","maxLength":8000},"length":{"enum":["short","medium","long"],"type":"string","default":"medium"}}},"responseSchema":{"type":"json","example":{"model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","length":"short","summary":"Cloudflare Workers runs code at the edge ..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fFcOTCT47B-hgBe2rbbCG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Summarizes a block of text into a short, medium, or long summary using Llama 3.3 70B, paid per call via USDC on Base","exampleAgentPrompt":"Give me a short summary of this article text: 'Cloudflare Workers runs serverless code at the edge, distributed across 300+ cities worldwide, enabling developers to build fast, scalable applications without managing infrastructure...' — output in English.","exampleUseCases":[{"title":"TL;DR for research papers","prompt":"Summarize this dense research abstract into a short paragraph in English: 'Recent advances in transformer architectures have enabled large language models to achieve state-of-the-art results across a wide range of NLP benchmarks, including question answering, summarization, and code generation...'"},{"title":"Multilingual news digest","prompt":"Can you give me a medium-length summary of this Spanish news article text in Spanish? Here's the text: 'El gobierno anunció hoy nuevas medidas económicas destinadas a reducir la inflación y estabilizar el mercado de divisas, con efectos inmediatos a partir del lunes...'"},{"title":"Long-form content condensing","prompt":"I have this long blog post about Cloudflare's edge network — can you give me a long summary of it? Text: 'Cloudflare's edge network spans more than 300 cities globally, processing trillions of requests per month and enabling businesses to cache content, block threats, and route traffic with sub-millisecond latency...'"}],"resultDescription":"A JSON object containing the generated summary text, the model used (e.g. @cf/meta/llama-3.3-70b-instruct-fp8-fast), and the requested length setting.","failureModes":["Text exceeds 8000 character limit — request rejected","Invalid ISO 639-1 language code — may fall back to input language or error","Payment not received via x402 — 402 Payment Required response","Unsupported length enum value — validation error","Empty or missing text field — error or empty summary returned"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call text summarization without API key setup or subscription, especially for agents that process variable volumes of text and want to pay only for what they use in USDC. It is distinct from generic summarization in that it requires no account, uses x402 micropayment on Base, and runs on Llama 3.3 70B at the edge. Prefer it over OpenAI or Anthropic summarization when cost per call and zero-friction setup matter more than ecosystem integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:34:32.878Z","isFirstParty":false,"canonicalSlug":"inference402-summarize-af7c0c70"}