# DeepSeek's full-suite app API: server-side search, URL reading, files, safety and voice

On 13 November 2026 DeepSeek opened the features behind its consumer app to developers, and on 18 November it stopped charging per call for search used inside model calls. This guide explains the tools, the request format and the real cost of a search-backed answer.

DeepSeek has turned its API into something closer to its own chat app. On 13 November 2026 it released what it calls the full suite of application APIs. Developers using `deepseek-flash` (currently [DeepSeek V4.1](/tools/deepseek-v4-1) Flash 1017) can now switch on web search, multi-step "deep thinking" search, URL reading, file input and safety checks with a few request fields. DeepSeek runs the tool calls and assembles the context on its own servers. Separate APIs for search, page fetching, OCR, speech-to-text (ASR) and text-to-speech (TTS) are also available.

Five days later, on 18 November, DeepSeek changed how this is billed: search and fetch calls triggered during a model call are no longer charged per call. Their results are billed as ordinary input tokens instead. Together, these changes make DeepSeek one of the cheapest ways to build a chatbot that searches the web and reads documents, without writing your own retrieval layer.

This guide explains what was released, how server-side tools work, how to call them, and what a typical answer costs. For the model line-up and DeepSeek's sparse attention, see [our DeepSeek V4 guide](/articles/deepseek-v4-guide-sparse-attention-pricing).

## What happened

### DeepSeek opens its in-house search engine as an API (17 October 2026)

DeepSeek's update log says its in-house search engine, which handles hundreds of millions of requests a day, became available as an API. DeepSeek says it indexes hundreds of billions of web pages, supports multilingual search and filters SEO spam, generative-engine manipulation and low-quality AI-generated content. These are DeepSeek's own claims. On the same day, DeepSeek upgraded `deepseek-flash` to DeepSeek-V4.1-Flash-1017 with unchanged prices.

### DeepSeek releases the full suite of application APIs (13 November 2026)

The announcement, titled "The full DeepSeek App experience, now via API", lists five built-in features for `deepseek-flash` on the Messages, Responses and Chat Completions interfaces:

- **Web search:** with thinking off, the model searches the web or images and answers with citations.
- **Deep thinking search:** with thinking on, the model searches and reads pages across several reasoning steps.
- **File input:** PDFs, Office files, images and similar files are parsed into the conversation.
- **URL reading:** the model fetches links that appear in user messages.
- **Safety checks:** inputs and outputs are screened, and a refusal marker comes back when a risk is found.

It also lists standalone Search, Fetch, OCR, ASR and TTS APIs, and an open-source demo chat client that can import DeepSeek chat history.

### Server-side search and fetch stop being billed per call (18 November 2026)

DeepSeek's pricing page says that from 12:00 Beijing time (UTC+8) on 18 November 2026, search and web fetch calls triggered during model calls are no longer billed per call. Their returned results are billed as model input tokens. The standalone Search and Fetch APIs keep their per-request prices.

## How server-side tools work

### Client-side tools versus server-side tools

In ordinary [function calling](/tools/function-calling), the model only asks for a tool. Your code runs the search, pastes the results back and calls the model again. That loop is yours to build, host and debug.

Server-side tools move the loop to the provider. You declare the tool, DeepSeek's service runs the search or fetch, inserts the results into the context and lets the model continue. It is the difference between cooking from a recipe and ordering from a restaurant: you still choose the dish, but someone else runs the kitchen.

| | Client-side tools | DeepSeek server-side tools |
|---|---|---|
| Who runs the search | Your code | DeepSeek's service |
| Round trips per answer | One per tool step | One request, streamed |
| Search engine | Any you choose | DeepSeek's in-house engine |
| Context assembly | Your code | DeepSeek |
| Billing (in-call search, after 18 Nov) | Your search vendor plus tokens | Result tokens only |
| Control over sources | Full | Limited to what DeepSeek returns |
| Works with | Any model | `deepseek-flash` |

### Two search modes

The guide ties search mode to the thinking setting. With thinking disabled and the `deepseek_web_search` tool declared, you get fast web search: the model searches as needed and answers with citations. With thinking enabled and the same tool, you get deep thinking search: the model plans, searches, reads links and searches again over several reasoning steps. This is the agentic retrieval pattern we explain in [our agentic RAG article](/articles/agentic-rag-retrieval-decisions-deep-research), run for you.

### What the stream looks like

The guide's example uses the Anthropic-style Messages endpoint and streams events in a fixed order: `message_start`, then several start, delta and stop triplets for content blocks, then `message_delta` and `message_stop`. Block types include:

