Mindket

Surya 2.5 GGUF

Newversion 1 · updated

Overview

Reads text, tables and layout from document images and returns it as text. GGUF builds of the Surya 2.5 OCR model for llama.cpp, for people who run document OCR on their own machine.

Surya 2.5 GGUF is a kit in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • llama.cpp with llama-server
  • The vision projector file, which you need with either model file
Runs in
  • llama.cpp: serves the GGUF files through llama-server
  • The surya-ocr Python package: can start the server for you
  • Apple Silicon or CPU: where the package sets things up automatically
Start with
pip install -U huggingface_hub
hf download datalab-to/surya-ocr-2.5-gguf

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

This repository holds GGUF builds of Surya 2.5, an OCR model from Datalab, made to run under llama.cpp. Surya reads page images and returns text, with layout labels, reading order and tables as HTML. There are bf16 and 8-bit files, and a vision projector file that you need with either one.

Who it suits

People who need to turn scanned pages and document images into text on their own hardware, and who are comfortable running a local server.

IndustryWho uses itHow they use itExample
Document processingTeams that digitize paper recordsServe the model locally and send page scans to itConverting a stack of scanned forms into text
Legal and financeStaff who work from PDFs and scansExtract text and tables from document imagesPulling a table from a scanned statement as HTML
ResearchDevelopers who build document pipelinesUse the GGUF build as the OCR step in their own toolsComparing the 8-bit and bf16 files on their own pages

Skip it if you want a hosted OCR service, or if you do not want to run llama.cpp.

Where to use it

It runs under llama.cpp, and the files download on Windows, macOS or Linux. The card names Apple Silicon and CPU for the automatic setup.

  • llama.cpp: serves the GGUF files through llama-server
  • The surya-ocr Python package: can start the server for you
  • Apple Silicon or CPU: where the package sets things up automatically
Use caseWhoWhat they get back
Full page OCRDocument teamsThe text of a page image
Layout analysisPipeline developersBlock labels and reading order
Table extractionAnalystsTables returned as HTML

How to set it up

You need Python and llama.cpp, plus the three files.

  • Python with pip
  • llama.cpp with llama-server
  • The vision projector file, which you need with either model file
  1. Install the Hugging Face hub library and download the files.
  2. Or install the surya-ocr package, which fetches the bf16 file and launches the server on its own where it runs on Apple Silicon or CPU.
  3. To serve it yourself, run llama-server with both files.
  4. Set the two Surya environment variables, SURYA_INFERENCE_BACKEND and SURYA_INFERENCE_URL, so Surya talks to your server.
pip install -U huggingface_hub
hf download datalab-to/surya-ocr-2.5-gguf

The quicker route:

pip install surya-ocr

To serve it yourself:

llama-server -m surya-2.5.gguf --mmproj surya-2.5-mmproj.gguf --jinja --special \
  --parallel 8 --ctx-size 98304 -ngl 99 --port 8080

How to use it

Start the server, point Surya at it, then run OCR on page images. The special flag is required, because block labels and coordinates come back only with it.

ToolWhat it does
llama-serverServes the GGUF model over a local port
--mmprojLoads the vision projector file
--specialRequired, returns block labels and coordinates
--parallel 8Handles eight requests at once

Example

You start llama-server with the Surya files and send it a full page scan. You get back the text of the page together with block labels, coordinates and reading order, and tables come back as HTML.

For newcomers and experts

If you are new to this, install surya-ocr and let it start the server for you. Feed it one clean page scan first, and check the text against the page.

If you know the field, the card reports a speed test on an M4 Max with 8 parallel requests. Surya 2.5 finished all 32 pages, and Surya 2 finished 28 before the token cap. The 8-bit file used less memory than bf16 at a similar speed.

Card speed test, 32 full page requests
ModelPages per secondPeak memory
Surya 2 in bf160.0615,875 MB
Surya 2.5 in bf160.1904,764 MB
Surya 2.5 in Q8_00.1984,278 MB
  1. Page image goes to llama-server
  2. Surya 2.5 reads text and layout
  3. Block labels and coordinates return
  4. You use the text and HTML tables

Good to know

The authors report 85.9 on OmniParseBench and 83.7% on olmOCR-bench for Surya, and these are their own figures.

  • License: OpenRAIL on Hugging Face's record, with the card's badges showing Apache 2.0 for code and OpenRAIL-M for the model
  • Cost to run: none named for local use, though Datalab also offers an optional managed platform
  • Data it reaches: the page images you send to your local server
  • Not for: row and column geometry in tables, which needs a Surya 2 checkpoint

README and files

README

Surya 2.5 GGUF

Reads text, tables and layout from document images and returns it as text. GGUF builds of the Surya 2.5 OCR model for llama.cpp, for people who run document OCR on their own machine.

Made by datalab-to on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: This repository holds GGUF builds of Surya 2.5, an OCR model from Datalab, made to run under llama.cpp. Surya reads page images and returns text, with layout labels, reading order and tables as HTML. There are bf16 and 8-bit files, and a vision projector file that you need with either one.

