---
{
  "title": "DeepSeek Search API: how it works, what it costs, and the catches",
  "slug": "deepseek-search-api",
  "intent": "hype",
  "locale": "en",
  "alternates": {"x-default": "deepseek-search-api", "en": "deepseek-search-api", "de": "deepseek-such-api", "es": "api-de-busqueda-deepseek", "fr": "api-recherche-deepseek", "ja": "deepseek-kensaku-api", "pt": "api-de-busca-deepseek"},
  "date": "2026-10-19",
  "updated": "2026-11-24T22:10:53Z",
  "template": "default",
  "excerpt": "The DeepSeek Search API charges $0.75 per 1,000 successful searches. Here is how Search and Fetch work, the 5 QPS limit, and when billing starts in Claude Code.",
  "categories": ["Trending"],
  "tags": ["DeepSeek", "API", "AI agents", "AI pricing", "developer tools"],
  "readTime": 17,
  "author": 19,
  "reviewer": 4,
  "seo": {
    "title": "DeepSeek Search API: pricing, limits, and how Search and Fetch work",
    "description": "DeepSeek Search API guide: $0.75 per 1,000 successful requests, 5 QPS per account, Fetch as Markdown, and free Claude Code and Codex calls until November 1.",
    "image": "https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/banners/deepseek-search-api-mvehy43o-4241a5-20261019.png"
  },
  "coverImage": "https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/banners/deepseek-search-api-mvehy43o-4241a5-20261019.png",
  "coverImageAlt": "Hand-drawn illustration of a developer at a laptop while web pages flow from a search bar into a friendly AI agent, next to the DeepSeek whale logo",
  "coverImageWidth": 1920,
  "coverImageHeight": 1080,
  "cta": {
    "variant": "demo",
    "headline": "Search finds pages. Teammates answer customers.",
    "subhead": "See an AI helpdesk teammate that answers from your own help center and past tickets, with a citation on every reply.",
    "primary": { "label": "Book a demo", "action": "demo" },
    "secondary": { "label": "Try for free", "action": "signup" }
  },
  "faqs": {
    "heading": "Frequently Asked Questions",
    "type": "blog",
    "answerType": "html",
    "faqs": [
      {
        "question": "How much does the DeepSeek Search API cost?",
        "answer": "<p>The DeepSeek Search API costs <strong>$0.75 per 1,000 successful requests</strong>, and the Fetch API costs the same. A request is billed only when it returns HTTP 200 with results, so empty searches, failures, and timeouts are free. The full breakdown is on DeepSeek's <a href=\"https://api-docs.deepseek.com/guides/search#billing\">billing section</a>, and you can compare it with other model costs in my <a href=\"https://www.eesel.ai/blog/deepseek-v4-1-flash-pricing\">DeepSeek Flash pricing</a> post.</p>"
      },
      {
        "question": "Is DeepSeek web search free in Claude Code?",
        "answer": "<p>For now, yes. When you run <a href=\"https://www.eesel.ai/blog/claude-code\">Claude Code</a>, Codex, or DeepSeek Harness on the DeepSeek API, server-side web searches hit the Search and Fetch APIs for free until 00:00 Beijing time on November 1, 2026. After that they bill at the normal DeepSeek Search API rate, plus the model tokens used to read the results.</p>"
      },
      {
        "question": "What is the rate limit on the DeepSeek Search API?",
        "answer": "<p>Search and Fetch each allow 5 requests per second per account, no matter how many API keys you use. Fetch also has a per-domain limit. Requests over the limit get HTTP 429, so parallel <a href=\"https://www.eesel.ai/blog/ai-agent-examples\">AI agents</a> need a queue or a retry with backoff.</p>"
      },
      {
        "question": "Does the DeepSeek Search API work with DeepSeek Flash?",
        "answer": "<p>The standalone Search and Fetch endpoints work with any model, since you call them yourself and pass the results in. The built-in <code>web_search</code> tool in the Responses API and in Codex only runs on <code>deepseek-v4-pro</code> and is ignored on <code>deepseek-flash</code>. My <a href=\"https://www.eesel.ai/blog/deepseek-v4-flash-vs-v4-pro\">Flash vs Pro</a> comparison covers the rest of the differences.</p>"
      },
      {
        "question": "How does the DeepSeek Search API compare with Brave, Exa, and Tavily?",
        "answer": "<p>On list price it is the cheapest I found: $0.75 per 1,000 searches against $5 for Brave, $4 for Exa Instant, and $8 for Tavily's pay-as-you-go basic search. The tradeoff is a lower rate limit (5 per second) and an index that is newer to outside developers. If you want a choice of providers behind one endpoint, the <a href=\"https://www.eesel.ai/blog/cloudflare-web-search-api\">Cloudflare Web Search API</a> is another option.</p>"
      },
      {
        "question": "Can I use the DeepSeek Search API for a customer support chatbot?",
        "answer": "<p>You can, but it only finds public web pages. Most support answers live in a login-gated help center, past tickets, and macros that no web search reaches. An <a href=\"https://www.eesel.ai/ai-helpdesk-agent\">AI helpdesk teammate</a> like eesel answers from those private sources instead, and before it goes live it can replay a sample of your recently resolved tickets and score its answers against what your team sent.</p>"
      },
      {
        "question": "What does the DeepSeek Fetch API return?",
        "answer": "<p>The Fetch API takes one URL and returns the page title plus the content as Markdown. It costs the same $0.75 per 1,000 successful requests as the DeepSeek Search API, and pages it cannot read return a 404 that is not billed. It plays the same role as a scraper like <a href=\"https://www.eesel.ai/blog/firecrawl\">Firecrawl</a>, minus the crawling and formatting options.</p>"
      }
    ],
    "supportLink": null
  }
}
---