- `thinking` for reasoning,
- `server_tool_use` for the search queries the model issued,
- `web_search_tool_result` with each result's title, URL, snippet, site name and icon,
- `web_fetch_tool_result` for pages it read,
- `text` for the answer.

Citations arrive as `citations_delta` entries with the source URL, title and cited text. The final `message_delta` carries the `stop_reason`, a generated conversation title if you asked for one, and usage counts, including the number of search and fetch requests. A `stop_reason` of `"refusal"` means the safety check fired, and your client should show its own refusal message.

### Parameters the service overrides

When you use web tools, set `safety_check` to high, or ask for a title, the service ignores some sampling fields. The guide's examples include `temperature`, `top_p` and `stop` in Chat Completions, and `temperature`, `top_p` and most `metadata` (except `user_id`) in Messages. One more detail matters for long answers: `max_tokens` (or `max_output_tokens` in Responses) applies to each inference step within a round, not to the round's total output.

## Calling the API

The four request fields are shown in the guide's Messages example:

| Field | Value in the guide's example | Effect |
|---|---|---|
| `thinking` | `{"type": "enabled"}` | Deep thinking search when combined with web search |
| `tools` entry | `{"type": "deepseek_web_search", "name": "deepseek_web_search"}` | Server-side web search |
| `tools` entry | `{"type": "deepseek_read_url", "name": "deepseek_read_url"}` | Fetch links found in user messages |
| `safety_check` | `{"level": "high"}` | Screen input and output; refusal on risk |
| `title` | `{"enabled": true}` | Return a short conversation title |

Here is a minimal Python request to the Messages endpoint built from those fields. It uses only the standard library:

```python
import json, os, urllib.request

body = {
    "model": "deepseek-flash",
    "max_tokens": 4096,
    "thinking": {"type": "enabled"},
    "tools": [
        {"type": "deepseek_web_search", "name": "deepseek_web_search"},
        {"type": "deepseek_read_url", "name": "deepseek_read_url"},
    ],
    "safety_check": {"level": "high"},
    "title": {"enabled": True},
    "messages": [{"role": "user", "content": "What changed in the EU AI Act timeline this month? Cite sources."}],
    "stream": False,
}
req = urllib.request.Request(
    "https://api.deepseek.com/anthropic/v1/messages",
    data=json.dumps(body).encode(),
    headers={"Content-Type": "application/json", "x-api-key": os.environ["DEEPSEEK_API_KEY"]},
)
with urllib.request.urlopen(req) as r:
    out = json.load(r)
print(out.get("stop_reason"))
for block in out.get("content", []):
    if block.get("type") == "text":
        print(block["text"])
```

The guide streams responses; we set `stream` to false here to keep the example short, so check the reference if your client needs streaming. The same features are available on `POST https://api.deepseek.com/responses` and `POST https://api.deepseek.com/chat/completions`.

## What it costs

### Token prices

The pricing page lists two models. Peak hours are 01:00 to 04:00 and 06:00 to 10:00 UTC, Monday to Friday, excluding Chinese public holidays; off-peak prices are half the peak prices.

| Model | Version | Context | Max output | Input | Input, cache hit (peak / off-peak) | Input, cache miss (peak / off-peak) | Output (peak / off-peak) | Weights licence |
|---|---|---|---|---|---|---|---|---|
| `deepseek-flash` | DeepSeek-V4.1-Flash-1017 | 1M | 384K | Text and image | $0.006 / $0.003 | $0.30 / $0.15 | $1.20 / $0.60 | MIT |
| `deepseek-v4-pro` | DeepSeek-V4-Pro-0813 | 1M | 384K | Text only (vision not supported) | $0.044 / $0.022 | $1.32 / $0.66 | $3.96 / $1.98 | MIT |

Prices are per million tokens. The app features in this article are announced for `deepseek-flash`. Concurrency limits are 2,500 for Flash and 500 for Pro.

```chart
{"type": "bar", "title": "deepseek-flash prices per million tokens, peak vs off-peak", "x": ["Input, cache hit", "Input, cache miss", "Output"], "series": [{"name": "peak", "data": [0.006, 0.30, 1.20]}, {"name": "off-peak", "data": [0.003, 0.15, 0.60]}], "prefix": "$", "xlabel": "token type", "ylabel": "USD per 1M tokens", "note": "Source: DeepSeek API docs, Models and Pricing page"}
```

### Tool and speech prices