Who it suits: People who need to turn scanned pages and document images into text on their own hardware, and who are comfortable running a local server.

Industry | Who uses it | How they use it | Example
Document processing | Teams that digitize paper records | Serve the model locally and send page scans to it | Converting a stack of scanned forms into text
Legal and finance | Staff who work from PDFs and scans | Extract text and tables from document images | Pulling a table from a scanned statement as HTML
Research | Developers who build document pipelines | Use the GGUF build as the OCR step in their own tools | Comparing the 8-bit and bf16 files on their own pages

Skip it if you want a hosted OCR service, or if you do not want to run llama.cpp.

Where to use it: It runs under llama.cpp, and the files download on Windows, macOS or Linux. The card names Apple Silicon and CPU for the automatic setup.

  • llama.cpp: serves the GGUF files through llama-server
  • The surya-ocr Python package: can start the server for you
  • Apple Silicon or CPU: where the package sets things up automatically
Use case | Who | What they get back
Full page OCR | Document teams | The text of a page image
Layout analysis | Pipeline developers | Block labels and reading order
Table extraction | Analysts | Tables returned as HTML

How to set it up: You need Python and llama.cpp, plus the three files.

  • Python with pip
  • llama.cpp with llama-server
  • The vision projector file, which you need with either model file
  1. Install the Hugging Face hub library and download the files.
  2. Or install the surya-ocr package, which fetches the bf16 file and launches the server on its own where it runs on Apple Silicon or CPU.
  3. To serve it yourself, run llama-server with both files.
  4. Set the two Surya environment variables, SURYA_INFERENCE_BACKEND and SURYA_INFERENCE_URL, so Surya talks to your server.
pip install -U huggingface_hub
hf download datalab-to/surya-ocr-2.5-gguf

The quicker route:

pip install surya-ocr

To serve it yourself:

llama-server -m surya-2.5.gguf --mmproj surya-2.5-mmproj.gguf --jinja --special \
  --parallel 8 --ctx-size 98304 -ngl 99 --port 8080

How to use it: Start the server, point Surya at it, then run OCR on page images. The special flag is required, because block labels and coordinates come back only with it.

Tool | What it does
llama-server | Serves the GGUF model over a local port
--mmproj | Loads the vision projector file
--special | Required, returns block labels and coordinates
--parallel 8 | Handles eight requests at once

Example: You start llama-server with the Surya files and send it a full page scan. You get back the text of the page together with block labels, coordinates and reading order, and tables come back as HTML.

For newcomers and experts: If you are new to this, install surya-ocr and let it start the server for you. Feed it one clean page scan first, and check the text against the page.

If you know the field, the card reports a speed test on an M4 Max with 8 parallel requests. Surya 2.5 finished all 32 pages, and Surya 2 finished 28 before the token cap. The 8-bit file used less memory than bf16 at a similar speed.

Title: Card speed test, 32 full page requests
Model | Pages per second | Peak memory
Surya 2 in bf16 | 0.061 | 5,875 MB
Surya 2.5 in bf16 | 0.190 | 4,764 MB
Surya 2.5 in Q8_0 | 0.198 | 4,278 MB
Page image goes to llama-server
Surya 2.5 reads text and layout
Block labels and coordinates return
You use the text and HTML tables

Good to know: The authors report 85.9 on OmniParseBench and 83.7% on olmOCR-bench for Surya, and these are their own figures.

  • License: OpenRAIL on Hugging Face's record, with the card's badges showing Apache 2.0 for code and OpenRAIL-M for the model
  • Cost to run: none named for local use, though Datalab also offers an optional managed platform
  • Data it reaches: the page images you send to your local server
  • Not for: row and column geometry in tables, which needs a Surya 2 checkpoint

On Hugging Face, 13 November 2026

  • Task: image text to text
  • Library: transformers
  • Parameters: 589M
  • Weights: about 294 MB at 4-bit (estimate)
  • Formats: GGUF
  • Downloads in the last 30 days: 126,232
  • Likes: 8
  • License: openrail
  • Based on: datalab-to/surya-ocr-2.5
  • Tags: transformers, gguf, qwen3_5, image-text-to-text, markdown, layout, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download datalab-to/surya-ocr-2.5-gguf

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
Surya 2.5 GGUF This page126,2328589Mopenrail
Chandra OCR 2Shares markdown · qwen3_5 · layout1,356,0746065.3Bopenrail
Surya OCR 2.5Shares markdown · qwen3_5 · layout75,03352689Mopenrail
Rukopys-OCR-4BShares qwen3_5 · image-text-to-text · conversational8674.5Bapache-2.0
MiniCPM-OCR 1.0 GGUFShares gguf · image-text-to-text · conversational58,162133752Mapache-2.0
MinerU2.5-ProShares image-text-to-text · conversational · transformers37,1791151.2Bapache-2.0
Numbers as Mindket last read them, on 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Productivity

See all in Productivity

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New