Skip to content
A

API LLM OCR

PDF to markdown using vision LLMs — tables, layouts, and structure preserved

by yigitkonurFree

#2151in AI
0In stores

Description

api-llm-ocr converts PDFs to markdown by using vision language models to read the pages. The readme describes it as not traditional OCR: the…

Highlights

  • Vision LLM reading of PDFs, not traditional OCR
  • Tables, headers and mixed layouts kept as markdown
  • Parallel processing with configurable pages per request
  • Retries with backoff for rate limits and timeouts
  • File upload or URL input
  • Works with any OpenAI-compatible vision API

Ratings & Reviews

No ratings yet

Be the first to rate API LLM OCR.

People also visit

M

MinerU-Skill

AI-Native document parser: PDF, Office & images → clean Markdown

AI
Launch
P

PDF to Markdown

Fast PDF parsing into developer-friendly Markdown

AI
Launch
D

Doc7

Turn documents into AI-ready Markdown with visual understanding

AI
Launch
P

PDFtoMD

Convert PDFs to clean Markdown with AI OCR, no sign-up needed

AI
Launch
A

Anymd

Any file → clean Markdown for AI agents: PDF, Word, PowerPoint, Excel, EPUB

AI
Launch
P

PDF to MD Converter

Free PDF to MD converter with free credits for logged-in users

AI
Launch

API LLM OCR FAQ

What does it do?

It converts PDFs to structured markdown by having a vision model read the pages, which keeps tables and layouts intact.

How much does it cost to run?

The readme estimates about 1,500 tokens per page. Using OpenAI as an example, it lists roughly $15 per 1,000 pages for GPT-4o, about $8 for GPT-4o mini and about $4 with the batch API.

Can I use other models?

Yes. It works with any OpenAI-compatible vision API. You swap the endpoint and model in the configuration.

How do I run it?

Install it, create a .env file with your settings and start it. The API listens on 127.0.0.1 port 8000 and serves its docs at /docs.

What do the error codes mean?

200 is success, 400 is a bad request, 422 a validation error, 429 a rate limit, 500 a processing error, and 504 a timeout downloading the PDF.

What are the best API LLM OCR alternatives?

Popular alternatives to API LLM OCR include MinerU-Skill, PDF to Markdown and Doc7. See all API LLM OCR alternatives

Developer Stuff

Badges