Skip to content

Web Search Providers

lqdflying edited this page Nov 12, 2026 · 2 revisions

Web Search Providers

ChatHub's built-in web browsing tool searches the web and reads pages on the server. Two environment variables choose which service does each job. This page covers the DeepSeek option.

DeepSeek's Search API and Fetch API are plain web search and page reading services. They are separate from a DeepSeek model's own built-in search, which is the Use the model's built-in search engine switch in the chat search panel.

Use DeepSeek for web search

Set these on the ChatHub server, then restart it:

DEEPSEEK_API_KEY=sk-...
SEARCH_PROVIDERS=deepseek
  • SEARCH_PROVIDERS uses its first entry only.
  • The key is the same server DEEPSEEK_API_KEY that DeepSeek chat uses. A comma-separated key pool works. A key saved in Settings → DeepSeek is not used for search.
  • Requests go to https://api.deepseek.com. DEEPSEEK_PROXY_URL does not change that.

Use DeepSeek to read pages

Page reading with DeepSeek is off until you name it in CRAWLER_IMPLS:

CRAWLER_IMPLS=deepseek,naive

ChatHub tries the entries from left to right and stops at the first one that returns the page. In this example, naive (a direct request from the ChatHub server) runs when DeepSeek cannot return the page.

Some sites have a built-in reader that takes priority over CRAWLER_IMPLS. For those pages ChatHub skips your list, so DeepSeek does not read them and does not bill them. Examples:

Page Reader used
A link ending in .pdf, arXiv PDFs, MDN, Zhihu jina
A GitHub file (github.com/<owner>/<repo>/blob/...) or discussion naive, then jina
YouTube videos, Reddit threads search1api
X / Twitter jina, then browserless

For every page DeepSeek reads, the page URL is sent to DeepSeek. Leave deepseek out of CRAWLER_IMPLS if URLs must not leave your network through DeepSeek.

Cost

DeepSeek bills Search and Fetch per successful request, apart from model tokens:

API Price
Search $0.75 per 1,000 successful requests
Fetch $0.75 per 1,000 successful requests

A search with no results and a failed request are not billed. ChatHub does not show this cost in the chat usage figures. Check it in the DeepSeek console.

Behavior to know

  • Time range: a day, week, month, or year filter is sent as an after: date in the query.
  • Long queries: DeepSeek accepts at most 128 characters, so ChatHub cuts a longer query to fit.
  • Rate limits: DeepSeek allows 100 searches and 25 fetches per second for each account. Requests above that fail with HTTP 429.

Source: DeepSeek Search & Fetch guide.

Clone this wiki locally