macrostack

Layer 4 · self-hosting reality check

What it actually takes to self-host Unstructured

The docs say 2 GB. In practice you want 8 GB with the high-resolution strategy. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.

Usually reached from AWS Textract alternatives, where Unstructured is one of the picks.

Wondering whether you need to at all? Is AWS Textract free? — what the free tier actually allows, and where the wall is.

RAM — documented minimum2 GB
RAM — what it really needs8 GB with the high-resolution strategy
CPU4 vCPU
DiskHeavy system dependencies — several GB before your documents
Monthly cost$0 for the open library; their hosted API is priced per page
Setup time2 hours, mostly fighting system dependencies
How you install itpip install, plus system packages: poppler, tesseract, libmagic and friends
Ongoing maintenanceModerate. The dependency surface is the maintenance.
Where it stops scalingParallelises well. Document complexity, not count, sets throughput.

The thing that catches people out

The `hi_res` strategy that produces good output needs OCR models and system libraries that pip cannot install for you, so the default `fast` strategy quietly produces much worse extraction — and the difference does not raise an error, it just yields worse chunks. Use their official container image rather than assembling dependencies by hand, and check which strategy actually ran.

When not to self-host Unstructured

You only handle PDFs. Docling does that better with a far lighter install; Unstructured earns its keep on format breadth.

Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.

Other Layer 4 self-hosting guides

Common questions

How much RAM does Unstructured actually need?
8 GB with the high-resolution strategy in practice. The documented minimum is 2 GB, which is the figure at which the process starts rather than the figure at which it works under real use. 4 vCPU alongside it.
What does self-hosting Unstructured cost per month?
$0 for the open library; their hosted API is priced per page This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for moderate. The dependency surface is the maintenance.
How long does it take to set up Unstructured?
2 hours, mostly fighting system dependencies, via pip install, plus system packages: poppler, tesseract, libmagic and friends.
When should I NOT self-host Unstructured?
You only handle PDFs. Docling does that better with a far lighter install; Unstructured earns its keep on format breadth.
What is the most common mistake when self-hosting Unstructured?
The `hi_res` strategy that produces good output needs OCR models and system libraries that pip cannot install for you, so the default `fast` strategy quietly produces much worse extraction — and the difference does not raise an error, it just yields worse chunks. Use their official container image rather than assembling dependencies by hand, and check which strategy actually ran.
The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.