DeepSeek OCR
by DeepSeek Vision · OCR
DeepSeek OCR is DeepSeek's document-understanding model, specialised for optical character recognition and extracting text from images and scans. It focuses on accurate, structured reading of visual documents.
- Publisher
- DeepSeek (opens in a new tab)
- API model name
- deepseek-ocr
- Context window
- 8K tokens
- Sizes
- 3B
- Licence
- MIT
Run DeepSeek OCR
Install it on a Pendra worker, then call it through our SDK with your pdr_sk_ API key.
from pendra import Pendra
client = Pendra(api_key="pdr_sk_...")
response = client.chat.completions.create(
model="deepseek-ocr",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "Extract all the text from this image."},
{"type": "image_url", "image_url": {"url": "https://example.com/receipt.png"}},
],
}
],
)
print(response.choices[0].message.content)
Related models
DeepSeek V4 Flash
DeepSeek
deepseek-v4-flash
Frontier reasoning, open weights
Chat · Tools · Thinking
DeepSeek R1 Distill
DeepSeek
deepseek-r1-distill
DeepSeek R1 Distill is a family of smaller models distilled from DeepSeek R1's reasoning traces onto Qwen and Llama backbones. They bring much of R1's step-by-step reasoning to sizes that run on modest hardware.
Chat · Thinking
Run DeepSeek OCR on infrastructure you trust.
Deploy a worker, install DeepSeek OCR, and start serving it through one private API.