---
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)/[Document Analysis](/models?category=document)/naver-clova-ix/donut-base

HFDocument Structuremit

# donut-base

by naver-clova-ix

Document understanding transformer, OCR-free document parsing

58Kdl/month

254likes

210Mparams

[HuggingFace](https://huggingface.co/naver-clova-ix/donut-base)[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

`naver-clova-ix/donut-base`

## Deploy donut-base

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

Donut (Document Understanding Transformer) is an end-to-end model for document understanding that directly maps document images to structured outputs without relying on a separate OCR engine. This simplifies the pipeline and avoids OCR error propagation.

On Mixpeek, Donut offers an OCR-free alternative for document structure extraction, particularly useful for visually rich documents like receipts, forms, and infographics.

## Architecture

Swin Transformer encoder for image features, BART decoder for text generation. Trained end-to-end on document images with their corresponding JSON annotations. No OCR dependency.

## How it runs

.dataflow-R15f6b .df-packets-static{display:none} @media (prefers-reduced-motion: reduce){ .dataflow-R15f6b .df-packets-anim{display:none} .dataflow-R15f6b .df-packets-static{display:inline} .dataflow-R15f6b .df-toggle{display:none} }

Pause

Inference INPUT MODEL OUTPUT Image object donut-base mp.inference Text vector Vector store MVS donut-base → embeddings, indexed for search

donut-base takes image, and Mixpeek indexes what it emits.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so donut-base 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:
// document\_graph\_extractor@v1 runs intfloat/multilingual-e5-large-instruct
// (1024-d) over a bucket, with no inference of your own.

## Capabilities

*   OCR-free document understanding
*   Structured JSON output from document images
*   Document classification
*   Key-value extraction from forms

## Use Cases on Mixpeek

Receipt and invoice parsing without OCR

Form data extraction for automated workflows

Document classification and routing

## Benchmarks

Dataset

Metric

Score

Source

CORD (receipt parsing)

Tree Edit Distance

91.6%

Kim et al., 2022: Table 2

DocVQA (test)

ANLS

67.5

Kim et al., 2022: Table 3

## Performance

Input Size2560×1920 px (max)

GPU Latency~40ms / page (A100)

CPU Latency~580ms / page

GPU Throughput~25 pages/sec (A100)

GPU Memory~0.8 GB

OCR-free architecture: reads documents directly from pixels

## Common Pipeline Companions

[

microsoft/layoutlmv3-base

Layout-aware analysis after parsing

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

BAAI/bge-large-en-v1.5

Embed parsed fields for retrieval

](/model/BAAI/bge-large-en-v1.5)

## Explore on Mixpeek

[

More Document Analysis models

Compare alternatives in this category

](/models?category=document)[

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

Organizationnaver-clova-ix

FeatureDocument Structure

Outputstructure tokens

Modalitiesdocument

RetrieverSection Filter

Parameters210M

Licensemit

Downloads/mo58K

Likes254

[

### Research Paper

OCR-free Document Understanding Transformer

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

### Build a pipeline with donut-base

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/layoutlmv3-base

Document Structure

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

ibm-granite/granite-docling-258M

Document Structure

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

fastino/gliner2-base-v1

Document Structure

](/model/fastino/gliner2-base-v1)[

docling-project/SmolDocling-256M-preview

Document Structure

](/model/docling-project/SmolDocling-256M-preview)

### Related in Document Analysis

[

microsoft/table-transformer-detection

Table Extraction

](/model/microsoft/table-transformer-detection)[

microsoft/table-transformer-structure-recognition-v1.1-all

Table Extraction

](/model/microsoft/table-transformer-structure-recognition-v1.1-all)[

poloclub/UniTable

Table Extraction

](/model/poloclub/UniTable)[

microsoft/table-transformer-structure-recognition-v1.1-pub

Table Extraction

](/model/microsoft/table-transformer-structure-recognition-v1.1-pub)