OpenRouter shares a guide to extracting PDF tables with LLMs
The guide combines strict JSON schemas with file-reading models and checks for empty or truncated results. The authors tested five PDFs; those results do not guarantee accuracy on every document.