DeepSeek Brings App Features to Its API, From Scans to Answers

Bedruckte Blätter auf mehreren Klemmbrettern
Photo by Arisa Chattasa on Unsplash

On November 13, DeepSeek made features from its chat app available through application programming interfaces. Developers can search the web, pass documents to a model, or convert speech to text and back. The choice is particularly useful for scanned documents. An app can request the recognized text page by page or bring the document into a conversation and ask questions about it.

Key takeaways

  • DeepSeek offers web search, link fetching, and file processing for chats with deepseek-flash. The provider runs the built-in tools on its servers.
  • Optical character recognition, speech recognition, and speech synthesis are also available as standalone services. Getting the text from a scan requires no chat request.
  • DeepSeek charges by the page for file processing, by usage for web tools, and by audio duration or character count for speech services. Model requests have separate token prices.
  • The source code for a chat interface is available under the MIT license. The interface can run locally while sending requests to the configured API service.

A scan becomes text or part of a conversation

Imagine a city archive making old public notices searchable. It first needs a text version of each page that readers can trace back to the original. The standalone OCR interface, short for optical character recognition, can handle that. According to DeepSeek’s documentation, it returns results for a PDF or image broken down by page. Page-by-page recognition can include coordinates showing where a passage appears in the original. An app can use those to highlight a search match on the scanned page, for example.

To answer a question such as “Which streets does this notice mention?” an app can upload the same file through DeepSeek’s Files API and supply the returned identifier in a chat request. At upload, it chooses whether to process text alone or include figures as well. The latter can help with an illustrated manual that contains diagrams. DeepSeek automatically crops the detected images and passes them to the model at the relevant locations in the text. The documentation points out that the service can miss figures.

The standalone text recognition service does not feed its result into a chat. The archive can therefore store the text in its own search index, show matches, and link to the corresponding page. The chat route returns a written answer. The app can help by keeping the document accessible so readers can check unclear street names, numbers, or references against the original.

A first trial can also make incomplete results visible. The OCR response includes a status for each page. It can indicate that the output reached its length limit. An archive can flag those pages for review before presenting them as fully searchable.

Which parts of the job appear on the bill

DeepSeek lists a rate of $0.225 per 1,000 pages for both optical character recognition and file parsing. At that rate, 200 successfully recognized pages cost $0.045 for OCR alone. When an app processes a document for chat, it pays the page fee once after successful parsing. Every chat request that uses the document as context incurs input token charges at the model’s rate. Output tokens may add to that bill depending on the response. A low page fee therefore tells you little about an app in which people repeatedly ask questions about the same long document.

Web search follows a different billing model. The price list shows $0.75 per 1,000 searches and $0.75 per 1,000 web page fetches. Those rates apply both to direct calls and to use of the built-in tools. Speech recognition is priced by audio duration. For read-aloud features, DeepSeek charges by the number of characters in the source text. When an app combines several of these services, estimating costs takes a concrete picture of how people will use it.

What you can try with the demo

DeepSeek offers a sample chat app on GitHub. To try it, enter an API key in settings. According to the project description, the browser stores the key and settings, along with saved conversations and original attachments. When users send something for processing, the necessary content goes to the selected API service. Even an interface opened locally can therefore use a cloud service. For anyone exploring how to run a model on their own hardware, DeepSeek’s DeepInfer software offers a look at a different layer of the system.

A good first trial starts with a publicly accessible page whose results are easy to check. In the archive example, it can show whether the text and its locations are enough for search. Chat becomes useful in its own right when readers regularly ask questions that require them to piece together several passages. DeepSeek’s offering makes that step easier because an app can start with text recognition and add chat later for selected cases.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top