nanonets·Qwen2_5_VLForConditionalGeneration

Nanonets OCR S — Hardware Requirements & GPU Compatibility

Vision

Nanonets-OCR-s is Nanonets' image-to-markdown OCR model, built on top of Qwen2.5-VL-3B-Instruct, that goes beyond plain text extraction to produce structured markdown for downstream processing by other language models. It converts mathematical equations and formulas into LaTeX, describes embedded images and charts inside structured tags, isolates signatures and watermarks into their own tags, converts checkboxes into standard Unicode symbols, and extracts complex tables into both markdown and HTML formats. At under 4 billion parameters it is light enough to run on a single consumer GPU. Context length is 128,000 tokens. Nanonets has not published a license for the model on its Hugging Face model card. It was published in June 2025.

209.2K downloads 1.6K likes 12.6K quant downloads128K context

Specifications

Publisher
nanonets
Parameters
3.8B
Architecture
Qwen2_5_VLForConditionalGeneration
Context Length
128,000 tokens
Vocabulary Size
151,936
Release Date
2025-06-10

Get Started

How Much VRAM Does Nanonets OCR S Need?

Select a quantization to see compatible GPUs below.

QuantizationBitsVRAM
Q2_K3.402.0 GB
Q3_K_S3.502.0 GB
Q3_K_M3.902.2 GB
Q4_04.002.3 GB
Q4_K_M4.802.6 GB
Q5_K_M5.703.0 GB
Q6_K6.603.5 GB
Q8_08.004.1 GB

Which GPUs Can Run Nanonets OCR S?

Q4_K_M · 2.6 GB

Nanonets OCR S (Q4_K_M) requires 2.6 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 4+ GB is recommended. Using the full 128K context window can add up to 4.6 GB, bringing total usage to 7.3 GB. 52 GPUs can run it, including NVIDIA GeForce RTX 5090, NVIDIA GeForce RTX 3090 Ti.

Runs great

— Plenty of headroom
NVIDIA GeForce RTX 5090~443 tok/sNVIDIA GeForce RTX 3090 Ti~249 tok/sNVIDIA GeForce RTX 4090~249 tok/sNVIDIA GeForce RTX 5080~237 tok/sNVIDIA GeForce RTX 3090~231 tok/sNVIDIA GeForce RTX 3080 Ti~226 tok/sNVIDIA GeForce RTX 5070 Ti~221 tok/sNVIDIA GeForce RTX 5090 Laptop GPU~221 tok/sAMD Radeon RX 7900 XTX~219 tok/sNVIDIA GeForce RTX 3080~188 tok/sAMD Radeon RX 7900 XT~183 tok/sNVIDIA GeForce RTX 4080 SUPER~182 tok/sNVIDIA GeForce RTX 4080~177 tok/sNVIDIA GeForce RTX 4070 Ti SUPER~166 tok/sNVIDIA GeForce RTX 5070~166 tok/sNVIDIA TITAN RTX~166 tok/sNVIDIA GeForce RTX 2080 Ti~152 tok/sNVIDIA GeForce RTX 3070 Ti~150 tok/sAMD Radeon RX 9070~146 tok/sAMD Radeon RX 9070 XT~146 tok/sAMD Radeon RX 7800 XT~142 tok/sNVIDIA GeForce RTX 4090 Laptop GPU~142 tok/sAMD Radeon RX 7900 GRE~131 tok/sNVIDIA GeForce RTX 4070~125 tok/sNVIDIA GeForce RTX 4070 SUPER~125 tok/sNVIDIA GeForce RTX 4070 Ti~125 tok/sNVIDIA GeForce GTX 1080 Ti~120 tok/sAMD Radeon RX 6800~117 tok/sAMD Radeon RX 6800 XT~117 tok/sAMD Radeon RX 6900 XT~117 tok/sNVIDIA GeForce RTX 3060 Ti~111 tok/sNVIDIA GeForce RTX 3070~111 tok/sNVIDIA GeForce RTX 5060~111 tok/sNVIDIA GeForce RTX 5060 Ti 16GB~111 tok/sNVIDIA GeForce RTX 5060 Ti 8GB~111 tok/sIntel Arc A770 16GB~107 tok/sAMD Radeon RX 7700 XT~99 tok/sAMD Radeon RX 9070 GRE~99 tok/sIntel Arc A750~97 tok/sNVIDIA GeForce RTX 3060 12GB~89 tok/sAMD Radeon RX 6700 XT~88 tok/sIntel Arc B580~87 tok/sAMD Radeon RX 9060 XT 16GB~73 tok/sIntel Arc B570~72 tok/sNVIDIA GeForce RTX 4060 Ti 16GB~71 tok/sNVIDIA GeForce RTX 4060 Ti 8GB~71 tok/sNVIDIA GeForce RTX 4060~67 tok/sAMD Radeon RX 7600~66 tok/sAMD Radeon RX 7600 XT~66 tok/sAMD Radeon RX 9050~66 tok/sNVIDIA GeForce RTX 3060 8GB~59 tok/sNVIDIA GeForce RTX 3050 8GB~55 tok/s

