Zarif Automates
document processing

Datalab

Visit Website

Managed document-intelligence APIs for conversion, structured extraction, segmentation, form filling, and versioned processing pipelines.

Features & Use Cases

Features

  • Cloud API plus contract-priced on-premises deployment
  • Markdown, HTML, JSON, and chunk outputs
  • Saved schemas, checkpoints, citations, and bounding boxes

Best For

  • Teams that need several document operations behind one managed API and can validate vendor processing, retention, and per-page costs.

Mentioned In (1 post)

Deep Dive

Overview

Datalab belongs on the shortlist for engineering teams that want one managed API for document conversion, schema-based extraction, segmentation, form filling, and reusable processing pipelines. It is especially relevant when the desired output is Markdown, HTML, JSON, or retrieval-ready chunks rather than plain OCR text. The main tradeoffs are a changing API surface, additive usage pricing, incomplete parity between cloud and on-premises deployments, and licensing terms that make the related open-source Marker project less permissive than its Apache-licensed code initially suggests.

Independent editorial disclosure: Zarif Automates has no sponsorship, affiliate relationship, or commercial arrangement with Datalab for this article. Datalab did not review or approve it. This is an independently researched editorial assessment based on public documentation, source code, release notes, benchmark artifacts, and repository issues accessed on August 29, 2026. It is not a hands-on product test, security audit, legal opinion, or guarantee of performance. Test the service with your own documents and ask Datalab to confirm commercial, privacy, and security terms before production use.

Datalab, Marker, Surya, and Chandra should not be treated as four names for the same product:

NameWhat it isThe buying or architecture decision
DatalabThe managed document-intelligence platform and APIWhether to send documents to a hosted service and pay per processor and page
MarkerA self-run document conversion libraryWhether to operate conversion locally under separate code and model-weight licenses
SuryaOCR and layout models used in the open-source stackWhich inference backend, hardware, and model terms the local pipeline needs
ChandraDatalab's document vision-language model familyWhich hosted or commercially licensed model tier processes a document

The Datalab API overview documents asynchronous conversion, extraction, segmentation, form filling, tracked-change extraction, custom processors, and file operations. A request returns an ID and result URL; the client then polls or handles a webhook. The platform changelog says Chandra 2.2 reached the hosted API on July 10, 2026 and Forge became the primary visual pipeline workspace in April 2026.

That breadth is the reason to consider Datalab over a basic OCR endpoint. It does not remove the need for a queue, validation rules, a human-review path, downstream idempotency, or corpus-specific evaluation.

Key Features

Managed conversion with several output formats

The convert endpoint accepts documents by upload, URL, or Datalab file reference and returns Markdown, HTML, JSON, or chunks. The current API documentation exposes fast, balanced, and accurate parsing modes, page-range controls, image extraction, block IDs, word bounding boxes, and checkpoints. Checkpoints matter when the same parse will feed multiple later operations because they can avoid converting the document again.

The supported-input list is broader than PDF. Datalab's file-type documentation includes common spreadsheet, Word, presentation, HTML, EPUB, image, and PDF formats. Support for a file extension does not guarantee equal quality across layouts, embedded objects, formulas, or languages, so each format still needs its own acceptance set.

Structured extraction with schemas and provenance

The extract endpoint accepts a JSON schema or a saved schema ID. Saved schemas can be versioned, and an extraction can reuse a conversion checkpoint. Datalab's structured-extraction guide documents citations from extracted values back to parsed blocks. That provenance is useful in a review UI because an operator can inspect where an invoice total, policy number, or contract date came from instead of trusting an unsupported value.

This feature is part of hosted Datalab, not Marker 2.0. The Marker 2.0.0 release notes say the old structured-extraction converter was removed and direct users should use Datalab or build an external LLM workflow. A team choosing Marker locally therefore owns the schema prompt, model provider, validation, citations, retries, and review logic.

Segmentation and reusable pipelines

Segmentation can identify document boundaries in a combined packet before later processing. A practical insurance workflow is:

  1. Store the original claim packet under an immutable document ID.
  2. Segment it into a cover sheet, police report, estimate, photos, and correspondence.
  3. Convert only the sections that need searchable content.
  4. Extract a version-pinned schema from the relevant sections.
  5. Validate required fields and totals in code.
  6. Route missing, contradictory, or low-confidence fields to a reviewer.
  7. Commit the approved record through an idempotent outbox worker.

