TECHNOLOGY

Perplexity snippet budgets: cap extracted text without pretending to fetch a page

In this article
THE QUICK TAKE

Snippet budgets bound returned evidence, not answer length or a full-page read; known-URL inspection requires a separately documented reading path.

A Perplexity Search result can contain a useful URL while its extracted text is short or empty. The integration must decide what reaches the answer model. That decision belongs to evidence preparation and should not be confused with controlling the generated answer’s token budget.

Understand the two caps

The Search overview defines max_tokens_per_page for each result and max_tokens for the response’s extracted text. The smaller effective allocation can truncate useful context. Increasing the total allowance does not necessarily restore a condition cut by the per-page limit, and increasing the per-page limit does not remove a tight total cap.

Keep empty snippets explicit

Check snippet before adding a result to model context. A title and URL alone do not supply the paragraph needed for an answer. Retain a metadata record for diagnostics, but distinguish it from readable evidence. The best-practices guide provides the relevant application-oriented retrieval context.

Do not invent a page-fetch switch

The overview explicitly distinguishes query-based Search from known-URL reading and says Search has no live-refetch or cache-age parameter. A larger snippet cap is not a request for the full page. If the task depends on a linked exception, choose a documented reading mechanism rather than treating an expanded search response as proof the complete document was inspected.

Read a known URL through its own contract

The Agent fetch_url guide describes fetch_url_results with per-content snippets and possible failure markers. This tool runs within Agent; it is not a new standalone Search endpoint. Keep unavailable content markers out of the evidence prompt while preserving their diagnostic meaning.

Test the decisive boundary

Use a source whose relevant qualification sits beyond the shorter allocation, then compare the text actually delivered under each cap. The guide to RAG chunk boundaries explains why lost context changes meaning. The article on tool observations shows why successful retrieval must still provide usable evidence to the model. Measure the supplied passage, not merely the result count.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles