Skip to the page

LibreChat web search

Set two URLs and search at $5 per 1,000.

LibreChat's web search needs three parts: a search provider, a scraper and a reranker. SpecStream fills the first two from one key, as the SearXNG search provider and as the Firecrawl scraper.

In .env, set SEARXNG_INSTANCE_URL=https://api.specstream.ai/searxng/YOUR_KEY and FIRECRAWL_API_URL=https://api.specstream.ai/firecrawl with your key in FIRECRAWL_API_KEY. In librechat.yaml, set searchProvider: searxng and scraperProvider: firecrawl.

SpecStream scores 97.9 F-score on all 1,000 SimpleQA Verified questions. A search costs $0.005 and a page $0.0008. A new account gets $10 of credit, no card, which covers 2,000 searches.

New accounts get $10 of credit, no card. It covers 2,000 searches.

The web search providers LibreChat offers, from each company's own pages on Nov 10, 2026

SpecStreamSerperTavilyFirecrawlKeenable
Role in LibreChatSearch provider, through the SearXNG setting, and scraper, through the Firecrawl setting, on one keySearch provider and scraperSearch provider and scraperScraper only. LibreChat has no Firecrawl search stepSearch provider and scraper
Price of a search$5 per 1,000 searches, with up to 10 results a search$1.00 per 1,000 in the pack of 50,000 credits$0.008 a credit on pay as you go. A basic search is 1 credit and an advanced search 2Not a search provider in LibreChat. Its own search costs 2 credits per 10 resultsKeyless by default. The public search endpoint is rate limited, and a key lifts the cap
Price of reading pages$0.80 per 1,000 pages through /firecrawl/v2/scrape, and a page with no text is not chargedSerper's scraper at scrape.serper.dev, set only by the SERPER_SCRAPE_URL environment variableA basic extract costs 1 credit for every 5 successful URLsThe free plan reads 1,000 pages a month. The Hobby plan is $19 a monthKeyless by default. The public fetch endpoint is rate limited, and a key lifts the cap
How you start$10 of credit, no card. It covers 2,000 searches2,500 free queries, no credit card1,000 free credits every monthA free plan of 500 searches or 1,000 pages a monthNo key needed for the public endpoints
How long credit lastsCredit you buy never expiresCredits are valid for 6 monthsOn a monthly plan, requests stop when the month's credits run outMonthly plans, from $19 a month for HobbyNo credit to buy for the public endpoints
Address setting in LibreChatSEARXNG_INSTANCE_URL and FIRECRAWL_API_URL, in .env or librechat.yamlNone for search. The address is fixed in LibreChat's code at google.serper.dev/searchTAVILY_SEARCH_URL. A user can enter it only after the admin opts inFIRECRAWL_API_URL, default https://api.firecrawl.devKEENABLE_API_URL and KEENABLE_FETCH_URL

Why LibreChat admins set SpecStream as search and scraper

The other providers in LibreChat, and what each costs

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to set SpecStream as LibreChat's web search

1. Create a key under Agents & API in the SpecStream workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Add the two addresses and the key to .env.

SEARXNG_INSTANCE_URL=https://api.specstream.ai/searxng/YOUR_SPECSTREAM_KEY
FIRECRAWL_API_URL=https://api.specstream.ai/firecrawl
FIRECRAWL_API_KEY=<YOUR_SPECSTREAM_KEY>

3. In librechat.yaml, under webSearch, set searchProvider: searxng and scraperProvider: firecrawl, and keep your reranker key.

4. Restart LibreChat, turn on web search in a chat and ask a question. Each search and each page shows up in your SpecStream request log with its price.

Frequently asked questions

Something we didn't answer? Talk to a human

How do I enable web search in LibreChat?
Set three parts: a search provider, a scraper and a reranker. With SpecStream, two lines in .env cover the first two: SEARXNG_INSTANCE_URL=https://api.specstream.ai/searxng/YOUR_KEY and FIRECRAWL_API_URL=https://api.specstream.ai/firecrawl, with the key in FIRECRAWL_API_KEY.
What is the LibreChat web search config in librechat.yaml?
Two lines choose SpecStream: searchProvider: searxng and scraperProvider: firecrawl under webSearch. The URLs come from ${SEARXNG_INSTANCE_URL} and ${FIRECRAWL_API_URL} in .env.
Why is LibreChat web search not working?
Most often one of the three required parts is missing: the search provider, the scraper or the reranker. With SpecStream as search and scraper, check that the SearXNG URL holds your key and that FIRECRAWL_API_KEY is the same key; a wrong key gets a 401.
Is there a free web search for LibreChat?
A new SpecStream account gets $10 of credit with no card, which covers 2,000 searches. After that a search costs $0.005, and credit you buy never expires.
Which web search API is best for LibreChat?
SpecStream, with 97.9 F-score on all 1,000 SimpleQA Verified questions at $5 per 1,000 searches. One key runs both LibreChat's search provider and its scraper.
Do I need to self-host SearXNG for LibreChat?
No. Set SEARXNG_INSTANCE_URL to https://api.specstream.ai/searxng/YOUR_KEY and SpecStream answers in SearXNG's JSON at $0.005 a search, with no instance to run and no allowedAddresses entry.

Sources

SpecStream wrote this page. LibreChat's settings come from its source on GitHub, and each provider's figure from that company's own page.

  1. LibreChat librechat.example.yamlgithub.com/danny-avila/LibreChat/blob/main/librechat.example.yaml, read Nov 10, 2026
  2. LibreChat .env.examplegithub.com/danny-avila/LibreChat/blob/main/.env.example, read Nov 10, 2026
  3. LibreChat data provider config.tsgithub.com/danny-avila/LibreChat/blob/main/packages/data-provider/src/config.ts, read Nov 10, 2026
  4. LibreChat web.tsgithub.com/danny-avila/LibreChat/blob/main/packages/api/src/web/web.ts, read Nov 10, 2026
  5. LibreChat agents, search.tsgithub.com/danny-avila/agents/blob/main/src/tools/search/search.ts, read Nov 10, 2026
  6. LibreChat agents, firecrawl.tsgithub.com/danny-avila/agents/blob/main/src/tools/search/firecrawl.ts, read Nov 10, 2026
  7. LibreChat web search docslibrechat.ai/docs/configuration/librechat_yaml/object_structure/web_search, read Nov 10, 2026
  8. Serperserper.dev/, read Nov 10, 2026
  9. Tavily API creditsdocs.tavily.com/documentation/api-credits.md, read Nov 10, 2026
  10. Tavily pricingtavily.com/pricing, read Nov 10, 2026
  11. Firecrawl pricingfirecrawl.dev/pricing, read Nov 10, 2026
  12. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  13. SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
  14. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026