Datalab's Forge interface can save and version processor chains, while the API can run published pipeline versions. Versioning the schema and pipeline configuration helps reproduce a result, but it does not fully pin the hosted model. The version policy says non-Enterprise users can receive model updates that may produce subtle output changes. A golden regression corpus is therefore still required before and after observable changes.

Practical RAG ingestion workflow

For retrieval, use conversion as one bounded stage rather than letting the parser write directly to a vector database:

  1. Upload from a quarantined object store and record the file hash, source, MIME type, and access policy.
  2. Convert to chunks or JSON with block IDs and preserve the page and bounding-box metadata.
  3. Check the completed response's success flag, page count, parse-quality signal, and expected text or image coverage.
  4. Retrieve the result before Datalab's documented one-hour expiration and store the approved artifact in your own system.
  5. Normalize headings, tables, and metadata; then chunk and embed.
  6. Keep the document version, parser configuration, model date, and chunk IDs alongside the index.
  7. Sample retrieved passages against the source pages and send incomplete parses to review.

This separates parser failure from retrieval failure. It also makes re-indexing possible without re-uploading sensitive source files unnecessarily.

Practical invoice extraction workflow

For invoices, first convert with checkpoint saving, then pass the checkpoint to a saved extraction schema. Validate line-item sums, tax, currency, vendor identity, duplicate invoice numbers, and purchase-order matches outside the model. Datalab citations or bounding boxes can power a field-level review screen. Only an approved record should reach the ERP.

The cost model is additive: conversion plus extraction incurs both rates. A direct extraction request can be simpler, while a saved checkpoint is more useful when the parsed representation also feeds search, segmentation, or several schemas. Measure the two designs on actual invoices rather than assuming one is cheaper.

Marker 2.0 for local conversion

Marker remains a useful local option when the primary need is document-to-Markdown, HTML, JSON, or chunks and the team can operate the inference stack. Version 2.0.0, released July 20, 2026, requires Python 3.10 or later. The current repository describes balanced mode for quality-oriented GPU processing, fast mode for a lower-cost path, and a no-OCR path for documents with usable text layers. Non-PDF formats require the full dependency extra.

Local does not mean operationally free. GPU mode uses Surya through vLLM and an NVIDIA container setup; CPU or Apple Silicon uses a llama.cpp server. The bundled FastAPI helper is described by its own README as a small-scale server, and it does not expose every CLI feature. Production teams need a hardened service wrapper, queues, timeouts, observability, resource isolation, file limits, and upgrade testing.

What the benchmark evidence does and does not show

Datalab reports that Marker 2 balanced scored 76.0 overall and 83.5 on born-digital documents on Ai2's 1,403-document olmOCR-bench, with fast and no-OCR modes trading quality for throughput. The dataset and checker are third-party, but the published run and comparison are from Datalab, so this is a vendor-run result on a third-party benchmark—not an independent neutral evaluation.

The comparison also needs configuration context. Open Marker issue #1066 argues that the published MinerU comparison used MinerU's pipeline backend instead of its newer default hybrid configuration. The issue remains open. It does not invalidate Marker’s score, but it means the broad claim that Marker beats MinerU should not be repeated without the backend qualifier.

Open repository reports are another kind of evidence. Issue #1081 reports invented and omitted text on a synthetic bleed-through corpus in Marker 2.0, while issue #1069 reports silent Markdown truncation on one long document. These are user reports, not prevalence estimates, independently reproduced findings, or confirmed product-wide defects. They identify acceptance tests worth running: page coverage, missing-tail detection, source-image coverage, invented-text checks, and nonzero failure signals.

Pricing

Pricing was verified August 29, 2026 against the live Datalab rate card and billing documentation. The live page was built August 28, 2026. Treat these as dated list prices, not a quote.

ProcessorCurrent list rate per 1,000 pages
Convert, fast or balanced$4
Convert, accurate$10
Extract, fast$6
Extract, balanced$15 plus possible compute fees
Extract, accurate$25 plus possible compute fees
Segment, page level$0.50
Segment, block level with conversion$4.50
Form fill$10 floor for typical forms
Track changes or create document$6
Custom processor$20
Eval$2

