# x402 Text Summarizer (Llama 3.2 3B)

> x402 Text Summarizer (Llama 3.2 3B) is a paid API for AI agents from x402-data-api.sigrunner.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-22).

Summarizes up to 1,500 characters of input text into 1–3 sentences using Llama 3.2 3B, paid per-call via x402/USDC.

## Facts

- Endpoint: GET https://x402-data-api.sigrunner.workers.dev/ai/summarize?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-text-summarizer-llama-3-2-3b-3c3d3aef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y5q2jroCqL4Y-UPoOi9_Z

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 x402-text-summarizer-llama-3-2-3b-3c3d3aef
```

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

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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."}

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "summary": "x402 lets clients pay per HTTP request in USDC on Base, with no accounts or keys."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-text-summarizer-llama-3-2-3b-3c3d3aef/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-api.sigrunner.workers.dev](https://www.zero.xyz/host/x402-data-api.sigrunner.workers.dev/llms.txt)
