Compress text or a whole web page into Markdown at a length you choose.
summarize
aiAI
~30 neurons with `fast`, ~300 with `quality`, of the daily free 10,000.
Point it at raw text or at a url — when given a URL it fetches the page and converts it to
Markdown first, so the model sees the article and not the navigation menu.
style changes the shape of the output, not just its length:
The response reports compressionRatio so you can see exactly how much context you saved.
| Parameter | Type | Default | Description |
|---|---|---|---|
| text | string | — | Content to summarise. |
| url | string | — | Fetch and summarise this page instead. |
| style | `bullets` | `abstract` | `tldr` | `outline` | `keypoints` | "bullets" |
Output shape. |
| targetWords | integer | 150 |
Approximate length of the summary. |
| language | string | "auto" |
Output language: auto mirrors the source, otherwise a name or code (zh, English, 日本語). |
| focus | string | — | Steer the summary, e.g. "pricing and limits only". |
| model | `fast` | `balanced` | `quality` | "fast" |
Quality/cost tier. fast uses an 8B model (~30 neurons/call), quality a 70B model (~10× the neurons). |
The summary plus a compression report.
| Parameter | Type | Default | Description |
|---|---|---|---|
| summary | string | — | Markdown summary. |
| title | string | — | Source title, when a URL was given. |
| model | string | — | Model actually used. |
| stats | object | — | {inputChars, outputChars, compressionRatio}. |