The rate card says about 5 percent of balanced and accurate extractions exceed their fixed rate when a long document or dense repeated schema requires more compute. It lists schemas above 750 input fields as unsupported. Add-ons such as chart understanding, infographic parsing, and granular bounding boxes add separate per-page charges. EU processing adds 25 percent to the total.

There is a material naming and pricing conflict inside the official documentation. The live rate card lists extraction tiers called fast, balanced, and accurate at $6, $15, and $25 per 1,000 pages. The current structured-extraction guide separately defines parsing mode and extraction_mode, and still lists only fast extraction at $6 and balanced extraction with verification, reasoning, and citations at $25. Do not assume that mode=balanced selects a $15 extraction tier. Confirm the accepted request fields, default, response features, and billed tier with Datalab before forecasting or deploying.

Plan pricing is separate from processor selection:

  • Free: $0, with a recurring monthly allowance listed as $20 for a work email or $10 for a personal email; adding a card enables pay-as-you-go.
  • Team: $400 per month, including $400 of usage at the same rate card plus production-oriented limits, administrative MFA, and access to BAA/DPA and SOC 2 materials according to current vendor pages.
  • Enterprise: Custom pricing for committed volume, SLAs, model pinning, own-VPC or air-gapped arrangements, and negotiated deployment terms.

Processors are additive. Converting and then extracting the same 10,000 pages means paying for both operations. The billing documentation says each request is rounded up to the nearest cent, so very small jobs can have a higher effective per-page cost than the rate-card division suggests.

There are documentation conflicts worth resolving before a forecast. Older welcome copy still mentions a one-time $5 credit, while billing and the live rate card list recurring $20 or $10 allowances. Official pages also disagree on free-tier rate limits and some bounding-box prices. Put expected parameters through Datalab's quote or cost-breakdown response, set API-key spend caps, and confirm the current commercial schedule in writing.

Security, Privacy, and Deployment

Datalab's security documentation says results expire one hour after processing and use of customer documents for model improvement is opt-in. That is more concrete than the phrase “zero retention”: files and results still need to be processed, and the customer must retrieve the result before expiry. Keep training opt-in disabled for confidential material unless the data owner has explicitly approved the changed retention terms.

The vendor's security and billing documentation state that it has completed a SOC 2 Type II audit and offers BAA/DPA access on qualifying plans. These are vendor assertions, not an audit performed for this review. A regulated buyer should obtain the current report, DPA or BAA, subprocessor list, incident terms, deletion behavior, support-access controls, and regional data-flow diagram before approval.

Operational controls include TOTP for accounts, Team-wide MFA enforcement, per-key spend limits, key rotation, and EU processing. Team MFA does not protect API keys, so create separate keys for development, staging, and production and give each the smallest practical spend ceiling. For EU processing, the changelog says inference endpoints require a file_url or pre-uploaded datalab:// reference; multipart uploads directly to those endpoints do not support processing_location. The separate file-upload endpoint can store a file in EU infrastructure first.

The official webhook pages currently conflict. The security guide demonstrates an HMAC signature header, while the dedicated webhook guide describes a shared secret inside the JSON body and warns that full payload logging can expose it. Confirm the actual production payload in a staging integration. In either case, require HTTPS, compare secrets in constant time where applicable, deduplicate by request ID, restrict the receiver's permissions, and retrieve the result with a server-held API key.

Paid on-premises deployment is not feature-equivalent self-hosted Datalab. The on-premises API matrix currently limits inputs to PDFs and images and omits cloud features including form filling, segmentation, checkpoints, thumbnails, and some processing modes. Structured extraction requires the Chandra and Lift configuration and supports a different mode set.

The container also has no built-in API authentication: the documentation says the X-API-Key value is ignored. Put it on a private network behind a TLS reverse proxy with authentication and authorization. Datalab's on-premises overview places these deployments under an Enterprise contract and commercial license, with deployment, support, and air-gap terms negotiated separately.

Marker Licensing Is Split Between Code and Weights

Marker's source code uses the Apache 2.0 license. Its model weights do not. The repository's MODEL_LICENSE is a modified AI Pubs OpenRAIL-M license.

The model license restricts non-personal, nonresearch use when the user, employer, or affiliated entity exceeded $5 million in prior-year gross revenue or total funding, and it separately restricts use in a product or service that competes with the licensor. It also contains attribution and share-alike language that reaches model derivatives and output. This summary is not legal advice; read the actual file and obtain counsel before embedding the weights in a commercial product.

