Webfetch claims 87% fewer search tokens and 66% lower cost for LLM agents
Remote-Breadfruit204 · reddit · 2026-07-23
Webfetch cuts agent search tokens by 87% and cost by 66%
A Reddit post introduces webfetch, a local web-search plugin for LLM agents that claims the same 96% SimpleQA accuracy as hosted search while using 87% fewer tokens and costing 66% less.
What it does
- Uses RRF fusion across four search engines, local page fetching, hybrid BM25 + bi-encoder retrieval, and a cross-encoder reranker.
- Adds sentence-level compression, cutting result tokens roughly in half without measured recall loss.
- Implements semantic caching: paraphrased queries are matched via embeddings, verified with an NLI cross-encoder, and assigned adaptive TTLs based on volatility.
- Shows provenance for cached answers and lets the model force a fresh search when needed.
Claimed savings
In one small test loop with 16 web searches, the author says webfetch avoided about $1.49 in total cost, including both hosted-search fees and injected-content token costs.
The project is available on PyPI and can also be added as an MCP server.
Related event: Local Webfetch Plugin Drastically Reduces Agent Search Costs(2 posts)→
More from coding & agent
- ASC CLI now covers the full App Store publishing flow, Game Center included — rudrank · 2026-07-23
- Gemini 3.6 Flash Becomes the Default Model for Managed Agents — _philschmid · 2026-07-23
- Lean formalization was mostly Codex-driven and semi-verified by pass@5 — burny_tech · 2026-07-23
- Vals-Smith turns your codebase into a custom benchmark to measure which model best resolves your coding tasks — arrakis_ai · 2026-07-23
- Cohere community adds Whisper support for Ruby with CPU/CUDA/Metal execution and word-level timestamps — cohere · 2026-07-23
- Paperclip launches Skills Studio for building agentic skills in one IDE — dunkhippo33 · 2026-07-23