Model Calls Go Through Your Gateway. Web Search Still Goes Straight to DeepSeek.

DeepSeek Harness 0.2.2-rc.5 routes web search by model route: DeepSeek models use server-side Messages search billed as model tokens, while gateway deployments must point the search endpoint at their own base URL.

By Cameron Voss (pen name) · Reviewed November 21, 2026

TL;DR:
  • Release 0.2.2-rc.5 ships a single change: the default web search provider now follows the model your session is using.
  • Conversations on DeepSeek models run DeepSeek server-side search. There is no per-search charge; the cost shows up as model tokens.
  • Other model routes, and searches fired outside a model request, still default to the DeepSeek Search API.
  • A provider you saved in settings keeps priority, and a failing provider returns an error instead of silently switching.

DeepSeek Harness published 0.2.2-rc.5 this week. The release notes are one line long, and they touch the two things operators actually argue about: which endpoint answers a web search, and whose bill it lands on.

One release line, two defaults moved

Before rc.5, the shared base composition pinned web.searchProvider to deepseek-search-api. Every web search became a DeepSeek Search API request, no matter which model was in the conversation. rc.5 deletes that pin. The web layer now reads the model provider route of the current session and picks the search provider to match.

SessionDefault web searchBilling
DeepSeek model (deepseek-official or deepseek-account route)DeepSeek server-side search over MessagesNo per-search fee; billed as model tokens
Any other model route, or a search outside a model requestDeepSeek Search APISearch API rules
A provider saved in settingsThe saved providerThe upgrade does not overwrite it
GitHub release page header for DeepSeek Harness v0.2.2-rc.5 with the pre-release badge and tag dsh-v0.2.2-rc.5
The v0.2.2-rc.5 tag on GitHub, flagged as a pre-release. The changelog behind it is a single entry.

"No per-search fee" is not the same as free

The server-side path sends an auxiliary Messages request to the web-search-deepseek endpoint. Nothing is charged per search; the tokens that request burns are added to the model bill instead. Each run also appends a web/deepseek-search-llm-request event to the session log, the quickest way to see which path a search actually took.

So the win is simpler billing, not zero cost. A long research session on a DeepSeek model now pays for search inside token usage, and the Search API line item disappears from that session.

Planning to use DeepSeek in your workflow? Explore DeepSeek Subscription to review plans and usage limits.

The search endpoint does not follow your base URL

Here is the part that bites deployments. Messages search ignores the model provider's base URL. It reads web-search-deepseek.baseURL, falls back to $DEEPSEEK_SEARCH_BASE_URL, and otherwise uses the official Anthropic-compatible address, taking its key from DEEPSEEK_API_KEY by default.

Point your DeepSeek model provider at a self-hosted gateway and the search traffic still heads to the official endpoint, carrying a key the gateway knows nothing about. Searches fail until you either set the gateway's Anthropic-compatible base, the one ending in /messages, as the search base URL, or pin the provider back to the Search API. Model requests passing is not evidence that search requests pass; they are separate calls.

Saved settings win, and failures do not fall back

The Web search and fetch settings page gains an Automatic entry, which means "nothing stored, route by model". Compositions and profiles that set web.searchProvider themselves, plus the DSH_WEB_SEARCH_PROVIDER variable, behave exactly as before. Upgrading will not quietly replace a choice you made.

The same caution applies at runtime. If the pinned provider is missing, unreachable or errors out, the harness returns a structured error rather than hopping to another provider. A silent fallback could push a query and its credentials to an endpoint the user never selected, and it would move the charge there too.

Rendered DeepSeek Harness upgrade guide explaining that web search on DeepSeek models now defaults to legacy Messages search, with change and migration sections
The official upgrade guide for this change. It spells out the new defaults and the three migration paths: accept Automatic, pin the Search API, or route Messages search through your gateway.

Three checks before you upgrade

First, know which model route your sessions actually use. The default search path splits between DeepSeek routes and everything else, so a single global toggle no longer describes the behavior.

Second, open the Web search and fetch settings and look for a stored provider. If one is saved, rc.5 leaves it alone and your current behavior survives the upgrade.

Third, if DeepSeek models sit behind a gateway or proxy in your deployment, run one real search after upgrading and read the log. That single request tells you whether the search path and the billing path match what you expect.

node -v
npm view @deepseek-ai/dsh dist-tags
export DSH_HOME="$HOME/.dsh-rc5"
npx -y @deepseek-ai/dsh@0.2.2-rc.5 web --no-open

Node.js 24.9.0 or newer is required, the same floor as the earlier release candidates. Keeping DSH_HOME pointed at a separate directory lets the candidate run beside your working config instead of on top of it, which is how a release candidate should be tested.

What the release is really about

For people on default settings, rc.5 removes a decision they never wanted to make: search follows the model, and the invoice follows the tokens. For gateway operators, it is a short configuration audit with a billing line at the end. The rc tag means neither group should treat it as finished; the migration steps in the guide are brief enough to run in an afternoon, and the session log event makes verification a one-search job.

← Back to news