[Models](/models)/[Document Analysis](/models?category=document)/docling-project/SmolDocling-256M-preview

HFDocument StructureApache-2.0

# SmolDocling-256M-preview

by docling-project

256M-parameter document understanding -- OCR, layout, tables, and charts in one tiny model

520Kdl/month

256Mparams

[HuggingFace](https://huggingface.co/docling-project/SmolDocling-256M-preview)[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

`docling-project/SmolDocling-256M-preview`

## Deploy SmolDocling-256M-preview

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

SmolDocling is a collaboration between IBM Research and HuggingFace that delivers end-to-end document conversion in a model small enough to run on a laptop CPU. At 256M parameters, it handles OCR, layout analysis, table extraction, chart understanding, code blocks, equations, and form parsing.

The model outputs universal DocTags markup that preserves spatial layout and reading order. It processes entire pages in a single forward pass rather than requiring separate detection and recognition stages. On Mixpeek, SmolDocling provides a cost-effective option for document understanding when GPU resources are scarce or when processing volume makes larger models prohibitively expensive.

## Architecture

Vision-language model, 256M parameters. End-to-end: image input, DocTags markup output preserving layout and position coordinates. Handles multi-page documents. No external OCR dependency.

## Mixpeek SDK Integration

IngestRetrieve

// No extractor parameter takes a Hugging Face model id (checked against
// GET /v1/discovery/extractors, which returns 13), so SmolDocling-256M-preview 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

*   Full-page OCR with layout preservation
*   Table structure extraction
*   Chart and figure understanding
*   Code block detection
*   Mathematical equation parsing
*   Form field extraction

## Use Cases on Mixpeek

High-volume document processing on CPU

On-device document understanding for privacy-sensitive workflows

Cost-effective PDF-to-structured-data pipelines

Document ingestion for RAG at scale

## Benchmarks

Dataset

Metric

Score

Source

DocLayNet (layout detection)

mAP

76.3%

IBM/HF, 2025 -- Paper Table 1

## Performance

Input SizeFull document pages

GPU Latency~80ms / page (A100)

GPU Throughput~12 pages/sec (A100, batch 4)

GPU Memory~0.8 GB

## Common Pipeline Companions

[

BAAI/bge-m3

Embed extracted text sections for retrieval

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

microsoft/table-transformer-detection

Compare table extraction accuracy

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

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

Organizationdocling-project

FeatureDocument Structure

Outputstructure tokens

Modalitiesdocument

RetrieverSection Filter

Parameters256M

LicenseApache-2.0

Downloads/mo520K

[

### Research Paper

SmolDocling: An ultra-compact vision-language model for end-to-end multi-modal document conversion

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

### Build a pipeline with SmolDocling-256M-preview

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)[

naver-clova-ix/donut-base

Document Structure

](/model/naver-clova-ix/donut-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)

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