| API | Unit | Price |
|---|---|---|
| Search API (text) | per 1,000 successful requests | $0.75 |
| Fetch API (URL reading) | per 1,000 successful requests | $0.75 |
| File parsing and OCR API | per 1,000 pages | $0.225 |
| Text to Speech | per 10,000 characters | $0.45 list, $0.225 limited-time |
| Speech to Text | per hour of audio | $0.116 list, $0.058 limited-time |

### A worked example: one deep-search answer

Suppose a user asks a research question during peak hours. The model issues 3 searches and reads 4 pages. The prompt and history are 2,000 tokens, the returned search results and pages add 40,000 tokens, and the answer is 1,500 tokens. Assume nothing is cached.

- Input: 42,000 tokens × $0.30 per million = $0.0126
- Output: 1,500 tokens × $1.20 per million = $0.0018
- In-call search and fetch fees after 18 November: $0
- Total: $0.0144

If the same 7 calls were billed at the standalone rate of $0.75 per 1,000, they would add 7 × $0.00075 = $0.00525, a 36% increase on the token cost. Off-peak, the token cost halves to $0.0072.

```chart
{"type": "bar", "title": "Cost of one deep-search answer (42K in, 1.5K out, 7 tool calls)", "x": ["Peak, tokens only", "Peak, if calls billed per request", "Off-peak, tokens only"], "series": [{"name": "USD per answer", "data": [0.0144, 0.01965, 0.0072]}], "prefix": "$", "xlabel": "scenario", "ylabel": "USD", "note": "Computed in the worked example above from DeepSeek's published prices"}
```

The lesson is that result tokens, not tool calls, now drive cost. Long pages are the expensive part. Keeping answers short and avoiding needless fetches matters more than limiting the number of searches.

### Independent results for the model behind it

The tools run on DeepSeek-V4.1-Flash-1017. DeepSeek reports scores such as 42.3 on Terminal-Bench 4.0 and 77.0 on DeepSWE v1.1 for this version; these are maker-reported. On Vals AI's independent Vals Index, as of 21 November 2026, DeepSeek V4.1 Flash 1017 ranked 16th with 59.66% accuracy at $0.66 per test, ahead of Claude Haiku 5.5 at 57.04% and $3.17. Neither number measures the new search tools specifically.

## Use cases and examples

**A customer support bot with live answers.** A software company wants its bot to answer from its public docs and status page. It declares `deepseek_read_url` and `deepseek_web_search` and sets `safety_check` to high because the bot is public. A typical answer reads 15,000 tokens of pages and writes 500 tokens: 0.015 × $0.30 + 0.0005 × $1.20 = $0.0045 + $0.0006 = $0.0051 at peak. Ten thousand answers a day cost about $51.

**A contract review tool.** A law firm uploads 50-page PDF contracts. Parsing through the File parsing and OCR API costs 50 × $0.225 / 1,000 = $0.01125 per contract. If the parsed text is 30,000 tokens and the summary is 2,000 tokens, the model call adds 0.03 × $0.30 + 0.002 × $1.20 = $0.009 + $0.0024 = $0.0114 at peak, about $0.023 per contract in total.

**A voice assistant.** A language-learning app transcribes one hour of student speech a day and reads back 10,000 characters of replies. At limited-time prices that is $0.058 for ASR plus $0.225 for TTS, $0.283 a day per heavy user, before model tokens. At list prices it would be $0.116 + $0.45 = $0.566.

**A research desk running overnight.** An analyst team runs deep thinking search jobs in batches. Scheduling them off-peak halves the token price, so the worked example above drops from $0.0144 to $0.0072 per answer. A thousand nightly answers cost about $7.20 instead of $14.40.

**A team that needs its own retrieval.** A regulated company must search only approved internal sources. Server-side web search does not fit, because it uses DeepSeek's engine. The team keeps its own [RAG pipeline](/articles/rag-basics-retrieve-then-generate-pipeline) and uses only the OCR API to parse scanned files.

## What it means in practice

For many chat products, the hard part was never the model. It was search, page fetching, file parsing, safety screening and voice. DeepSeek now sells all of these behind one key, with search inside model calls charged only as tokens. That lowers the cost and effort of building a capable assistant, especially for small teams. The trade-off is control: you rely on DeepSeek's search index, its parsing and its safety filter, and the features are tied to `deepseek-flash`. Teams with strict sourcing, residency or audit needs will still build their own pipeline.

## What to do now

