Model reference · open weights

lift

LLMs datalab-to Vision + text 1 build Open weights 161k dl/mo

lift is an open-weight language model from datalab-to. lift (BF16) weighs 19.3 GB; the smallest configuration that runs it is RTX 4090 24 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • lift is a 9.7B parameter image-text-to-text model developed by datalab-to for extracting structured JSON data from PDFs and images.
  • It supports a context length of 262144 tokens and uses schema-constrained decoding to guarantee valid output.
  • The model weights are distributed under an openrail license.

Summary of the datalab-to/lift model card, 2026-10-01

What it is

Released bydatalab-to
Released2026-06-19
Parameters9.7B
VRAM19.3 GB for the weights

What it runs on

Memory and cards for lift (BF16)

19.3 GBweights, file size
33 MBcache per 1K tokens
103 MBfixed state per request
2.1 GBruntime overhead, at least
262,144 tokenscontext max
CardRequests at onceContext maxMemory
8K each32K each
RTX 3060 12 GB … RTX 4060 Ti 16 GB
2 smaller cards
RTX 3090 24 GB5155K23.4 GB
RTX 4090 24 GB5153K23.4 GB
RTX 5090 32 GB258all 256K31.0 GB
L40S 48 GB6019all 256K44.0 GB
A100 80 GB15248all 256K78.2 GB
H100 80 GB13743all 256K78.1 GB
RTX PRO 6000 Blackwell 96 GB18056all 256K93.8 GB
DGX Spark (GB10) 128 GB unified21668all 256K107 GB
H200 141 GB29994all 256K138 GB
B200 180 GB400126all 256K176 GB
2× RTX 4060 Ti 16 GB
tensor parallel
196212K15.4 GB a card
2× RTX 4090 24 GB
tensor parallel
6219all 256K23.4 GB a card
2× RTX 3090 24 GB
tensor parallel
6219all 256K23.4 GB a card
Memory needed at each load
Requests at once8K tokens each32K tokens each
121.8 GB22.6 GB
523.3 GB27.3 GB
824.4 GB30.9 GB
1627.4 GB40.3 GB
3233.3 GB59.1 GB
6445.2 GB96.8 GB

One card, with vLLM's small-card settings.

From the model card

What datalab-to says about lift

Read the model card

lift is a structured extraction model from Datalab that pulls structured JSON out of PDFs and images. Pass any JSON schema and lift returns a JSON object matching it, using schema-constrained decoding to guarantee valid, well-typed output.

Try lift in the free playground, or use the hosted API for higher accuracy, per-field verification, and citations.

Features

  • Extract structured data from documents
  • Pass any JSON schema
  • Handles multi-page documents in a single pass, including values that span pages
  • Two inference modes: local (HuggingFace) and remote (vLLM server)
  • CLI for single files, inline schemas, or whole directories
  • Schema Studio: a Streamlit app to build, save, and test schemas against your documents

Quickstart

pip install lift-pdf

# With vLLM (recommended, lightweight install)
lift_vllm
lift_extract input.pdf ./output --schema schema.json

# With HuggingFace (requires torch)
pip install lift-pdf[hf]
lift_extract input.pdf ./output --schema schema.json --method hf

A schema is standard JSON Schema. Keep it simple — string, number, integer, boolean, arrays of those, arrays of objects, and nested objects are all supported. Write a description for any field whose name isn't self-explanatory, and mark a field required only when it must appear; fields genuinely absent from a document come back null.

{
  "type": "object",
  "properties": {
    "invoice_number": {"type": "string", "description": "Invoice identifier"},
    "total": {"type": "number", "description": "Total amount due"},
    "line_items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "description": {"type": "string"},
          "amount": {"type": "number"}
        }
      }
    }
  },
  "required": ["invoice_number", "total"]
}

Usage

With vLLM (recommended)

from lift import extract
from lift.model import InferenceManager

# Start the vLLM server first with: lift_vllm
model = InferenceManager(method="vllm")
result = extract("document.pdf", "schema.json", model=model)
print(result.extraction)

With HuggingFace Transformers

from lift import extract
from lift.model import InferenceManager

# Loads datalab-to/lift in-process (requires: pip install lift-pdf[hf])
model = InferenceManager(method="hf")
result = extract("document.pdf", "schema.json", model=model)
print(result.extraction)

extract accepts the schema as a dict, a path to a .json file, an inline JSON string, or the name of a saved schema. Pass page_range="0-5" to limit PDF pages, and set VLLM_API_BASE to target a remote server.

Benchmarks

Evaluated on a 225-document extraction benchmark (6–64 pages per document, ~11,000 scored fields) with adversarial cases planted throughout: cross-page values, exhaustive lists, fields that must be left null, near-miss distractors, multi-source aggregation. Scoring is deterministic exact-match against ground truth (numeric tolerance, normalized strings).

All models receive the same rendered page images, and extract each document in a single pass.

ModelSizeField accuracyFull-document accuracyMedian latency*Features
Datalab API—95.9%44.4%30.8sCitations + Verification
Gemini Flash 3.5—91.3%40.0%28.1s
lift9B90.2%20.9%9.5s
Azure Content Understanding—83.4%22.2%73.7s
NuExtract34B81.5%8.4%8.3s
Qwen3.5-9B9B76.3%24.0%16.8s

* Per document, 8 concurrent requests. Local models (lift, Qwen3.5-9B, NuExtract3) served with vLLM on a single GPU; Gemini, Datalab, and Azure via API. Latency varies with hardware and load — treat as relative, not absolute.

  • Field accuracy — fraction of individual schema fields extracted correctly.
  • Full-document accuracy — fraction of documents where every field is correct.

Hosted models with verification, citations, and confidence scores are available via the Datalab API — test in the playground.

Commercial Usage

Code is Apache 2.0. Model weights use a modified OpenRAIL-M license: free for research, personal use, and startups under $5M funding/revenue. Cannot be used competitively with our API. For broader commercial licensing, see pricing.

Credits

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms