SAVRN
Search Contact SAVRN

Open-weight model · Image and text to text

DeepSeek-OCR

by DeepSeek deepseek-ai/DeepSeek-OCR

Inference using Huggingface transformers on NVIDIA GPUs. Requirements tested on python 3.12.9 + CUDA11.8: Refer to GitHub for guidance on model inference acceleration and PDF processing, etc.

Parameters3.3B
Context8,192
Weights6.7 GB
Licensemit
AccessOpen weights
Monthly Downloads2.3M

Runs On

What it takes to serve DeepSeek-OCR (3.3B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 6.7 GB 8.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 3.3 GB 4.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 1.7 GB 2.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

SAVRN's Notes on DeepSeek-OCR

Scanned pages, PDFs, any text trapped in an image: that is the job. Image plus prompt in, text out, from 3.3B parameters arranged as 64 routed experts with 6 active per token. At 16-bit the weights are 6.7 GB and it needs 8.0 GB, so the cheapest setup, one 192 GB MI300X at $1.85 an hour, sits mostly idle; batch documents hard or share the card with the language model that reads the output.

MIT allows commercial use, modification and redistribution provided the notices ride along. Check the runtime first: the publisher's tested path is the transformers library on NVIDIA GPUs with Python 3.12.9 and CUDA 11.8, with upstream vLLM support since October 23, 2025, so the MI300X the Index prices is a port you prove yourself. The 8,192 token context caps how much of a long document fits in one pass. The paper is arXiv:2510.18234.

Model Card

By DeepSeek, published under mit, revision 9f30c71f441d.

Github | Model Download | Paper Link | Arxiv Paper Link |

DeepSeek-OCR: Contexts Optical Compression

Explore the boundaries of visual-text compression.

Usage

Inference using Huggingface transformers on NVIDIA GPUs. Requirements tested on python 3.12.9 + CUDA11.8:

torch==2.6.0
transformers==4.46.3
tokenizers==0.20.3
einops
addict 
easydict
pip install flash-attn==2.7.3 --no-build-isolation

Read the full model card (395 words)

Configuration

Architecture
DeepseekOCRForCausalLM
Context length (tokens)
8,192
Layers
12
Hidden size
1,280
Feed-forward size
6,848
Attention heads
10
Key/value heads
10
Vocabulary size
129,280
Routed experts
64
Experts active per token
6
Stored precision
bfloat16
Model type
deepseek_vl_v2

Identity and Version

Repository
deepseek-ai/DeepSeek-OCR
Publisher
DeepSeek
Task
Image and text to text
Modality
Image and text
Library
transformers
Parameters
3.3B parameters
Languages
ocr
Revision
9f30c71f441d010e5429c532364a86705536c53a
First published
2025-10-17
Last updated
2025-11-04

Files and Weights

21 files, 6.7 GB in total. The weights are 1 file totalling 6.7 GB in safetensors.

Weights1 file · 6.7 GB
Configuration9 files · 430.9 KB
Tokenizer2 files · 10.1 MB
Documentation3 files · 11.7 KB
Other5 files · 1.2 MB
Repository1 file · 1.8 KB
Every file
FileTypeSizeSHA-256
model-00001-of-000001.safetensorsWeights6.7 GB 1169e7cdc28f
config.jsonConfiguration2.7 KB
configuration_deepseek_v2.pyConfiguration10.6 KB
conversation.pyConfiguration9.3 KB
deepencoder.pyConfiguration38.0 KB
model.safetensors.index.jsonConfiguration246.8 KB
modeling_deepseekocr.pyConfiguration40.1 KB
modeling_deepseekv2.pyConfiguration82.2 KB
processor_config.jsonConfiguration460 B
special_tokens_map.jsonConfiguration801 B
.ipynb_checkpoints/README-checkpoint.mdDocumentation4.3 KB
LICENSEDocumentation1.1 KB
README.mdDocumentation6.3 KB
assets/fig1.pngOther396.1 KB 3a709eb3fdb5
assets/show1.jpgOther116.8 KB 887e88e60e58
assets/show2.jpgOther216.0 KB 81d08f7f33d9
assets/show3.jpgOther247.1 KB cd24b0cfc7b6
assets/show4.jpgOther268.8 KB 2fe88eacc470
.gitattributesRepository1.8 KB
tokenizer.jsonTokenizer10.0 MB
tokenizer_config.jsonTokenizer165.9 KB

License and Download

License
mit
Access
Open weights, no gate
Download size
6.7 GB
Download from DeepSeek

Released by DeepSeek through its official repository on Hugging Face. Read the license.

Built From

  • Described by arXiv:2510.18234

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
Delores-Lin/MDPBench Task arMetric arComparison conditions not established 56.9 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task deMetric deComparison conditions not established 55 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task digitalMetric digitalComparison conditions not established 80.7 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task enMetric enComparison conditions not established 58.3 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task esMetric esComparison conditions not established 44.1 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task frMetric frComparison conditions not established 43.2 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task hiMetric hiComparison conditions not established 52.2 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task idMetric idComparison conditions not established 60.9 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task itMetric itComparison conditions not established 69.3 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task jpMetric jpComparison conditions not established 49.1 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task koMetric koComparison conditions not established 28.2 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task latinMetric latinComparison conditions not established 54.5 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task nlMetric nlComparison conditions not established 52.4 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task non_latinMetric non_latinComparison conditions not established 48.9 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task overallMetric overallComparison conditions not established 51.8 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task photographedMetric photographedComparison conditions not established 42.2 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task privateMetric privateComparison conditions not established 54.5 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task ptMetric ptComparison conditions not established 53 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task ruMetric ruComparison conditions not established 36.2 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task thMetric thComparison conditions not established 49.4 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task viMetric viComparison conditions not established 54.1 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task zhMetric zhComparison conditions not established 59.7 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
Delores-Lin/MDPBench Task zh_tMetric zh_tComparison conditions not established 59.2 MDPBench leaderboard
Reported by a third party
Evaluated revision not stated 2026-07-03
PaddlePaddle/Real5-OmniDocBench Task illuminationMetric illuminationComparison conditions not established 78.1 Real5-OmniDocBench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-08-08
PaddlePaddle/Real5-OmniDocBench Task overallMetric overallComparison conditions not established 73.99 Real5-OmniDocBench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-08-08
PaddlePaddle/Real5-OmniDocBench Task scanningMetric scanningComparison conditions not established 86.17 Real5-OmniDocBench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-08-08
PaddlePaddle/Real5-OmniDocBench Task screen_photographyMetric screen_photographyComparison conditions not established 75.31 Real5-OmniDocBench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-08-08
PaddlePaddle/Real5-OmniDocBench Task skewMetric skewComparison conditions not established 63.01 Real5-OmniDocBench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-08-08
PaddlePaddle/Real5-OmniDocBench Task warpingMetric warpingComparison conditions not established 67.2 Real5-OmniDocBench Leaderboard
Reported by a third party
Evaluated revision not stated 2026-08-08
allenai/olmOCR-bench Task arxiv_mathMetric arxiv_mathComparison conditions not established 77.2 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19
allenai/olmOCR-bench Task headers_footersMetric headers_footersComparison conditions not established 96.1 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19
allenai/olmOCR-bench Task long_tiny_textMetric long_tiny_textComparison conditions not established 79.4 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19
allenai/olmOCR-bench Task multi_columnMetric multi_columnComparison conditions not established 66.4 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19
allenai/olmOCR-bench Task old_scansMetric old_scansComparison conditions not established 33.3 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19
allenai/olmOCR-bench Task old_scans_mathMetric old_scans_mathComparison conditions not established 73.6 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19
allenai/olmOCR-bench Task overallMetric overallComparison conditions not established 75.7 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19
allenai/olmOCR-bench Task table_testsMetric table_testsComparison conditions not established 80.2 OlmOCR-Bench Github repository
Reported by a third party
Evaluated revision not stated 2026-02-19

Memory Requirements

PrecisionWeights in memory
As published6.7 GB
16-bit6.7 GB
8-bit3.3 GB
4-bit1.7 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Compare DeepSeek-OCR

Questions About DeepSeek-OCR

How much GPU memory does DeepSeek-OCR need?

About 8 GB at 16-bit and 2 GB at 4-bit: the weights (3.3B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run DeepSeek-OCR on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use DeepSeek-OCR commercially?

Yes. DeepSeek-OCR is released under MIT License. The MIT License is a short permissive license. It permits commercial use, modification and redistribution, provided the copyright notice and permission notice are included.

What is DeepSeek-OCR's context length?

8,192 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Image and text to text

Unlimited-OCR

BAIDU

[2026/07/21] Thanks to the ms-swift community for their support, our model now supports training with ms-swift. - [2026/07/03] Thanks to the Baidu Cloud team for their support. Our model is now available on Baidu Cloud. - [2026/06/28] Thanks to the vLLM community and Tianyu Guo for their support, our model now supports vLLM inference. - [2026/06/24] Thanks to AK for creating a demo for us. It is now available at Hugging Face Spaces. - [2026/06/23] Our paper is now available on arXiv. - [2026/06/23] Thanks to the ModelScope community for their support. Our model is now available at ModelScope. - [2026/06/22] We present Unlimited-OCR, aiming to push Deepseek-OCR one step further. Inference…

Open weights mit 3.3B parameters 32,768 tokens transformers

Model · Image and text to text

unlimited-ocr-max

Konstantin

baidu/Unlimited-OCR as one repository max serve opens directly on Apple Silicon: baidu's weights unchanged (model.safetensors, byte-identical to upstream at revision 07dea832e22aefee32ad281d4b80551282e1c168, sha256 2bc48a7a110061ea58fff65d3169367eebe3aee371ca6968dc2219c1b2855fc6), the tokenizer files as published, and the checkpoint's config.json with two keys removed (automap, modeltype) so MAX can load it without trustremotecode. The runtime is a MAX custom architecture with two Mojo custom ops, served from https://github.com/kthr/unlimited-ocr-max as an OpenAI-compatible endpoint on the Metal GPU or the CPU. The repository also carries model-int8.safetensors, this port's weight-only int8…

Open weights mit 3.3B parameters 32,768 tokens

Model · Image and text to text

Unlimited-OCR-AWQ

Sahil Chachra

AWQ 4-bit (W4A16) quantization of baidu/Unlimited-OCR, a 3B vision-language OCR model that pushes DeepSeek-OCR one step further (one-shot, long-horizon document parsing). This repo quantizes the DeepSeek-V2 MoE text decoder with activation-aware scaling (AWQ) while keeping the vision tower in BF16, so it stays a drop-in transformers model. Unlimited-OCR uses the DeepSeek-OCR prompt vocabulary. The prompt must contain; prefix it with whenever you also want bounding boxes for what was read. - base — basesize=1024, imagesize=1024, cropmode=False. Good default for normal pages. - gundam — basesize=1024, imagesize=640, cropmode=True. Tiles the page; use for dense or large/high-resolution…

Open weights mit 3.4B parameters 32,768 tokens transformers

Model · Image and text to text

DeepSeek-OCR-2

DeepSeek

Inference using Huggingface transformers on NVIDIA GPUs. Requirements tested on python 3.12.9 + CUDA11.8: Refer to GitHub for guidance on model inference acceleration and PDF processing, etc. We would like to thank DeepSeek-OCR, Vary, GOT-OCR2.0, MinerU, PaddleOCR for their valuable models and ideas. We also appreciate the benchmark OmniDocBench. author={Wei, Haoran and Sun, Yaofeng and Li, Yukun}, year={2025} title={DeepSeek-OCR 2: Visual Causal Flow}, author={Wei, Haoran and Sun, Yaofeng and Li, Yukun}, year={2026}

Open weights apache-2.0 3.4B parameters 8,192 tokens transformers

Model · Image and text to text

dots.ocr

Dots Studio

dots.ocr: Multilingual Document Layout Parsing in a Single Vision-Language Model dots.ocr is a powerful, multilingual document parser that unifies layout detection and content recognition within a single vision-language model while maintaining good reading order. Despite its compact 1.7B-parameter LLM foundation, it achieves state-of-the-art(SOTA) performance. 1. Powerful Performance: dots.ocr achieves SOTA performance for text, tables, and reading order on OmniDocBench, while delivering formula recognition results comparable to much larger models like Doubao-1.5 and gemini2.5-pro. 2. Multilingual Support: dots.ocr demonstrates robust parsing capabilities for low-resource languages…

Open weights mit 3B parameters 131,072 tokens dots_ocr

Model · Image and text to text

dots.mocr

Dots Studio

dots.mocr We present dots.mocr. Beyond achieving state-of-the-art (SOTA) performance in standard multilingual document parsing among models of comparable size, dots.mocr excels at converting structured graphics (e.g., charts, UI layouts, scientific figures and etc.) directly into SVG code. Its core capabilities encompass grounding, recognition, semantic understanding, and interactive dialogue. Simultaneously, we are releasing dots.mocr-svg, a variant specifically optimized for robust image-to-SVG parsing tasks. More information can be found in the paper. Visual languages (e.g., charts, graphics, chemical formulas, logos) encapsulate dense human knowledge. dots.mocr unifies the…

Open weights mit 3B parameters 131,072 tokens dots_mocr