Zerox
OCR library that sends document page images to vision models and returns clean markdown output.
About
OmniAI's Zerox reduces OCR to its simplest possible form: rasterize each document page to an image, hand it to a frontier vision model, and collect markdown back. The approach handles layouts that break traditional OCR, including tables, charts, and mixed formatting, because the vision model reads the page the way a person would. It ships as both a Node package (npm install zerox) and a Python package (pip install py-zerox), with support for OpenAI GPT-4o and GPT-4o-mini, Azure OpenAI, AWS Bedrock Claude models, and Google Gemini, plus Anthropic and Vertex AI in the Python version. Provider API keys are required, so cost and privacy follow whichever model is chosen, and there is no fully offline path. Around 26 input formats are accepted, including PDF, DOCX, XLSX, PPTX, HTML, and images, with markdown returned per page for downstream chunking. The MIT license permits commercial use and the repository has about 12,300 stars, though commits slowed after mid-2025; OmniAI keeps a live demo at getomni.ai/ocr-demo. It became a default for quick LLM document ingestion where setup time matters more than per-page cost.
Should you use Zerox?
Pick it when
Choose Zerox when you need Markdown from awkward documents quickly in Node or Python, already pay for GPT-4o, Claude, or Gemini, and setup time matters more than per-page cost or keeping data in-house.
Look elsewhere when
Skip it if documents cannot go to a third-party model or volume makes per-page API costs add up; there is no offline path and commits slowed after mid-2025. olmOCR or dots.ocr run VLM page parsing on your own GPU.
Alternatives to Zerox
- MegaParse
Local parsing by default with vision models only for hard pages, cheaper at volume, but Python-only and no longer updated.
- olmOCR
Self-hosted 7B VLM under Apache-2.0 with no per-page API fees, but you need NVIDIA GPU capacity to run it.
- Docling
Fully local, free, and CPU-capable with layout and table models, trading frontier-model reading of odd layouts for privacy and zero API cost.
- Marker
Local Markdown conversion on GPU or CPU, avoiding API keys and data egress, but its weights need a paid license above 5 million dollars in revenue.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- OCR & Document Processing
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Easy (2/5)
- License
- MIT
- Added
- Jul 29, 2026