DeepSeek Opens Web Search and Fetch APIs at $0.75 per 1,000 Calls
DeepSeek's new Search and Fetch APIs give agents live web results and pages as Markdown, billed at $0.75 per 1,000 successful requests; calls via Claude Code or Codex are free until November 1.
TL;DR
- DeepSeek now offers two web APIs for agents: Search, backed by its in-house search engine, and Fetch, which returns a web page as Markdown [^1].
- Each costs $0.75 per 1,000 successful requests; failed requests and empty results are not billed [^1].
Background
AI agents and retrieval-augmented generation (RAG) apps need live web content, so they rely on a search provider for results and a fetcher to turn pages into text a model can read. Developers usually stitch these together from separate services.
What happened
DeepSeek documented a Search API and a Fetch API that use the same bearer authentication as its model API [^1]. Search takes a query of up to 128 characters, returns between 1 and 50 results, and supports operators such as site:, lang:, after: and before:, with optional full page content [^1]. Fetch takes a single URL and returns the page's content as Markdown [^1].
Both are billed per successful request rather than by tokens or by the number of results: $0.75 per 1,000 requests each [^1]. A request counts only when it returns HTTP 200 with a result; failed requests, empty search results and timeouts are free [^1]. Calls that DeepSeek's server-side tools make when the API is used through DeepSeek Harness, Claude Code or Codex were free of charge, with per-request billing starting at midnight Beijing time on November 1, 2026 [^1]. Each account may send up to 100 Search and 25 Fetch requests per second, and Fetch is also limited per domain [^1].
Why it matters
Search and page extraction are now a standard part of the agent stack, and pricing them per successful call makes the cost of a web-connected agent easy to estimate. Bundling them with the model API also lowers the setup work for developers already on DeepSeek. The free period for agent tools also ended on November 1, so anyone running coding agents against DeepSeek's API will start seeing these calls on their bill.
Practical example
Say your research agent runs 200 searches and fetches 600 pages a day. At $0.75 per 1,000 successful requests each, that is about $0.15 for the searches and $0.45 for the pages, roughly $0.60 a day, and any request that returns nothing costs nothing [^1].
Related gear
We recommend this book because it explains the underlying engineering principles behind search indices, data retrieval, and distributed system architectures.