---
title: "Datalab's Chandra OCR 2 Beats GPT-4o on Documents at Half the Size"
subtitle: "Chandra OCR 2 is a 4B open-source model that tops the olmOCR benchmark at 85.9%, beating GPT-4o and Gemini Flash on structured document extraction across 90+ languages."
url: "https://alphasignal.ai/news/datalab-s-chandra-ocr-2-beats-gpt-4o-on-documents-at-half-the-size"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-06-26T10:26:47.000Z"
updated: "2026-06-26T19:17:45.817Z"
type: "Repo"
topics:
  - "Image"
  - "Open Source"
subtopics:
  - "Ocr"
upvotes: 15
source_url: "https://github.com/datalab-to/chandra"
comments: 0
truncated: true
---

# Datalab's Chandra OCR 2 Beats GPT-4o on Documents at Half the Size

> Chandra OCR 2 is a 4B open-source model that tops the olmOCR benchmark at 85.9%, beating GPT-4o and Gemini Flash on structured document extraction across 90+ languages.

[Chandra OCR 2](https://github.com/datalab-to/chandra), from Datalab, is a 4-billion parameter open-source model that converts images and PDFs into structured Markdown, HTML, or JSON while preserving full layout information. It just claimed the top spot on the olmOCR benchmark, the most widely used OCR evaluation suite, scoring 85.9% overall and outperforming GPT-4o, Gemini Flash 2, Mistral OCR, and every other open-weight model in the field.

What makes this notable is not just the score. Chandra 2 is smaller than Chandra 1, but improves on it in every category. The model dropped from 9B to 4B parameters, while pushing the olmOCR benchmark score from 83.1% to 85.9% and multilingual accuracy from 69.4% to 77.8% across the top 43 languages. Fewer parameters, better results, and twice the throughput.

## The problem it actually solves

Everyone is racing to build smarter AI agents, but there is a quiet problem upstream: most real-world data is trapped in documents. PDFs, scanned insurance forms, handwritten clinical notes, lab reports with complex tables , none of this flows cleanly into an LLM context window. Traditional OCR gives you a text dump. What agents actually need is structured output: tables that are still tables, form fields that are labeled, images that are described, layout that is preserved.

Chandra 2 is built specifically for that. It converts images and PDFs into structured HTML, Markdown, or JSON while keeping full layout information intact. It is not just extracting characters; it is reconstructing the document as a structured artifact.

## One model, one pass

What distinguishes Chandra OCR from its predecessors is its full-page decoding approach. Traditional OCR systems operate as pipelines: first segment the document into blocks (text, table, image), then process each block separately. This approach works reasonably for simple documents but fails when layout becomes complex. A table whose merged cells span multiple columns, or a page mixing printed text and handwriting, overwhelms segmentation pipelines.

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [datalab-to/chandra GitHub Repository](https://github.com/datalab-to/chandra)
- [datalab-to/chandra-ocr-2 on HuggingFace](https://huggingface.co/datalab-to/chandra-ocr-2)
- [Chandra OCR 2: The Open-Source Model That Reads What Others Can't — Towards AI](https://pub.towardsai.net/chandra-ocr-2-the-open-source-model-that-reads-what-others-cant-6a218faa0efd)
- [Chandra 2: The Open-Source OCR Model Turning Messy Documents Into Agent-Ready Data](https://themenonlab.blog/blog/chandra-2-ocr-model-structured-document-extraction)
- [Chandra OCR: The Open-Source AI That Actually Reads Tables and Handwriting Right](https://emelia.io/hub/chandra-ocr-tables-handwriting)
