November 13, 2026 · DeepSeek
DeepSeek API adds web search, file input and URL reading for deepseek-flash
In the DeepSeek App (including the web version), web search, file input, URL reading, voice interaction and safety work together with model inference to form the conversation experience users know. Today we open these capabilities to developers: enable the corresponding parameters in the existing APIs to get conversation features such as web search, file input and URL reading, with the tool calls and context assembly handled by the service.
The deepseek-flash model supports the following in the Messages, Responses and Chat Completions APIs:
- Web search: with thinking disabled and the
deepseek_web_searchtool enabled, the model runs web or image searches as the question requires and answers with citations. - Deep thinking search: with thinking enabled and the
deepseek_web_searchtool enabled, the model searches the web and reads links on its own over multiple reasoning steps. - File input: upload PDFs, Office files, images, and more; after plain-text extraction or rich-layout parsing, they are added to the conversation context for the model to answer from.
- URL reading: with the
deepseek_read_urltool enabled, the model detects links in the user message, fetches the pages and answers with them in context. - Model safety: with the safety check parameter enabled, we provide basic risk control: the model input and output are reviewed, and a refusal marker is returned when a risk is found. If you provide a service to the public, enable this parameter and fulfill obligations such as content safety review, large model registration and AI labeling.
In addition, these underlying capabilities and the voice capabilities are available as standalone APIs, including Search and Fetch, OCR, ASR and TTS.
We have also built and open-sourced a demo chat client on these APIs, which can import your DeepSeek chat history; see Demo.
See Build a Chatbot for how to use them, and Models & Pricing for prices.
Related updates
AI Gateway, Web Search API - Introducing Web Search API · Cloudflare
Agents - New web_search tool in the Agents SDK, powered by the Cloudflare Web Search API · Cloudflare
AI Search - New AI Search REST API endpoints for /search and /chat/completions · Cloudflare
AI Gateway adds web search through Ceramic.ai, Exa and Linkup · Cloudflare