## TL;DR

The DeepSeek Search API, launched on October 17, 2026, gives agents live web search for <mark>$0.75 per 1,000 successful requests</mark>, with a matching Fetch API that turns any URL into Markdown. That is the lowest list price I found across nine search APIs, about 7x under Brave and 13x under the search tools OpenAI and Anthropic sell. You only pay for requests that come back with results. Early testers are split on result quality, so cheap is not the same as good.

The price per search is not the number to plan around, though. Three things matter more: the <mark>5 requests per second account limit</mark>, the tokens your model burns reading the pages you fetch, and November 1, 2026, when web searches made through Claude Code, Codex, and DeepSeek Harness stop being free. If you build research agents or RAG tools, it is worth testing this week. If you want an AI that answers support tickets, a web search API is the wrong layer: the answers live in your help center and past tickets, which is what an [AI helpdesk teammate](https://www.eesel.ai/ai-helpdesk-agent) from eesel learns from.

## Why I care about a search API

I build eesel's integrations, the code that pulls help-center articles, macros and tickets into the AI. Most of that job comes down to retrieval, which means finding the right piece of text and then showing where it came from. One hardware support team on an eesel sales call put citations on every answer at the top of their list, and in the same breath asked eesel to crawl a help center that sits behind a login.

That pairing is pretty much the lens I read this launch through. A cheap web search API solves the first half of that problem for public information. For the second half, it does nothing at all. So I went through DeepSeek's docs and billing rules and compared the price against eight other vendors, then also read what developers said in the first two days. I don't have hands-on benchmark numbers of my own, so where I cite speed or quality, it comes from people who measured it.

## What is the DeepSeek Search API?

The Search API finds web pages for a query and returns structured results. Its partner, the Fetch API, takes one URL and returns that page as Markdown. DeepSeek's [Search & Fetch guide](https://api-docs.deepseek.com/guides/search) describes both as raw JSON APIs that use the same bearer key as the rest of the DeepSeek API.

![The Search & Fetch page in the DeepSeek API docs, listing the two endpoints and the authentication headers, as taken from [DeepSeek API Docs](https://api-docs.deepseek.com/guides/search)](https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/deepseek-search-api/images/deepseek-search-guide-20261019.png)

It shipped the same day as [DeepSeek V4.1 Flash 1017](https://www.eesel.ai/blog/deepseek-v4-1-flash-1017), the model update I [reviewed separately](https://www.eesel.ai/blog/deepseek-v4-1-flash-1017-review). The [changelog entry](https://api-docs.deepseek.com/updates) says the engine behind DeepSeek's web and API search already handles "hundreds of millions of search requests" a day, indexes "hundreds of billions of web pages," and filters SEO spam and low-quality AI-generated content. Put simply, it's the same search DeepSeek's chatbot was already using, only now it is sold by the request.

| API | Endpoint | What it returns |
| --- | --- | --- |
| Search | `POST https://api.deepseek.com/v1/tools/search` | Up to 50 results with title, URL, snippet, summary, date and scores |
| Fetch | `POST https://api.deepseek.com/v1/tools/fetch` | The page title and its content as Markdown |

## How Search and Fetch work together

The two endpoints map onto the loop most [research agents](https://www.eesel.ai/blog/ai-agent-examples) already run: search, pick the promising links, read them, answer. The model itself never touches the web at any point. Your code (or a harness like [Claude Code](https://www.eesel.ai/blog/claude-code-guide)) makes the calls and drops the results into the model's context.

![Hand-drawn pipeline of five cards: agent has a question, Search API returns up to 50 results, pick the best URLs by rerank score, Fetch API returns the page as Markdown, and the model reads and answers, with the per-request price under Search and Fetch](https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/blog-gen/generated/asset-1792368816735-1ao4tf-20261019.png)

A Search request takes five fields, per the [Search API reference](https://api-docs.deepseek.com/api/search):

| Field | Default | What it does |
| --- | --- | --- |
| `query` | required | 1 to 128 characters, with search operators |
| `count` | `10` | Number of results, from 1 to 50 |
| `ori_question` | none | The user's original question, to help DeepSeek understand the query |
| `localization` | `""` | An IP address to localize results |
| `need_content` | `false` | Return full page content in each result |

The query supports the operators you would type into a search box: `site:` and `-site:`, exact phrases in quotes, `lang:zh,en`, and `after:` / `before:` dates. That 128-character cap is tight, especially for agents that like pasting the whole question in. `ori_question` is the workaround: keep the query short and pass the full question separately.

Each result also carries two fields, and I haven't seen them packaged quite this way in other APIs. `rerank_score` runs from 0 to 3, and DeepSeek says 1.5 or above counts as high quality. `authority` runs from 0 to 4, with 3 and up meaning a highly authoritative source. There is also a `summary` of 600 to 800 characters that DeepSeek says is "intended to be read by a model." For a [RAG pipeline](https://www.eesel.ai/blog/rag-vs-llm), that means you can drop junk pages and feed summaries to the model before you pay to fetch anything. One caveat from an [early builder](https://www.reddit.com/r/DeepSeek/comments/1x8fbd6/i_built_a_perplexitystyle_search_on_deepseeks_new/): across 60 results, they found `rerank_score` ranged from 0.03 to 2.32 and "barely changes between different queries," which reads more like a page-quality score than a relevance score. My own use for it would be dropping low-quality pages, not ranking answers.

The Fetch API is simpler: send a URL (up to 8,192 characters), get back `title` and `content`. If the page can't be read, because the site blocks it or there is nothing to extract, you get a 404. A 403 means DeepSeek's own security policy rejected the request. It's worth handling both in code, rather than letting your agent keep retrying forever.

## What does the DeepSeek Search API cost?

Search and Fetch bill per successful request, not by tokens and not by the number of results. Here is the whole price list from DeepSeek's [pricing page](https://api-docs.deepseek.com/quick_start/pricing):

| API | Unit | Price |
| --- | --- | --- |
| Search | Per 1,000 successful requests | $0.75 |
| Fetch | Per 1,000 successful requests | $0.75 |

The billing rule is on the generous side. A request counts only when it returns HTTP 200 and actually produces something: a non-empty `results` array for Search, page content for Fetch. <mark>Empty results, failed requests and timeouts are free</mark>, and asking for 50 results costs the same as asking for one.

![Hand-drawn two-column chart: you pay for HTTP 200 with results, Fetch returning a page, and Claude Code or Codex calls from November 1; you do not pay for empty results, failed requests, timeouts, or asking for 50 results instead of 1](https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/blog-gen/generated/asset-1792368817476-hm05pp-20261019.png)

The other half of the bill comes from the model reading whatever you pulled in. Those tokens bill at normal [Flash pricing](https://www.eesel.ai/blog/deepseek-v4-1-flash-pricing) or V4 Pro rates. Off-peak prices are half of peak, and peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays:

| Model (per 1M tokens) | Input, cache miss | Input, cache hit | Output |
| --- | --- | --- | --- |
| `deepseek-flash`, off-peak | $0.15 | $0.003 | $0.60 |
| `deepseek-flash`, peak | $0.30 | $0.006 | $1.20 |
| `deepseek-v4-pro`, off-peak | $0.66 | $0.022 | $1.98 |
| `deepseek-v4-pro`, peak | $1.32 | $0.044 | $3.96 |

One date is worth putting in your calendar. When you use the DeepSeek API through DeepSeek Harness, Claude Code or Codex, the agent's server-side searches already go through these endpoints. The guide says those calls are free for now and that <mark>per-request billing starts at 00:00 Beijing time on November 1, 2026</mark> (16:00 UTC on October 31). If you have been leaving web search on in [Claude Code](https://www.eesel.ai/blog/claude-code) because it costs nothing, that changes in under two weeks.

## How it compares with other search APIs

I pulled each vendor's own pricing page on October 19, 2026. The units are not the same across vendors, so check the second column before you compare any numbers.

![Hand-drawn bar chart of price per 1,000 web searches: DeepSeek $0.75, Perplexity Fast $1, Exa Instant $4, Brave $5, Perplexity $5, Tavily $8, OpenAI $10 plus tokens, Anthropic $10 plus tokens, Gemini $14](https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/blog-gen/generated/asset-1792368871875-4k7wvk-20261019.png)

| Vendor | Billing unit | Price per 1,000 | Result tokens billed too? | Free tier | Rate limit |
| --- | --- | --- | --- | --- | --- |
| DeepSeek Search | Successful request | $0.75 | No | None listed | 5 per second |
| [Perplexity](https://docs.perplexity.ai/docs/getting-started/pricing) Search | Request (up to 5 queries) | $5 standard, $1 Fast Search | No | None listed | 50 per second |
| [Exa](https://exa.ai/pricing) | Request (up to 10 results) | $4 Instant, $7 Fast/Auto, $12 Deep | No, page text $1 per 1,000 pages | $10 a month | 10 to 25 per second |
| [Brave Search API](https://api-dashboard.search.brave.com/app/plans) | Request | $5 | No | $5 credit a month | 50 per second |
| [Tavily](https://docs.tavily.com/documentation/api-credits) | Credit (basic search = 1) | $8 pay-as-you-go, $5 to $7.50 on plans | No | 1,000 credits a month | 100 to 1,000 per minute |
| [Firecrawl](https://www.firecrawl.dev/pricing) search | Credits (2 per 10 results) | About $1.20 to $7.60 by plan | No | 1,000 credits a month | Plan-based |
| [OpenAI web search](https://platform.openai.com/docs/pricing) | Tool call | $10 | Yes | None listed | Model limits |
| [Anthropic web search](https://docs.claude.com/en/docs/about-claude/pricing) | Search | $10 | Yes | None listed | Per organization |
| [Gemini grounding](https://ai.google.dev/gemini-api/docs/pricing) | Search query | $14 | Not for results | 5,000 a month | Model limits |

Tavily and Firecrawl figures are my arithmetic from their credit rates, assuming basic depth and 10 results.

Three things stood out to me. First, DeepSeek undercuts every list price here, and the closest rivals at $1 to $1.20 are a fast tier or a $599-a-month plan. Second, the "plus tokens" rows matter: OpenAI and Anthropic charge $10 per thousand searches and then bill the results as input tokens on top, on models like [GPT-5.6](https://www.eesel.ai/blog/gpt-5-6-pricing) and Claude (see [Anthropic API pricing](https://www.eesel.ai/blog/anthropic-api-pricing)) that cost far more per token than DeepSeek Flash. Third, DeepSeek's rate limit is the lowest in the table, and by a wide margin.

If you want to switch providers without rewriting code, [Cloudflare's Web Search API](https://www.eesel.ai/blog/cloudflare-web-search-api) puts three of them behind one endpoint. For deep multi-step research rather than single queries, [Exa Agent Ultra](https://www.eesel.ai/blog/exa-agent-ultra) is a different product at a [different price](https://www.eesel.ai/blog/exa-agent-ultra-pricing).

If you mostly need page-to-Markdown at scale, [Firecrawl's pricing](https://www.eesel.ai/blog/firecrawl-pricing) is the one to compare Fetch against.

## The 5 QPS limit is the number to plan around

Search and Fetch each allow 5 requests per second per account. Since the limit is account-wide, adding more API keys won't raise it. It is also separate from DeepSeek's model concurrency limits, and Fetch adds a per-domain cap on top. Anything over the line gets HTTP 429.

Five per second sounds tiny, but do the math: it is 432,000 searches a day per endpoint, which is more volume than almost anyone needs. Where it actually bites is bursts. A research agent that fans out 20 parallel searches, or 10 users hitting your app in the same second, will trip the limit even if your monthly volume is small. Brave and [Perplexity](https://www.eesel.ai/blog/perplexity-pricing) allow 50 per second, so this is where DeepSeek's low price shows its tradeoff.

The fix is boring and works, and it's the same pattern any [AI agent API integration](https://www.eesel.ai/blog/ai-agent-api-integration) needs: put a queue in front of the API with a token-bucket limiter, retry 429s with backoff, and fan out fetches across domains rather than hammering one site. DeepSeek's error guide says to retry on 408, 429 and 5xx, top up your balance on 402, and leave other 4xx errors alone until you change the request.

## What does one agent task really cost?

Let me walk through a worked example. Say a research agent runs 2,000 tasks a month, and each task makes 4 searches and fetches 3 pages. That is 8,000 searches and 6,000 fetches, or $10.50 a month in DeepSeek fees. The same 8,000 searches would cost $40 on Brave, $64 on Tavily pay-as-you-go, and $80 on OpenAI before its token charges.

Now for the part people tend to skip. Those 6,000 fetched pages go into the model. If a page averages 6,000 tokens (my assumption, real pages vary a lot), that is 36 million input tokens: $5.40 on Flash off-peak, $10.80 on Flash at peak, or $23.76 on V4 Pro off-peak. On V4 Pro, <mark>the pages you read cost more than the searches that found them</mark>.

On small jobs, it flips the other way. A [Reddit user](https://www.reddit.com/r/DeepSeek/comments/1x8dpnu/new_deepseek_searchfetch_api_vs_the_old_search/) who logged a week of agent work found one research subagent made 85 searches against just $0.07 of model work. At $0.75 per thousand, those searches cost about $0.06, nearly as much as the model itself. So on cheap Flash calls, the search fee can end up matching the model bill. Plug in your own numbers below.

```widget
<div class="dsw">
  <div class="dsw-head">
    <div class="dsw-title">DeepSeek Search API cost estimator</div>
    <div class="dsw-sub">Search and Fetch fees plus the tokens to read fetched pages</div>
  </div>
  <div class="dsw-grid">
    <label>Agent tasks per month<input type="number" id="tasks" value="2000" min="0" step="100"></label>
    <label>Searches per task<input type="number" id="srch" value="4" min="0" step="1"></label>
    <label>Pages fetched per task<input type="number" id="ftch" value="3" min="0" step="1"></label>
    <label>Tokens per fetched page<input type="number" id="tok" value="6000" min="0" step="500"></label>
    <label class="dsw-wide">Model reading the pages
      <select id="model">
        <option value="0.15">DeepSeek Flash, off-peak ($0.15 / 1M input)</option>
        <option value="0.30">DeepSeek Flash, peak ($0.30 / 1M input)</option>
        <option value="0.66">DeepSeek V4 Pro, off-peak ($0.66 / 1M input)</option>
        <option value="1.32">DeepSeek V4 Pro, peak ($1.32 / 1M input)</option>
      </select>
    </label>
  </div>
  <div class="dsw-out">
    <div class="dsw-card"><div class="dsw-k">Search + Fetch fees</div><div class="dsw-v" id="fees">$0</div><div class="dsw-n" id="reqs"></div></div>
    <div class="dsw-card"><div class="dsw-k">Tokens to read pages</div><div class="dsw-v" id="tokc">$0</div><div class="dsw-n" id="tokn"></div></div>
    <div class="dsw-card dsw-total"><div class="dsw-k">Monthly total</div><div class="dsw-v" id="total">$0</div><div class="dsw-n" id="pertask"></div></div>
  </div>
  <div class="dsw-cmp">
    <div class="dsw-k">The same searches elsewhere (search fees only, list prices)</div>
    <div id="bars"></div>
  </div>
  <div class="dsw-foot">Prices from vendor pages on Oct 19, 2026. DeepSeek bills only successful, non-empty requests. Gemini includes 5,000 free searches a month. Output tokens and summaries not included.</div>
</div>
<style>
.dsw{background:#fff;color:#474739;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;border:1px solid #e6e6df;border-radius:14px;padding:20px;max-width:760px;margin:0 auto}
.dsw-title{font-size:18px;font-weight:700;color:#1f2a44}
.dsw-sub{font-size:13px;margin-top:2px}
.dsw-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}
.dsw-grid label{display:flex;flex-direction:column;font-size:13px;font-weight:600;gap:6px}
.dsw-wide{grid-column:1/-1}
.dsw input,.dsw select{font:inherit;font-weight:400;padding:8px 10px;border:1px solid #d6d6cc;border-radius:8px;background:#fff;color:#474739}
.dsw input:focus,.dsw select:focus{outline:2px solid #4176E6;border-color:#4176E6}
.dsw-out{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px}
.dsw-card{border:1px solid #e6e6df;border-radius:10px;padding:12px}
.dsw-total{background:#4176E6;border-color:#4176E6;color:#fff}
.dsw-total .dsw-k,.dsw-total .dsw-n{color:#eaf0fd}
.dsw-k{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.03em}
.dsw-v{font-size:24px;font-weight:700;margin-top:4px}
.dsw-n{font-size:12px;margin-top:2px}
.dsw-cmp{margin-top:18px}
.dsw-row{display:grid;grid-template-columns:150px 1fr 80px;align-items:center;gap:8px;margin-top:7px;font-size:13px}
.dsw-track{background:#f1f1ec;border-radius:6px;height:12px;overflow:hidden}
.dsw-fill{background:#c9c9bd;height:100%;border-radius:6px}
.dsw-row.ds .dsw-fill{background:#4176E6}
.dsw-row.ds{font-weight:700;color:#1f2a44}
.dsw-amt{text-align:right}
.dsw-foot{font-size:11px;margin-top:14px;color:#77776a}
@media(max-width:560px){.dsw-grid,.dsw-out{grid-template-columns:1fr}.dsw-row{grid-template-columns:110px 1fr 70px}}
</style>
<script>
(function(){
  var $=function(id){return document.getElementById(id)};
  var fmt=function(n){return n>=100?'$'+Math.round(n).toLocaleString():'$'+n.toFixed(2)};
  function calc(){
    var t=Math.max(0,+$('tasks').value||0),s=Math.max(0,+$('srch').value||0),f=Math.max(0,+$('ftch').value||0),k=Math.max(0,+$('tok').value||0),p=+$('model').value;
    var S=t*s,F=t*f,fees=(S+F)*0.75/1000,toks=F*k,tc=toks/1e6*p,tot=fees+tc;
    $('fees').textContent=fmt(fees);$('reqs').textContent=S.toLocaleString()+' searches, '+F.toLocaleString()+' fetches';
    $('tokc').textContent=fmt(tc);$('tokn').textContent=(toks/1e6).toFixed(1)+'M input tokens';
    $('total').textContent=fmt(tot);$('pertask').textContent=t?('$'+(tot/t).toFixed(4)+' per task'):'';
    var v=[['DeepSeek',S*0.75/1000,1],['Perplexity Fast',S*1/1000],['Exa Instant',S*4/1000],['Brave',S*5/1000],['Perplexity',S*5/1000],['Tavily (pay-as-you-go)',S*8/1000],['OpenAI (+ tokens)',S*10/1000],['Anthropic (+ tokens)',S*10/1000],['Gemini',Math.max(0,S-5000)*14/1000]];
    var mx=Math.max.apply(null,v.map(function(x){return x[1]}))||1,h='';
    v.forEach(function(x){h+='<div class="dsw-row'+(x[2]?' ds':'')+'"><span>'+x[0]+'</span><div class="dsw-track"><div class="dsw-fill" style="width:'+Math.max(1,x[1]/mx*100)+'%"></div></div><span class="dsw-amt">'+fmt(x[1])+'</span></div>'});
    $('bars').innerHTML=h;
  }
  ['tasks','srch','ftch','tok','model'].forEach(function(id){$(id).addEventListener('input',calc);$(id).addEventListener('change',calc)});
  calc();
})();
</script>
```

The estimator leaves out output tokens and the search summaries, so treat it as a floor. Two levers move the bill more than anything else. The first is `need_content: true`, which returns page text inside the search results so you can skip separate fetches. The builder of a [Perplexity-style answer engine](https://www.reddit.com/r/DeepSeek/comments/1x8fbd6/i_built_a_perplexitystyle_search_on_deepseeks_new/) said it took one question "from 31s to 7s," with 15 results and about 119,000 characters in one billable call. That trades fetch fees for tokens, since 119,000 characters is roughly 30,000 tokens for the model to read. The second lever is timing: run batch jobs off-peak, where every DeepSeek token costs half. And if Flash isn't smart enough to pick good sources, compare it against [Kimi K3](https://www.eesel.ai/blog/kimi-k3) or step up using my [Flash vs Pro](https://www.eesel.ai/blog/deepseek-v4-flash-vs-v4-pro) notes before you pay for more fetches.

## Using it from Claude Code, Codex and Harness

Most people will run into this API without ever calling it directly. DeepSeek's [Claude Code guide](https://api-docs.deepseek.com/quick_start/agent_integrations/claude_code) says the API "natively supports the Web Search feature in Claude Code." When the model decides a question needs the web, Claude Code calls the Web Search tool and DeepSeek runs the search on its side.

![Claude Code running on deepseek-v4-pro, making two Web Search calls for Rust tutorials and then answering with a curated list, as taken from [DeepSeek API Docs](https://api-docs.deepseek.com/quick_start/agent_integrations/claude_code)](https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/deepseek-search-api/images/1-20261019.png)

The same page spells out the cost: summarizing search results takes extra model requests, so "additional model token costs will be incurred," and the searches themselves bill at Search API rates. That lines up with what I said earlier. On Claude Code, the search fee is the small line on the invoice. If you're tuning spend, my [Claude Code pricing](https://www.eesel.ai/blog/claude-code-pricing) guide covers the rest, and the [environment variables](https://www.eesel.ai/blog/claude-code-environment-variables) post shows how to point Claude Code at another API.

The model gating is an easy thing to miss. In the [Responses API](https://api-docs.deepseek.com/guides/responses_api), the built-in `web_search` tool is "Supported with `deepseek-v4-pro`" and "Ignored with `deepseek-flash`." The [Codex integration](https://api-docs.deepseek.com/quick_start/agent_integrations/codex) is the same (my [Codex pricing](https://www.eesel.ai/blog/codex-pricing) post covers OpenAI's own plans): web search only works when Codex runs on `deepseek-v4-pro`, and DeepSeek's setup script writes `web_search = "disabled"` until you change it to `"live"`. So if you moved Codex to Flash to save money and search quietly stopped working, that is why. The standalone endpoints don't care which model you use, since your code makes the calls.

[DeepSeek Harness](https://www.eesel.ai/blog/deepseek-harness), DeepSeek's own agent app, is the third route in the free window (see [Harness alternatives](https://www.eesel.ai/blog/deepseek-harness-alternatives) if it isn't your tool). Its trajectory view shows every tool call in a session, which is the easiest way I know to see how many searches an agent really makes before you start paying for them.

![DeepSeek Harness trajectory view, showing a timeline of tool calls and a list of bash steps with a detail panel, as taken from [DeepSeek Harness](https://www.deepseek.com/en/harness/)](https://wmeojibgfvjvinftolho.supabase.co/storage/v1/object/public/blog-research/deepseek-search-api/images/deepseek-harness-trajectory-view-showing-a-timeline-tool-cal-20261019.webp)

## What developers are saying

The first reaction was about price, and it was loud. The [Hacker News thread](https://news.ycombinator.com/item?id=50138531) on the launch ran the comparison people care about:

> "For comparison that's $5 with Brave Search API and $12 with Kagi API"
>
> -- [thombles, Hacker News](https://news.ycombinator.com/item?id=50138776)

Developers who had already built their own search tools, often as an [MCP server](https://www.eesel.ai/blog/ai-agent-mcp-server), were impressed too:

> "About a year ago I built my own search and fetch MCP tools for agents based on third-party scraping providers. It is about 15-20x more cost-effective than what OpenAI and Anthropic is offering with their integrated web search and fetch tools. Very impressive that DeepSeek has such a competitive offering today."
>
> -- [suncemoje, Hacker News](https://news.ycombinator.com/item?id=50138899)

The most detailed data point came from a Reddit user who ran 353 queries and 196 fetches through both the new API and DeepSeek's older search path, which billed by tokens. Their numbers: cost fell from $0.64 to $0.41, and search latency from 4.3 seconds to under 0.9 seconds. (The post says DeepSeek's own model wrote it up from the user's logs, and it didn't compare against Tavily, Exa or Brave.) Their take on what matters, beyond the snippets and dates they now get instead of bare URLs:

> "The 2.4× is nice. The real win is that the price is now predictable"
>
> -- [u/Kraionix, Reddit](https://www.reddit.com/r/DeepSeek/comments/1x8dpnu/new_deepseek_searchfetch_api_vs_the_old_search/)

On quality, the reviews are more mixed. A developer who runs their own fetch benchmark wasn't impressed:

> "Ran a few quick tests on my web-fetch bench. As much as I like DeepSeek, its search and fetch aren't very good (is quite cheap tho). You'd probably be better off using free services like Jina directly, or if you're going paid, Parallel, Firecrawl, Tavily and Exa are all pretty good now."
>
> -- [ggnore7452, Hacker News](https://news.ycombinator.com/item?id=50144703)

Another probed what sits behind the API:

> "as expected, the typical "politically sensitive" search queries return 0 results"
>
> -- [czk, Hacker News](https://news.ycombinator.com/item?id=50141678)

The same comment says fetch traffic exits through Huawei Cloud in Hong Kong. Neither of the testers gave hard numbers, so I'd treat them as reasons to test rather than verdicts. The open question is the one the widget above tries to answer:

> "At $0.75 per 1000 requests, I want to know how many calls an agent makes in the background. Has anyone calculated the cost for typical research task?"
>
> -- [u/Glum-Guitar-5083, Reddit](https://www.reddit.com/r/DeepSeek/comments/1x8d4u2/comment/phbkoy0/)

And for teams who just want to get going, the boring advantage got a mention:

> "I have been looking for Search API that will scale and no one is close to Deepseek's API search pricing. Deepseek also makes it easy to pay - just a credit card and you don't need to jump through any hoops to add money."
>
> -- [u/Viktri1, Reddit](https://www.reddit.com/r/DeepSeek/comments/1x8d4u2/comment/phfpbqd/)

## Where it falls short

The price is real, and so are the limits. Before you swap your search provider, check these:

- **Rate limit.** 5 requests per second per account is a tenth of what Brave and Perplexity allow. Fine for one agent, tight for a busy product.
- **Short queries.** 128 characters per query, so long natural-language questions need to go in `ori_question`.
- **Data location.** DeepSeek's [privacy policy](https://cdn.deepseek.com/policies/en-US/deepseek-privacy-policy.html) says personal data may be stored on servers in the People's Republic of China, and lists improving its models among the uses of user input, with an opt-out right. Search queries can carry customer details, so that is a compliance check, not a footnote.
- **No published retention terms for search.** Brave describes zero data retention by design, and Exa and Firecrawl offer it on enterprise plans. I didn't find an equivalent statement for DeepSeek's search endpoints.
- **Filtered results.** One tester reported that politically sensitive queries return zero results, and that fetches go out through Huawei Cloud in Hong Kong. If your agent researches news, policy or China-related topics, expect gaps (and remember empty results are at least free).
- **An index outsiders haven't tested at scale.** DeepSeek says its engine handles hundreds of millions of searches a day. How well it ranks English-language niche results against Google-backed or Brave-backed APIs is something to test on your own queries, not take on faith.

None of these is a dealbreaker for a side project or an internal research tool. For anything customer-facing, though, they add up quickly.

## Is it useful for customer support?

This is the part where I'd slow down. A cheap web search API makes it tempting to build a support bot that "just looks it up." For a small slice of questions, that works: a shipping carrier's public holiday schedule, a changelog for a third-party tool your product integrates with, a regulation that changed last week.

Most support answers aren't on the open web, though, which is why [AI search engines](https://www.eesel.ai/blog/ai-search-engines) are bad at them. They sit in your help center (often behind a login, like that hardware team's), in past tickets, in macros, and in internal docs. That's the job of an [AI knowledge base](https://www.eesel.ai/blog/ai-knowledge-base), not a search engine. A web search API can't reach any of that, and pointing one at the public web invites the bot to quote a competitor's docs or a three-year-old forum post as if it were your policy. eesel learned a version of this the hard way: a confident-sounding answer is not the same as a right one, which is why eesel can replay a sample of a team's recently resolved tickets and score its answers against what the team sent before it touches a live customer.

So for support, I'd treat web search as a narrow tool you allow for specific public sources, with `site:` filters, not the main knowledge layer. The main layer is your own content, with [citations on every answer](https://www.eesel.ai/blog/rag-full-form-in-ai). If you're wiring that up yourself, my notes on [MCP for customer support](https://www.eesel.ai/blog/mcp-for-customer-support) cover where web tools fit and where they don't.

## Try eesel

The DeepSeek Search API is infrastructure: a cheap, fast way for your code to find and read public pages. You'd still have to build everything that makes an AI safe to put in front of customers. eesel is the employee, an [AI teammate](https://www.eesel.ai/blog/ai-teammates) already built. For support it works as an [AI helpdesk teammate](https://www.eesel.ai/ai-helpdesk-agent): it connects to [Zendesk](https://www.eesel.ai/integrations/zendesk), Freshdesk, Gorgias and the rest, learns from your help center, macros and past tickets, cites its sources, and before it answers anyone it can replay a sample of your recently resolved tickets and score its answers against what your team sent.

If you're the kind of builder who reads search API docs for fun, you'll probably want to drive it from a terminal. The [eesel CLI](https://docs.eesel.ai/apis-and-developer-resources/cli) does that: `npx @eesel/cli init chat-bubble --site <your-site>` spins up a free 7-day workspace with no account, `eesel integrations connect zendesk` wires in your helpdesk, `eesel instructions` edits the teammate's standing rules, and `eesel activity` shows what it did and why. Every command prints JSON, writes accept `--dry-run`, and `eesel mcp token` turns your workspace into an MCP server, so [Claude Code](https://www.eesel.ai/blog/claude-code-mcp-tools) or Codex can manage your support teammate the way they manage your repo. If you write content instead of answering tickets, eesel also has an [AI blog writer](https://www.eesel.ai/ai-blog-writer).

![eesel dashboard overview](https://cdn-public.eesel.ai/blog/internal-assets/eesel-dashboard-overview-no-customers-20261122.png)

It's free to start with 100 credits for 7 days, no card. [Try eesel](https://www.eesel.ai/), let it replay a sample of last month's resolved tickets, and see what it would have answered, and where it would have cited your docs instead of the open web. Plans are on the [pricing page](https://www.eesel.ai/pricing).
