# Inference402 Summarize

> Inference402 Summarize is a paid API for AI agents from inference402.worlddata402.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-19).

Summarizes a block of text into a short, medium, or long summary using Llama 3.3 70B, paid per call via USDC on Base

## Facts

- Endpoint: GET https://inference402.worlddata402.workers.dev/v1/summarize?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/inference402-summarize-af7c0c70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_djyzM1D-lMZzVTIJn-RQO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability inference402-summarize-af7c0c70
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
  "length": "short",
  "summary": "Cloudflare Workers runs code at the edge ..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/inference402-summarize-af7c0c70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from inference402.worlddata402.workers.dev](https://www.zero.xyz/host/inference402.worlddata402.workers.dev/llms.txt)