Official Datalab pages are inconsistent here too. The Marker repository uses the $5 million threshold and Apache 2.0 code license, while the on-premises comparison describes the combined open-source projects as intended for startups below $2 million and summarizes their licensing as “GPL + custom RAILs.” For Marker specifically, use the license files shipped with the exact code and weights you deploy, then ask Datalab to resolve any conflict in writing.

The bundled Marker server needs a separate security decision. Version 2.0's server source has no authentication dependency, accepts a caller-provided file path, and builds an upload path from the supplied filename. Open issue #1058 and issue #1059 report local-file-read and path-traversal risks. Those issue demonstrations originally target an older release, but the relevant patterns remain visible in the tagged v2 source. Do not expose the helper server to untrusted networks; bind it privately and add authentication, path containment, generated upload names, size limits, sandboxing, TLS, and least-privilege storage if adapting it.

Pros

  • One managed surface for several document operations. Conversion, schema extraction, segmentation, form filling, and versioned processors can share a platform; checkpoints can be reused across documented conversion, extraction, and segmentation flows.
  • Useful output choices. Markdown, HTML, JSON, and chunks cover human-readable conversion, structured processing, and retrieval pipelines.
  • Provenance features. Block IDs, citations, and optional bounding boxes can support a source-linked review experience.
  • Low-commitment hosted evaluation. The current free allowance and pay-as-you-go path make a representative proof of concept possible before a Team contract.
  • A local experimentation path exists. Marker can keep conversion on controlled infrastructure when its model license, runtime, and feature set fit the organization.
  • Published operational documentation. Datalab exposes changelogs, rate details, on-premises parity gaps, retention behavior, and deployment caveats that buyers can evaluate.

Cons

  • Cloud, paid on-premises, and Marker are not feature-equivalent. A prototype can require architectural changes when moved between them.
  • Pricing is additive and partly variable. Multi-step pipelines pay for each processor, and some extraction and form-filling workloads can exceed the base rate.
  • Official pages conflict on several current details. Free credits, rate limits, bounding-box pricing, webhook verification, and open-source license summaries require confirmation.
  • Hosted model changes can alter output. General model pinning is an Enterprise feature, so regression testing is part of normal operation.
  • Marker weights carry meaningful restrictions. Apache-licensed code does not make the full model stack unrestricted for commercial use.
  • Local operation has real infrastructure cost. GPU inference, llama.cpp or vLLM, model downloads, worker isolation, queueing, monitoring, and upgrades remain the customer's work.
  • Repository issues describe silent-failure modes. Individual reports are not prevalence data, but they make completeness checks and human review nonoptional for consequential documents.

Who Is Datalab Best For?

Datalab is best suited to product and platform teams that need more than raw OCR and want to ship a document workflow without operating every parsing model. Strong candidates include RAG ingestion with page provenance, invoice or statement extraction with review citations, mixed document-packet segmentation, form population, and tracked-change workflows.

The hosted service is the simplest fit when documents may be processed by a vendor, per-page costs are acceptable, and the buyer can obtain the required contractual controls. The paid on-premises product is relevant when data must remain in controlled infrastructure and the organization can support its GPU, proxy, authentication, monitoring, and commercial-license requirements.

Marker is the better Datalab-family option for research, evaluation, and local conversion when its narrower feature set is enough and the model license permits the intended use. It is not a drop-in, self-hosted copy of the full Datalab platform.

Datalab is a weaker fit when the team needs a stable open-source interface with permissive model weights, a fully offline low-resource runtime, a prebuilt industry processor already available from its cloud provider, or a managed human-review product. It is also a poor fit if the workflow has no owner for evaluation, exception handling, spend monitoring, and data governance.

Limitations and Alternatives

The first limitation is evidence. Datalab's benchmark and throughput numbers are vendor-run, even when the benchmark is third-party. Open issues show possible failure modes, not how frequently they occur. The only reliable selection process is a version-pinned bake-off on documents representative of production.

Docling is a strong self-hosted alternative for teams that want an MIT-licensed conversion library, a structured document object, and local or air-gapped operation. Its repository warns that individual models have their own licenses, so the full dependency graph still needs review.

