---
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)/tiiuae/Falcon-OCR

HFOCRTII Falcon License 2.0

# Falcon-OCR

by tiiuae

300M early-fusion OCR model: plain text, LaTeX, and HTML table output from document images

195Kdl/month

300Mparams

[HuggingFace](https://huggingface.co/tiiuae/Falcon-OCR)[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

`tiiuae/Falcon-OCR`

## Deploy Falcon-OCR

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

Falcon-OCR is an ultra-compact 300M-parameter early-fusion vision-language model for document OCR, developed by the Technology Innovation Institute (TII). Unlike traditional OCR pipelines that chain detection, recognition, and layout analysis, Falcon-OCR processes image patches and text tokens in a shared parameter space from the very first transformer layer, using a hybrid attention mask where image tokens attend bidirectionally while text tokens decode causally conditioned on the image.

At just 300M parameters, Falcon-OCR is roughly 3x smaller than competing VLM-based OCR models yet achieves 80.3% on the olmOCR benchmark and 88.64 overall on OmniDocBench. On Mixpeek, it provides fast, lightweight OCR extraction from scanned documents, receipts, and printed materials, producing plain text, LaTeX for formulas, or HTML for tables depending on the requested output format.

## Architecture

Early-fusion dense autoregressive Transformer. A single transformer processes image patches and text tokens in a shared parameter space from layer 1. Hybrid attention mask: image tokens attend bidirectionally, text tokens decode causally conditioned on image. Requires PyTorch 2.5+ for FlexAttention.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so Falcon-OCR 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: { "text-embedding": embeddingOfModelOutput },
        },
      \],
    }),
  },
);

// Managed alternative, if this exact model is not the requirement:
// universal\_extractor@v1 runs google/gemini-embedding-2
// (3072-d) over a bucket, with no inference of your own.

## Capabilities

*   Plain text, LaTeX formula, and HTML table output modes
*   Early-fusion architecture: no separate vision encoder
*   88.64 overall on OmniDocBench at just 300M params
*   ~2.9 images/sec on a single A100-80GB
*   3x smaller than competing VLM-OCR models

## Use Cases on Mixpeek

Document digitization: extract text from scanned archives with minimal compute

Formula extraction: convert mathematical content to LaTeX for searchable indexing

Table extraction: produce structured HTML from document tables for downstream filtering

## Benchmarks

Dataset

Metric

Score

Source

olmOCR

Accuracy

80.3%

TII, 2026: Falcon Perception Paper

OmniDocBench

Overall

88.64

TII, 2026: Falcon Perception Paper

## Performance

Input SizeDocument page image (variable resolution)

GPU Latency~345ms / image (A100, 5825 tok/s)

GPU Throughput~2.9 images/sec (A100-80GB)

GPU Memory~1.2 GB

## Common Pipeline Companions

[

BAAI/bge-m3

Embed extracted text for hybrid retrieval

](/model/BAAI/bge-m3)[

ibm-granite/granite-docling-258M

Compare layout-aware vs early-fusion OCR

](/model/ibm-granite/granite-docling-258M)

## 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

Organizationtiiuae

FeatureOCR

Outputtext + bbox

Modalitiesvideo, image, document

RetrieverText-in-Image

Parameters300M

LicenseTII Falcon License 2.0

Downloads/mo195K

[

### Research Paper

Falcon Perception

arxiv.org](https://arxiv.org/abs/2603.27365)

### Build a pipeline with Falcon-OCR

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)