Which Devices Can Run Nanonets OCR S?

Q4_K_M · 2.6 GB

59 devices with unified memory can run Nanonets OCR S, including NVIDIA DGX H100, NVIDIA DGX A100 640GB.

Runs great

— Plenty of headroom
NVIDIA DGX H100~6624 tok/sNVIDIA DGX A100 640GB~4032 tok/sMac Studio (M3 Ultra, 256GB)~218 tok/sMac Studio (M3 Ultra, 512GB)~218 tok/sMac Studio (M3 Ultra, 96GB)~218 tok/sMac Pro M2 Ultra (192 GB)~213 tok/sMac Studio M2 Ultra (192 GB)~213 tok/sMacBook Pro 16" M5 Max (128 GB)~163 tok/sMac Studio M4 Max (128 GB)~145 tok/sMac Studio M4 Max (64 GB)~145 tok/sMacBook Pro 16" M4 Max (48 GB)~145 tok/sMacBook Pro 16" M4 Max (64 GB)~145 tok/sMac Studio M4 Max (36 GB)~109 tok/sMacBook Pro 14" M4 Max (36 GB)~109 tok/sMacBook Pro 16" M3 Max (48 GB)~109 tok/sMacBook Pro 14-inch (M5 Pro)~82 tok/sMac Mini M4 Pro (24 GB)~73 tok/sMac Mini M4 Pro (48 GB)~73 tok/sMacBook Pro 14" M4 Pro (24 GB)~73 tok/sMacBook Pro 16" M4 Pro (24 GB)~73 tok/sASUS Ascent GX10~68 tok/sNVIDIA DGX Spark~68 tok/sNVIDIA Jetson AGX Thor Developer Kit~68 tok/sAsus ROG Flow Z13 (2025, Ryzen AI Max+ 395, 128 GB)~63 tok/sBeelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB)~63 tok/sFramework Desktop (Ryzen AI Max+ 395, 128 GB)~63 tok/sGMKtec EVO-X2 (Ryzen AI Max+ 395, 128 GB)~63 tok/sHP Z2 Mini G1a (Ryzen AI Max+ PRO 395, 128 GB)~63 tok/sHP ZBook Ultra G1a 14 (Ryzen AI Max+ PRO 395, 128 GB)~63 tok/sMinisforum MS-S1 MAX (Ryzen AI Max+ 395, 128 GB)~63 tok/sSnapdragon X2 Elite Extreme Copilot+ PC~56 tok/sNVIDIA Jetson AGX Orin 32GB~51 tok/sNVIDIA Jetson AGX Orin 64GB~51 tok/sMacBook Pro 14-inch (M5)~41 tok/siPad Pro M5 13" (16 GB)~41 tok/sSnapdragon X Elite Copilot+ PC~33 tok/sMac Mini M4 (16 GB)~32 tok/sMac Mini M4 (32 GB)~32 tok/sMacBook Air 13" M4 (16 GB)~32 tok/sMacBook Air 13" M4 (24 GB)~32 tok/sMacBook Air 15" M4 (16 GB)~32 tok/sMacBook Air 15" M4 (24 GB)~32 tok/sMacBook Pro 14" M4 (16 GB)~32 tok/siPad Pro M4 13" (16 GB)~32 tok/sAMD Ryzen AI 9 HX 370 (Strix Point) Laptop~27 tok/sMacBook Air 13" M3 (16 GB)~27 tok/sMacBook Air 13" M3 (24 GB)~27 tok/sMacBook Air 13" M3 (8 GB)~27 tok/sIntel Core Ultra 9 288V (Lunar Lake) Laptop~26 tok/sNVIDIA Jetson Orin NX 16GB~25 tok/sNVIDIA Jetson Orin Nano 8GB (Super)~25 tok/sApple iPhone 17 Pro~20 tok/siPhone 17 Pro Max~20 tok/siPhone 17~18 tok/siPhone Air~18 tok/siPhone 15 ProiPhone 15 Pro MaxiPhone 16 ProiPhone 16 Pro Max

