---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://mixpeek.com/.well-known/search?q={query}"
  method: GET
  documentation: "https://mixpeek.com/llms.txt"
---

[Models](/models)/[Text Extraction](/models?category=text_extraction)/datalab-to/chandra-ocr-2

HFOCROpenRAIL-M

# chandra-ocr-2

by datalab-to

High-accuracy multilingual OCR with 90+ language support

1.45Mdl/month

5.3Bparams

[HuggingFace](https://huggingface.co/datalab-to/chandra-ocr-2)[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

Identifiers

Model ID

`datalab-to/chandra-ocr-2`

## Deploy chandra-ocr-2

Single-tenant

Mixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.

[Read the customer-hosted guide](https://mixpeek.com/docs/customer-hosted/overview) [Talk to us about single-tenant](/demo)

## Overview

Chandra OCR 2 from Datalab is a 5B parameter vision-language model optimized for optical character recognition across 90+ languages. Built on the Qwen3.5 architecture, it achieves 85.9% on the olmOCR benchmark (SOTA at time of release) and 77.8% multilingual accuracy across 43 languages, a 12-point improvement over v1. The model outputs structured Markdown, HTML, or JSON and excels at handwriting, tables, and mathematical formulas.

## Architecture

Image-text-to-text model based on Qwen3.5 with a vision encoder fine-tuned for document understanding. Processes full-page document images and generates structured text output (Markdown with table formatting and LaTeX math). The dual-encoder architecture handles both the visual layout and text content simultaneously.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so chandra-ocr-2 runs
// on your side and the output is upserted through POST
// /v1/namespaces/{namespace\_id}/documents/upsert. On Enterprise the other
// path is to upload the weights instead: POST /v1/namespaces/{id}/models
// accepts the huggingface format and a custom plugin loads them.
const res = await fetch(
  "https://api.mixpeek.com/v1/namespaces/ns\_your\_namespace/documents/upsert",
  {
    method: "POST",
    headers: {
      Authorization: "Bearer API\_KEY",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      collection\_id: "col\_your\_collection",
      documents: \[
        {
          document\_id: "asset-00412",
          // The model produces text, so it lands in payload. Give the
          // collection a text vector index and embed that text to make it
          // searchable rather than only filterable.
          payload: { extracted\_text: modelOutput, source\_key: "archive/2026/asset-00412" },
          vectors: { "image-embedding": embeddingOfModelOutput },
        },
      \],
    }),
  },
);

// Managed alternative, if this exact model is not the requirement:
// image\_extractor@v1 runs google/siglip-base-patch16-224
// (768-d) over a bucket, with no inference of your own.

## Capabilities

*   90+ language OCR
*   Handwriting recognition
*   Table structure extraction
*   Mathematical formula recognition
*   Markdown/HTML/JSON output

## Use Cases on Mixpeek

Digitizing multilingual document archives

Extracting structured data from scanned forms and invoices

Processing handwritten notes and medical records

Converting academic papers with equations to searchable text

## Benchmarks

Dataset

Metric

Score

Source

olmOCR

Accuracy

85.9%

Model card

Multilingual (43 langs)

Accuracy

77.8%

Model card

Table Recognition

TEDS

92.1%

Model card

## Performance

Input SizeVariable

GPU Latency~200ms per page on A100

GPU Throughput~5 pages/sec

GPU MemoryModel dependent

## Common Pipeline Companions

[

baai\_bge\_m3\_v1

Common companion model

](/models)[

paddle\_pp\_doclayoutv3\_v1

Common companion model

](/models)[

ibm\_granite\_docling\_258m\_v1

Common companion model

](/models)

## Explore on Mixpeek

[

More Text Extraction models

Compare alternatives in this category

](/models?category=text_extraction)[

Best Document AI Platforms

Hand-picked tools & platforms compared

](/curated-lists/best-document-ai-platforms)[

OCR & Document AI Internals

Deep-dive technical guide

](/guides/ocr-document-ai-internals)[

Feature Extractors

See how Mixpeek runs models as extractors

](/extractors)[

Mixpeek Vector Store

Store & search embeddings at scale

](/mvs)[

Pricing

Usage-based pricing for pipelines

](/pricing)[

All Curated Lists

Compare models, APIs & infrastructure

](/curated-lists)

### Specification

FrameworkHF

Organizationdatalab-to

FeatureOCR

Outputtext + bbox

Modalitiesvideo, image, document

RetrieverText-in-Image

Parameters5.3B

LicenseOpenRAIL-M

Downloads/mo1.45M

[

### Research Paper

Model paper or technical report

arxiv.org](https://huggingface.co/datalab-to/chandra-ocr-2)

### Build a pipeline with chandra-ocr-2

Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.

[Run it on your own data, free](https://studio.mixpeek.com/namespaces/create?mode=managed&utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)

### Alternative Models

[

microsoft/trocr-large-printed

OCR

](/model/microsoft/trocr-large-printed)[

PaddlePaddle/paddleocr

OCR

](/model/PaddlePaddle/paddleocr)[

zai-org/GLM-OCR

OCR

](/model/zai-org/GLM-OCR)[

lightonai/LightOnOCR-2-1B

OCR

](/model/lightonai/LightOnOCR-2-1B)

### Related in Text Extraction

[

microsoft/codebert-base

Code Extraction

](/model/microsoft/codebert-base)[

Salesforce/codet5p-110m-embedding

Code Extraction

](/model/Salesforce/codet5p-110m-embedding)[

nomic-ai/nomic-embed-code

Code Extraction

](/model/nomic-ai/nomic-embed-code)[

Salesforce/SFR-Embedding-Code-2B\_R

Code Extraction

](/model/Salesforce/SFR-Embedding-Code-2B_R)