API NEWS · NOVEMBER 22, 2026
DeepSeek Web Search API, OCR and Speech: Everything in the November 13 Release
On 13 November 2026 DeepSeek turned its API into more than a chat endpoint. deepseek-flash can now search the web, read links and parse files on its own, with citations, through the Messages, Responses and Chat Completions APIs. DeepSeek also launched five standalone APIs you can call directly: Search, Fetch, OCR, speech-to-text and text-to-speech, plus a safety-check switch and an open-source demo chat client.
By The Independent DeepSeek Guide · 8 min read
Independent guide, not affiliated with DeepSeek. Every fact and price below comes from DeepSeek's own change log and API documentation, checked on 22 November 2026.
Key facts
Model
deepseek-flash (V4.1-Flash-1017)
Built-in tools
deepseek_web_search, deepseek_read_url
Model-triggered search
No separate charge since 18 Nov
New standalone APIs
Search, Fetch, OCR, ASR, TTS
What DeepSeek released on November 13
DeepSeek's change log calls it the full suite of application APIs. The idea: features that used to require your own search provider, scraper, PDF parser or voice service are now switches on the same API key. The service runs the tool calls and assembles the context; you send one request.
- Web search and deep-thinking search inside model calls, with citations.
- URL reading: links in the user's message are fetched and used as context.
- File input for PDFs, Office files and images.
- Model safety: an optional input and output check.
- Standalone APIs: Search, Fetch, OCR, speech-to-text (ASR) and text-to-speech (TTS).
- An open-source demo chat client built on all of the above.
It follows the V4.1-Flash-1017 update of 17 October, when DeepSeek first opened its own search engine to developers. For the basics of keys, models and endpoints, see our DeepSeek API guide.
DeepSeek web search and URL reading inside the model
You switch the tools on by listing them in the tools array. Declare only deepseek_web_search for search, only deepseek_read_url for link reading, or both. This is the example from the web tools guide, rewritten for Windows PowerShell:
$body = @'
{
"model": "deepseek-flash",
"max_tokens": 2048,
"tools": [
{"type": "deepseek_web_search", "name": "deepseek_web_search"},
{"type": "deepseek_read_url", "name": "deepseek_read_url"}
],
"messages": [{"role": "user", "content": "What is new in DeepSeek V4.1?"}]
}
'@
Invoke-RestMethod -Method Post -Uri "https://api.deepseek.com/anthropic/v1/messages" `
-Headers @{ "x-api-key" = $env:DEEPSEEK_API_KEY; "Content-Type" = "application/json" } `
-Body $bodyOn macOS or Linux, send the same JSON body with curl and the x-api-key header.
Thinking mode changes how it searches
- Thinking off: the model decides whether a search is needed and answers with citations.
- Thinking on, with web search: deep-thinking search. The model makes up to about 20 tool calls (searching, opening pages, finding text in a page) before it answers.
Limits worth knowing
- Only the last user message is scanned for links, and at most the first 10 distinct URLs are read. With many links, long pages get cut short.
- You cannot restrict domains or set a user location:
allowed_domains,blocked_domainsanduser_locationare not supported. - Naming a web tool in
tool_choicereturns a 400 error;"required"is treated as"auto". - An answer that used a web tool cannot be continued as a partial assistant message.
Citations come back in the format of the API you call: a citations array on text blocks in the Messages API, url_citation annotations in the Responses and Chat Completions APIs.
The standalone Search, Fetch, OCR, ASR and TTS APIs
These are plain JSON endpoints for your own code, outside a model conversation. They use the same bearer API key.
Search and Fetch
POST https://api.deepseek.com/v1/tools/search takes a query of up to 128 characters, with operators such as site:, lang:, after: and before:, and returns up to 50 results with a title, URL, snippet, summary and quality scores. POST https://api.deepseek.com/v1/tools/fetch returns any public page as Markdown. Limits are 100 requests per second for Search and 25 for Fetch, per account. Image search is only available through the built-in web tool, not the Search API (Search guide).
OCR and file parsing
POST https://api.deepseek.com/v1/tools/ocr reads PDF, Word, PowerPoint and common image files: up to 1,000 pages and 100 MiB per file. Choose text_recognition for plain text or rich_layout_recognition for page-by-page layout with bounding boxes, useful for locating text or cropping figures. At most 15 files can be processed at once per account (OCR guide). DeepSeek's earlier open-weight OCR model is a separate story; see our DeepSeek-OCR article.
Speech-to-text (ASR)
POST https://api.deepseek.com/v1/tools/asr transcribes WAV or Ogg Opus clips of up to 120 seconds and 8 MiB. It detects the language itself and covers 21 languages, including English, Chinese, German, French, Spanish and Japanese. There is no streaming: you send the file and get the full transcript back (ASR guide).
Text-to-speech (TTS)
POST https://api.deepseek.com/v1/tools/tts returns WAV or raw PCM audio; a WebSocket version streams PCM or Opus. There are two voices, stella (female, default) and tide (male), and ten languages including English, Mandarin, Cantonese, Japanese and Korean. One request takes up to 10,000 billed characters (TTS guide).
DeepSeek web search, OCR and speech prices
| Service | Price | Note |
|---|---|---|
| Web search, image search and page reading triggered by the model | No separate charge | Since 18 November 2026 (Beijing time) the results count as model input tokens. |
| Search API (you call it yourself) | $0.75 per 1,000 successful requests | Failed requests, empty results and time-outs are free; the number of results does not change the price. |
| Fetch API | $0.75 per 1,000 successful requests | Returns the page as Markdown. |
| OCR and file parsing | $0.225 per 1,000 pages | Only pages that were recognised successfully are billed. |
| Speech-to-text (ASR) | $0.116 per audio hour | Temporarily $0.058 with a 50% launch discount; billed per second. |
| Text-to-speech (TTS) | $0.45 per 10,000 characters | Temporarily $0.225 with a 50% launch discount; a Chinese character counts as 2. |
| Safety check | Billed as output tokens | Shown separately as safety_tokens in the usage block. |
Prices from DeepSeek's Models & Pricing page on 22 November 2026. Model tokens are billed at the normal deepseek-flash rates; our DeepSeek API pricing page has the full peak and off-peak rate card and a cost calculator.
The safety check parameter
Adding "safety_check": {"level": "high"} turns on a review of both input and output. If the input fails, the request returns 400 Content Exists Risk. If the output fails, the response ends with a refusal marker: stop_reason: "refusal" in the Messages API, content_filter in the other two. Text that was already streamed cannot be pulled back, so your app should hide it and show its own message (safety guide).
DeepSeek points out that public-facing services carry their own compliance duties, such as content review and AI labelling. The parameter helps, but it does not make an app compliant by itself.
The open-source DeepSeek chat demo
DeepSeek published a demo chat client at github.com/deepseek-ai/chat-demo, with a hosted copy you can open with your own API key. It shows web search, deep-thinking search, URL reading, file and image upload, read-aloud and voice input, and it can import and export your DeepSeek Chat history. Note DeepSeek's warning that an import replaces your existing history. Your key and conversations stay in your browser; DeepSeek labels it a demonstration only (Build a Chatbot guide).
Who should use what
- Building a chatbot or agent that needs current information: use the built-in
deepseek_web_searchtool. Since 18 November you only pay for tokens, and citations come back ready to show. - Building your own search or crawl pipeline: call the Search and Fetch APIs directly and keep full control over which results reach the model.
- Turning documents into text: the OCR API is priced per page and handles up to 1,000 pages per file.
- Voice: ASR suits short clips (up to two minutes); TTS suits read-aloud features. Check the language lists, as they differ between the two.
One caution: if you need to restrict answers to certain sites or a country, the built-in tool cannot do that yet. Use the Search API with site: operators and pass the results to the model yourself.
Frequently asked questions
Does the DeepSeek API have web search?
Yes. Since 13 November 2026 deepseek-flash can search the web and read links itself when you add the deepseek_web_search or deepseek_read_url tool to a Messages, Responses or Chat Completions request. Answers come with citations.
How much does DeepSeek web search cost?
Searches and page reads that the model triggers itself are not billed separately since 18 November 2026; their results count as normal input tokens. If your own code calls the standalone Search or Fetch API, each costs $0.75 per 1,000 successful requests.
Does DeepSeek have an OCR API?
Yes. The OCR API reads PDFs, Word and PowerPoint files and common image formats, up to 1,000 pages and 100 MiB per file, and costs $0.225 per 1,000 successfully recognised pages.
Can DeepSeek do text-to-speech and speech-to-text?
Yes. The TTS API has two voices, stella and tide, and supports ten languages including English. The ASR API transcribes clips of up to 120 seconds in 21 languages, with automatic language detection.
Is the DeepSeek chat demo open source?
DeepSeek published a demo chat client on GitHub (deepseek-ai/chat-demo) that runs on your own API key and can import your DeepSeek Chat history. DeepSeek describes it as a demonstration, not a supported product.
Sources
- DeepSeek API change log, entry of 13 November 2026.
- Web tools guide: tool names, thinking-mode behaviour, limits, citations and billing.
- Search and Fetch guide, OCR guide, ASR guide, TTS guide.
- Safety guide and Build a Chatbot guide.
- Models & Pricing, including the 18 November change to search billing.
Checked 22 November 2026. Launch discounts on speech are temporary; check the pricing page before you budget.
Official change log