1. **Prototype with the demo.** Start from DeepSeek's open-source chat demo and the build-a-chatbot guide rather than writing a client from scratch.
2. **Pick the search mode deliberately.** Use thinking off for quick factual lookups and thinking on for research questions that need several searches.
3. **Turn on safety checks for public apps.** DeepSeek says public-facing apps must enable them, and you remain responsible for moderation and labelling.
4. **Handle the refusal stop reason.** Show your own message when `stop_reason` is `"refusal"` instead of a blank or partial answer.
5. **Log the usage counts.** Record search and fetch counts and input tokens per answer to see where cost comes from.
6. **Cap output per step, not per round.** Remember that `max_tokens` applies to each inference step, so a multi-step answer can exceed it in total.
7. **Schedule batch work off-peak.** Move overnight jobs outside 01:00 to 04:00 and 06:00 to 10:00 UTC on weekdays to halve token prices.
8. **Test sources and citations.** Check a sample of cited URLs for accuracy and freshness before you trust the answers in production.
9. **Defend against injected pages.** Fetched pages can carry hidden instructions, so keep [prompt injection defences](/tools/prompt-injection-defense) and [guardrails](/ai-simulations/guardrails) in your own layer too.

## Risks and open questions

**You do not control the search index.** Results come from DeepSeek's engine, and its ranking and filtering are DeepSeek's choices. DeepSeek's claims about index size and spam filtering are not independently verified.

**Result tokens can grow quickly.** With per-call fees gone, cost scales with how much text is fetched. A deep search that reads many long pages can cost several times a short answer.

**Compliance duties stay with you.** DeepSeek states that developers remain responsible for content moderation, applicable model registration and AI-content labelling. Data handling and residency also need a legal review for your market.

**Sampling fields are overridden.** With tools or high safety on, settings such as `temperature` and `top_p` are ignored, so you cannot tune output style the usual way.

**Promotional prices are temporary.** TTS and ASR are at 50% off for a limited time, and DeepSeek says prices may change.

**Watch next:** whether the app features reach `deepseek-v4-pro`, published rate limits and file size limits, independent tests of DeepSeek search quality, and the end date of the speech discounts.

## Frequently asked questions

### Which models support the new app features?

DeepSeek announced them for `deepseek-flash`, which currently serves DeepSeek-V4.1-Flash-1017. They work on the Messages, Responses and Chat Completions interfaces. The announcement does not list `deepseek-v4-pro`.

### How do I turn on web search?

Add a tool with type and name `deepseek_web_search` to the `tools` array. With thinking disabled you get a fast search with citations; with thinking enabled the model performs multi-step deep search. Add `deepseek_read_url` if you want it to read links that users paste.

### Is search free now?

Search and fetch calls made during a model call are no longer billed per call since 18 November 2026. Their results are billed as input tokens at normal rates. The standalone Search and Fetch APIs still cost $0.75 per 1,000 successful requests.

### What happens when the safety check blocks something?

The response ends with a `stop_reason` of `"refusal"`. DeepSeek's guide says your client should replace the answer with its own refusal message. The check screens both the user's input and the model's output.

### Can I use these features for an internal-only search system?

You can, but the web search uses DeepSeek's own index, not your documents. For private data you still need your own retrieval pipeline. The standalone OCR and file parsing APIs can help prepare documents for it.

## Summary

On 13 November 2026 DeepSeek opened the features behind its consumer app to developers: web search, deep thinking search, URL reading, file input and safety checks for `deepseek-flash`, plus standalone Search, Fetch, OCR, ASR and TTS APIs. DeepSeek runs the tool loop on its servers and streams back answers with citations, search counts and a refusal marker. Since 18 November, in-call search and fetch are billed only as input tokens, so a typical deep-search answer costs around $0.014 at peak and half that off-peak. The offer is cheap and simple, but it ties you to DeepSeek's index, filters and model, and compliance remains your job. Prototype with the demo, log usage, and test citations before going live.

## Sources

- [DeepSeek API Docs: Full-Suite App API Release](https://api-docs.deepseek.com/news/news261113)
- [DeepSeek API Docs: Models and Pricing](https://api-docs.deepseek.com/quick_start/pricing)
- [DeepSeek API Docs: Build a chatbot](https://api-docs.deepseek.com/guides/build_a_chatbot)
- [DeepSeek API Docs: Change log](https://api-docs.deepseek.com/updates)
- [Hugging Face: deepseek-ai/DeepSeek-V4.1-Flash-1017](https://huggingface.co/deepseek-ai/DeepSeek-V4.1-Flash-1017)
- [Hugging Face: deepseek-ai/DeepSeek-V4-Pro](https://huggingface.co/deepseek-ai/DeepSeek-V4-Pro)
- [Vals AI: Vals Index leaderboard](https://www.vals.ai/benchmarks/vals_index)
- [CASRAI: DeepSeek opens app features through its API](https://casrai.org/news/deepseek-app-capabilities-api-2026)