Where to Download Nanonets OCR S

Community quantizations of this model — GGUF for llama.cpp, Ollama, and LM Studio, plus AWQ/MLX variants where available.

Related Models

Frequently Asked Questions

How much VRAM does Nanonets OCR S need?

Nanonets OCR S requires 2.6 GB of VRAM at Q4_K_M, or 7.9 GB at BF16. Full 128K context adds up to 4.6 GB (7.3 GB total).

VRAM = Weights + KV Cache + Overhead

Weights = 3.8B × 4.8 bits ÷ 8 = 2.3 GB

KV Cache + Overhead ≈ 0.3 GB (at 2K context + ~0.3 GB framework)

KV Cache + Overhead ≈ 5 GB (at full 128K context)

VRAM usage by quantization

2.6 GB
7.3 GB

Learn more about VRAM estimation →

What's the best quantization for Nanonets OCR S?

For Nanonets OCR S, Q4_K_M (2.6 GB) offers the best balance of quality and VRAM usage. Q5_K_S (3.0 GB) provides better quality if you have the VRAM. The smallest option is IQ2_XXS at 1.4 GB.

VRAM requirement by quantization

IQ2_XXS
1.4 GB
Q3_K_S
2.0 GB
Q4_1
2.5 GB
Q4_K_M ★
2.6 GB
Q5_K_S
3.0 GB
BF16
7.9 GB

★ Recommended — best balance of quality and VRAM usage.

Learn more about quantization →

Can I run Nanonets OCR S on a Mac?

Nanonets OCR S requires at least 1.4 GB at IQ2_XXS, which exceeds the unified memory of most consumer Macs. You would need a Mac Studio or Mac Pro with a high-memory configuration.

Can I run Nanonets OCR S locally?

Yes — Nanonets OCR S can run locally on consumer hardware. At Q4_K_M quantization it needs 2.6 GB of VRAM. Popular tools include Ollama, LM Studio, and llama.cpp.

How fast is Nanonets OCR S?

At Q4_K_M, Nanonets OCR S can reach ~1825 tok/s on AMD Instinct MI350X. On NVIDIA GeForce RTX 4090: ~249 tok/s. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.

tok/s = (bandwidth GB/s ÷ model GB) × efficiency

Example: NVIDIA B200 → 8000 ÷ 2.6 × 0.65 = ~1977 tok/s

Estimated speed at Q4_K_M (2.6 GB)

~1977 tok/s
~249 tok/s
~1977 tok/s
~1825 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

What's the download size of Nanonets OCR S?

At Q4_K_M, the download is about 2.25 GB. The full-precision BF16 version is 7.51 GB. The smallest option (IQ2_XXS) is 1.03 GB.

Which GPUs can run Nanonets OCR S?

52 consumer GPUs can run Nanonets OCR S at Q4_K_M (2.6 GB). Top options include AMD Radeon RX 6700 XT, AMD Radeon RX 6800, AMD Radeon RX 6800 XT. 52 GPUs have plenty of headroom for comfortable inference.

Which devices can run Nanonets OCR S?

59 devices with unified memory can run Nanonets OCR S at Q4_K_M (2.6 GB), including AMD Ryzen AI 9 HX 370 (Strix Point) Laptop, ASUS Ascent GX10, Apple iPhone 17 Pro, Asus ROG Flow Z13 (2025, Ryzen AI Max+ 395, 128 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.