rotative
the decoder · 2026年6月7日

Perplexity 透過讓模型自寫程式將 token 成本降低 85%

perplexity 推出了 search as code,這是一種架構,讓模型編寫自訂 python 搜尋管道而非呼叫固定 api。這承諾為複雜研究代理降低 85% 的 token 使用量並提高資料精度。

read in English · 简体中文 · 日本語 · 한국어

perplexity detailed its new search as code architecture, which replaces standard api calls with model-generated python scripts that execute in a secure sandbox. by using an agentic search sdk, models can perform custom retrieval, filtering, and reranking to keep context windows lean and improve result accuracy. the company demonstrated this on a cybersecurity task tracking 200 vulnerabilities, where the agent used 85% fewer tokens and outperformed standard pipelines. this approach challenges the dominant fixed api paradigm, suggesting that giving models programmatic control over search logic may be more efficient than universal, black-box tools.

read at source ↗

← rotative