# Local On-Device Document Summarizer

> Local On-Device Document Summarizer is a paid API for AI agents from dev-5090-box.tailfb4c1f.ts.net, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-16).

Summarizes a document locally on the server without the content leaving the machine, returning structured output in bullets, paragraph, or key-points format with token usage and latency stats.

## Facts

- Endpoint: POST https://dev-5090-box.tailfb4c1f.ts.net/v1/summarize?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/local-on-device-document-summarizer-e79b94dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0xSYaN-bLQUOemmk628Nu

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 local-on-device-document-summarizer-e79b94dc -d '<json body>'
```

Example prompt: Summarize this contract in bullet points — keep it under 150 words and make sure it doesn't leave the local machine: [paste document text here].

## When to prefer this

Choose this endpoint when data privacy is paramount and the document must not be sent to any third-party cloud provider. Ideal for sensitive legal, medical, or proprietary business documents that require on-premise processing. Prefer over cloud summarization APIs (OpenAI, Anthropic, Cohere) when compliance or confidentiality requirements prohibit data egress. Also suitable when consistent local latency and cost predictability matter more than state-of-the-art summarization quality.

## Known failure modes

- Document text too long for local model context window — returns token limit error
- Invalid mode value outside bullets|paragraph|key-points — returns validation error
- max_words value not honored if too low for meaningful compression — may produce truncated output
- Local GPU OOM if document is very large — may return 503 or timeout
- Network timeout to Tailscale node if device is offline or unreachable

## How this service works

Summarize a document without it leaving this machine. mode=bullets|paragraph|key-points, max_words caps the length. Returns the summary, the model that wrote it, token usage and latency.

## Output

Returns a JSON object containing the generated summary text in the requested mode, the name of the local model that produced it, token usage counts (prompt and completion tokens), and end-to-end inference latency in milliseconds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "type": "string"
  },
  "usage": {
   "type": "object"
  },
  "summary": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/local-on-device-document-summarizer-e79b94dc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dev-5090-box.tailfb4c1f.ts.net](https://www.zero.xyz/host/dev-5090-box.tailfb4c1f.ts.net/llms.txt)
