Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

OpenRouter publishes a guide to extracting PDF tables with LLMs

AI summary

OpenRouter published a guide on October 29, 2026, explaining how to send PDFs to file-reading LLMs with a strict JSON schema that produces typed table rows. In its first-party test of five PDFs, including two scans, every model that read the PDFs directly extracted all 644 cells correctly; the guide also covers OCR routing, empty results, output-token limits and cross-page tables.

In-depth insight

The guide provides a concrete implementation pattern and failure checks for structured PDF extraction, but its evidence comes from only five OpenRouter-generated PDFs.

How to Extract Tables from a PDF with an LLM

OpenRouter ·10/29/2026

How to Extract Tables from a PDF with an LLM
How to Extract Tables from a PDF with an LLM

To extract tables from a PDF with an LLM, send the PDF to a model that can read files, together with a strict JSON schema that describes one row of the table. The model returns typed rows. Quantities come back as integers, a loss written as (3,878) comes back as -3878, and a table that runs across two pages comes back as one list.

We tested this on five PDFs, two of them scans. Every model that read the PDF directly got all 644 cells right. The failures in our tests came from the route the PDF took to reach the model, and two of them returned a normal response with no error.

#OpenRouter#mistral-ocr#DeepSeek V4.1 Flash#Claude Haiku 5.5#GPT-6 Luna#Cloudflare AI

Original · 15 min readRead the original
Group chat

No comments yet. Start the conversation.