Skip to content

08 How Major Assistants Search

Anurag Prasad edited this page Nov 29, 2026 · 1 revision

8. How Major Assistants Search

A side-by-side look at how ChatGPT/OpenAI, Claude/Anthropic, DeepSeek, Gemini and Perplexity expose web search — based on each vendor's own documentation. Product details change quickly; always check the linked docs.

8.1 Common pattern

All of them follow the loop in Figure 7.1: the model decides whether to search, issues queries to a server-side tool, reads results (snippets and sometimes full pages), and answers with citations. Differences lie in control surface, depth modes, and what the developer can steer.

8.2 Vendor by vendor

OpenAI (ChatGPT and API)

  • Web search is a tool in the Responses API; the model may or may not call it depending on the prompt. Three modes are documented: non-reasoning search, agentic search with a reasoning model, and deep research (OpenAI docs).
  • Deep research is described as an agent-driven mode where the model searches as part of its chain of thought, often drawing on hundreds of sources, and may run for minutes (use background mode) (same docs; product intro: Introducing deep research).
  • Chat Completions search models always search before replying, whereas the Responses tool lets the model decide (docs).
  • Action types exposed in outputs include search, and for deep research open_page and find_in_page (Azure OpenAI how-to).

Anthropic (Claude)

  • A server-side web_search tool gives Claude real-time web content with cited sources; Claude decides when to search from the prompt, and developers can cap searches with max_uses, set domain allow/block lists and a user location (Claude docs).
  • Newer tool versions add dynamic filtering: Claude writes and runs code to filter results before they reach the context window (same docs).
  • Research architecture: multi-agent research system. Tool integration standard: MCP.

DeepSeek

  • The API documents deepseek_web_search and deepseek_read_url server-side tools. With thinking disabled, the model searches when needed and cites results; with thinking enabled it performs deep thinking search across steps — search, open pages, find text in pages (DeepSeek web tools).
  • A November 2026 announcement says the capabilities behind the DeepSeek App (search, file input, links) are now available through the API, with tool usage fees on top of tokens (news).
  • Reasoning-trace + tool use ("thinking with tools") appeared in the open-weights DeepSeek-V3.2 chat-template changes; the dedicated developer role there is described as reserved for search-agent scenarios.

Google Gemini

Perplexity

  • An answer engine built around search plus citations; developers can use its Sonar API. Cloudflare has publicly accused Perplexity of using undeclared crawlers to evade no-crawl directives — a claim made by Cloudflare, discussed in 16.

8.3 Comparison matrix

Capability OpenAI Anthropic DeepSeek Gemini Perplexity
Model-decides-when-to-search Yes (Responses tool) Yes Yes (non-thinking mode) Yes Search-centred
Citations returned Yes Yes Yes Yes (grounding metadata) Yes
Page open / read Deep research (open_page, find_in_page) web_fetch-style tooling alongside search deepseek_read_url, open/find in thinking mode URL context tooling Via product
Multi-step "deep" mode Deep research Research / multi-agent patterns Deep thinking search Deep Research in app Deep research modes
Cap / control knobs Filters, context size, background mode max_uses, domain lists, location Server-side; tool fees Config in grounding tool API params
Programmatic result filtering – Dynamic filtering via code execution – – –

Cells reflect documentation reviewed for this wiki; "–" means not found in the reviewed docs, not necessarily absent.

8.4 What changes for the web

Server-side tools mean the fetching happens from the vendor's infrastructure, with the vendor's user agent — which site owners can see and control (see 15–16). Cloudflare also notes that when it blocked a stealth crawler the answer engine fell back to other data sources (Cloudflare).

8.5 Edge over trained weights, restated

Search tools give: (1) freshness, (2) citable provenance, (3) long-tail coverage, (4) controllable scope (domains, locations). They cost latency, money (per-search tool fees — e.g. DeepSeek and OpenAI both document tool pricing) and add attack surface (10). See the cost model in 6.3.


❓ Check your understanding

Q1. What is "dynamic filtering" and why does it matter?

The model runs code to filter search results before they enter the context window, saving tokens and reducing distraction (Claude docs).

Q2. Why do vendors expose max_uses-style limits?

Each search costs money and latency, and agentic loops can run away. A cap bounds the worst case.

Q3. Who actually requests the target website when a hosted assistant searches?

The vendor's infrastructure (server-side tool), identifiable — when it behaves — by its declared user agent and IP ranges.

Q4. Why treat vendor comparison tables with caution?

They are based on documentation snapshots; features, model names and pricing change frequently.

← Prev 7. History · Next → 9. Search APIs for Agents

Clone this wiki locally