inferwire
/
AI·4 min read

DeepSeek Launches Web Search and Fetch API at $0.75 per 1k Calls

DeepSeek introduced dedicated search and web fetch endpoints priced at $0.75 per 1,000 successful requests, providing managed web retrieval for AI developers.

TL;DR

  • DeepSeek launched an integrated search and web fetching API tier priced at $0.75 per 1,000 successful requests [^1].
  • The service offers developers structured real-time web retrieval to ground language models without building custom search scrapers [^1] [^2].

Background

Large language models operate on fixed training datasets, creating inherent knowledge cutoffs that prevent them from answering questions about current events, changing software documentation, or live financial metrics. To resolve this limitation, software teams build Retrieval-Augmented Generation (RAG) pipelines. These systems send queries to external web search services, scrape the resulting web pages, parse out irrelevant code or navigation menus, and insert the remaining text into the prompt. Managing this secondary pipeline requires multiple vendor accounts, headless browsers, proxy networks, and custom HTML parsers, introducing financial costs and maintenance burdens for software developers.

What happened

DeepSeek introduced dedicated search and fetch endpoints to its platform API, giving developers native tools to supply real-time web context directly to language models [^1]. The implementation combines search querying with an automated web content extractor designed specifically for tokenization [^1] [^2].

Under the announced pricing scheme, DeepSeek charges $0.75 per 1,000 successful requests [^1]. Crucially, the platform only bills for operations that return valid content payloads, ignoring failed connections, HTTP 404 responses, or requests blocked by remote server timeouts [^2]. This structure eliminates the financial unpredictability associated with traditional web scraping, where developers frequently pay for failed browser instances or blocked proxy calls.

The search endpoint accepts natural language queries or key phrases, returning structured JSON payloads containing page titles, canonical URLs, and text snippets [^1]. Developers can immediately feed these target URLs into the fetch endpoint, which retrieves the remote web page and strips out JavaScript, cascading style sheets, inline advertisements, and tracking scripts [^1] [^2]. The output arrives as sanitized plain text or Markdown, ready to enter an LLM context window without requiring additional cleaning logic on the client application side [^2].

By consolidating web search and parsing within their existing infrastructure, DeepSeek offers an alternative to third-party search APIs like Bing Web Search or Google Custom Search Engine [^1]. Those established services often mandate tier-based monthly commitments, complex permissions management, or restrictive usage terms when pairing search data with generative AI products. DeepSeek's approach streamlines billing into a single developer dashboard [^2].

Why it matters

The cost of retrieving external data remains a significant factor in the overall unit economics of autonomous AI agents. While foundational model inference prices have fallen steadily over recent years, the supporting infrastructure needed to make models aware of live data has remained expensive. Third-party search APIs often cost anywhere from $2.00 to $5.00 per thousand queries, making agentic workflows that require repeated search loops cost-prohibitive at scale.

DeepSeek's $0.75 pricing tier establishes a lower cost baseline for real-time web access in language model applications. When building multi-step reasoning agents that execute multiple queries per user task, lowering search expenses directly improves project viability. Lowering the entry barrier for live data retrieval allows smaller software teams to deploy grounded, fact-checked AI assistants without maintaining substantial cloud infrastructure budgets.

Furthermore, this development reflects a broader transition among model providers toward full-stack capability. Instead of functioning strictly as raw text-generation endpoints, platform providers are integrating data retrieval, page rendering, and structural extraction directly into their standard developer toolkits. This convergence reduces architectural friction for developers, letting them build applications that query the open web while avoiding complex multi-vendor software stacks.

Practical example

Suppose you build a daily research assistant that monitors security advisories across multiple software repositories. Previously, your application had to submit queries through a standalone search vendor, collect target links, and spawn a headless browser instance to render each page and extract text. When a target website modified its page layout or deployed aggressive script barriers, your scraper crashed, leaving empty contexts for your summarization model.

With DeepSeek's endpoints, your application issues a search call directly through the API to locate relevant security posts. Once the search returns valid links, your code calls the fetch endpoint using those exact URLs. DeepSeek handles the page loading, strips away script tags, and returns clean text in Markdown format. Your system passes this text directly into the model for analysis—all through one API key, with costs tracked automatically on a single invoice.

Related gear

We recommend this book because it explains the underlying engineering principles behind search indices, data retrieval, and distributed system architectures.

AdvertisementAmazon

Designing Data-Intensive Applications

★★★★★ 4.8

Sources

  1. [1]DeepSeek — Search and Fetch API Guide
  2. [2]DeepSeek — Platform API Overview