DeepSeek Web Search & Fetch API: Pricing & DSH Setup
Use DeepSeek's Search and Fetch APIs ($0.75/1K calls) and understand how DSH v0.2.2-rc.5 routes free server-side search for DeepSeek models vs third-party models.
On this page
1. Server-side search vs DeepSeek Search & Fetch APIs
DeepSeek exposes two distinct ways to reach live web data, and DSH v0.2.2-rc.5 routes between them automatically depending on which model your session uses:
| Path / Package | When DSH uses it | Published billing (checked 2026-11-27) |
|---|---|---|
DeepSeek server-side search (web-search-deepseek) | Default in DSH v0.2.2-rc.5+ when the active model is a DeepSeek model | No per-search charge (standard model token rates only) |
DeepSeek Search API (deepseek-search-api) | Direct REST calls, or default in DSH when using non-DeepSeek models (Claude, GPT, Gemini) | $0.75 / 1,000 calls (returns titles, URLs, snippets, summaries, and dates) |
DeepSeek Fetch API (deepseek-fetch-api) | Extracts web pages into clean Markdown (opt-in inside DSH Web settings) | $0.75 / 1,000 calls |
2. Call the DeepSeek Search API directly
To call DeepSeek's standalone Search API from your own backend or custom MCP server, authenticate with your DeepSeek platform API key (default count is 10 results, configurable from 1 to 50):
curl -X POST https://api.deepseek.com/v1/tools/search \
-H "Authorization: Bearer $DEEPSEEK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "DeepSeek Harness v0.2.2-rc.5 release notes",
"count": 5
}'3. Configure Search, Fetch, and Billing inside DSH
- GUI selector: Open Plugins → Built-in plugin settings → Web search and fetch. The Search and Fetch menus save independently—pick DeepSeek Search API or DeepSeek Fetch API as needed.
- Choose credential source (Billing): When either menu selects a DeepSeek API provider, use the Billing dropdown below it to pick Automatic, Signed-in DeepSeek account, or DeepSeek API key (managed via
@deepseek-ai/dsh-deepseek-auth). - Optional YAML override in a custom profile: If you route through an internal proxy or separate search key variable, set explicit provider entries in your Cordis patch:
- name: '@deepseek-ai/dsh-web'
config:
searchProvider: deepseek-search-api
fetchProvider: deepseek-fetch-api
- name: '@deepseek-ai/dsh-deepseek-auth'
- name: '@deepseek-ai/dsh-web-deepseek-api'
config:
searchApiKeyEnv: DEEPSEEK_SEARCH_API_KEY4. Troubleshooting common web-search issues
“Web search temporarily unavailable” vs DSH provider errors
Consumer web chat banners reflect public web traffic throttling. Inside DSH, open Web search and fetch settings first to confirm a funded DeepSeek API key or active DeepSeek account login, and verify proxy access to api.deepseek.com.
Combining local files/PDFs with web search
Consumer web chat restricts certain file-upload + web-search combinations. In DSH Desktop or Web UI, local files and PDFs are read locally via tool-fs and the /office skill while web_search queries external sources independently.
Search provider list is empty after a pnpm install
On isolated pnpm layouts running older 0.2.2-rc.2/rc.3 packages, check startup logs for Cannot find package 'zod' and upgrade to 0.2.2-rc.5+ or apply the fix in our pnpm zod error guide.
Common questions
Does DSH charge per search when I use a DeepSeek model?
Starting in DSH v0.2.2-rc.5, sessions running on a DeepSeek model route use DeepSeek server-side search with no per-search API fee. Non-DeepSeek models default to the metered DeepSeek Search API unless you pick another provider.
Why can DSH search the web yet fail to fetch a specific URL?
Search and Fetch are configured separately in DSH. Shipped profiles default Fetch to local anonymous HTTP fetch (and some preset rows disable fetch on tool-web). You can switch Fetch to DeepSeek Fetch API under Built-in plugin settings.
Can I use DeepSeek Search API inside Claude Code or another MCP client?
Yes. Because POST /v1/tools/search is a standard HTTPS JSON endpoint authenticated with a DeepSeek API key, any thin MCP wrapper or tool function can call it directly without an extra LLM turn.