Unstructured offers both an Apache-licensed partitioning library and a separate managed API. The open-source partitioning guide documents fast, high-resolution, and OCR strategies and even notes multi-column ordering limitations. It is a useful comparison when semantic element types and downstream chunking matter.

LlamaParse is a managed, retrieval-oriented alternative with multiple quality and cost tiers, caching controls, and an Enterprise bring-your-own-cloud option. Its current tier guide makes it easier to compare fast text extraction with agentic parsing, but the service is not the same thing as the open-source LlamaIndex SDK.

Mistral OCR is a managed alternative when per-page Markdown, tables, block labels, and confidence signals fit the workflow. OCR 4.1 is currently a public-preview commercial model, not a downloadable open-weight parser, and its file-retention and annotation limits differ from Datalab's.

Google Document AI, Azure Document Intelligence, and AWS Textract deserve priority when the team already standardizes on that cloud or needs a supported prebuilt processor for forms, invoices, IDs, expenses, or tables. They are not direct Markdown-parser equivalents, and each feature can have a separate per-page rate. Their identity, region, logging, key-management, and private-network integrations may outweigh parser leaderboard differences for regulated workloads.

For every candidate, measure missing text, invented text, reading order, table and formula fidelity, image coverage, field-level precision and recall, latency percentiles, retry behavior, review rate, and effective cost per approved document. Keep at least one parser or manual fallback for documents that fail completeness checks.

Verdict

Datalab is a credible managed document-processing option when a team needs conversion and downstream document operations behind one API. Its strongest architectural advantage is not a single OCR score; it is the ability to convert, checkpoint, extract against versioned schemas, segment packets, preserve source provenance, and assemble reusable pipelines without operating each model separately.

The recommendation is conditional. Start with a representative corpus and one measurable workflow. Compare Datalab cloud with at least one managed alternative and one self-hosted option. Validate omissions as aggressively as incorrect fields, record all processor and add-on charges, test webhook and retry behavior, and have security and legal reviewers examine the actual deployment and license terms.

Choose hosted Datalab when managed breadth and fast integration matter most. Choose paid on-premises only after confirming its narrower feature matrix, hardware, network controls, telemetry, and contract. Choose Marker when local conversion is enough and its model license is acceptable. None of those choices replaces deterministic validation or a human path for high-impact exceptions.

Sources

  • Datalab API overview — official endpoints, request lifecycle, formats, modes, checkpoints, result expiration, and parameters; accessed August 29, 2026.
  • Datalab pricing — official live plans, processor rates, variable-fee notes, EU premium, and add-ons; pricing verified August 29, 2026.
  • Datalab billing — official allowances, additive billing, Team plan, rounding, and page definitions; accessed August 29, 2026.
  • Datalab security — official account controls, key management, retention, training consent, network guidance, and webhook example; accessed August 29, 2026. Claims were not independently audited for this review.
  • Datalab webhooks — official delivery, retry, deduplication, and shared-secret behavior; accessed August 29, 2026.
  • Datalab changelog — official hosted and on-premises product changes through July 17, 2026; accessed August 29, 2026.
  • Datalab version policy — official API compatibility and hosted model-update policy; accessed August 29, 2026.
  • Datalab on-premises overview and API matrix — official commercial terms, deployment positioning, authentication gap, inputs, modes, and feature parity; accessed August 29, 2026.
  • Marker repository and Marker 2.0.0 release — official features, installation, runtime, benchmark disclosure, breaking changes, and July 20, 2026 release.
  • Marker code license and model license — official Apache 2.0 code terms and modified OpenRAIL-M weight terms; accessed August 29, 2026.
  • Marker v2 server source, issue #1058, and issue #1059 — official source plus open user-reported server security concerns; issue reports are not independent audits.
  • Marker issue #1066 — open challenge to the MinerU configuration in Datalab's published comparison; accessed August 29, 2026.
  • Marker issue #1069 and issue #1081 — open Marker 2.0 user reports covering silent truncation and invented or omitted text; not treated as prevalence evidence.
  • Ai2 olmOCR-bench — third-party benchmark framework used for Datalab's Marker run; accessed August 29, 2026.
  • Docling, Unstructured, LlamaParse, and Mistral OCR 4.1 — official alternative-project and product documentation; accessed August 29, 2026.