Repository navigation
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.
Set these on the ChatHub server, then restart it:
DEEPSEEK_API_KEY=sk-...
SEARCH_PROVIDERS=deepseek-
SEARCH_PROVIDERSuses its first entry only. - The key is the same server
DEEPSEEK_API_KEYthat 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_URLdoes not change that.
Page reading with DeepSeek is off until you name it in CRAWLER_IMPLS:
CRAWLER_IMPLS=deepseek,naiveChatHub 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.
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.
-
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.
- Home
- Quick Start
- Docker Deployment and Upgrades
- Authentication
- Model Providers
- Knowledge Base and RAG
- MarkItDown Sidecar
- Sandbox (OpenSandbox)
- Sandbox Hub
- OpenAI Compatible Cache Matrix
- Model Extension Options
- Memory & Context Compaction
- Background Conversation Generation
- Pasted Text
- Search
- Web Search Providers
- Context Export
- Data Backup and Restore
- Image Generation
- Artifacts
- Inline SVG Diagrams
- Tools Hub
- MCP OAuth
- MCP Management
- Agent Skills
- Database
- Development
- Debug and Diagnostics
- Architecture Overview
- Docker Release
- Release Workflow