Data · best for
Best AI model for Table Extraction from PDFs (2026)
Pulling structured tables out of complex documents. Ranked from 346 live models on the OpenRouter catalog, weighted for vision input, structured output, context window.
| # | Model | Score | In / 1M | Out / 1M | Context | |
|---|---|---|---|---|---|---|
| 1 | Qwen: Qwen3.6 Plusqwen/qwen3.6-plus | 131 | $0.33 | $1.95 | 1,000,000 | Try → |
| 2 | xAI: Grok 4.20x-ai/grok-4.20 | 131 | $2.00 | $6.00 | 2,000,000 | Try → |
| 3 | OpenAI: GPT-5.4 Nanoopenai/gpt-5.4-nano | 131 | $0.20 | $1.25 | 400,000 | Try → |
| 4 | OpenAI: GPT-5.4 Miniopenai/gpt-5.4-mini | 131 | $0.75 | $4.50 | 400,000 | Try → |
| 5 | OpenAI: GPT-5.4openai/gpt-5.4 | 131 | $2.50 | $15.00 | 1,050,000 | Try → |
| 6 | Google: Gemini 3.1 Flash Lite Previewgoogle/gemini-3.1-flash-lite-preview | 131 | $0.25 | $1.50 | 1,048,576 | Try → |
| 7 | Qwen: Qwen3.5-Flashqwen/qwen3.5-flash-02-23 | 131 | $0.07 | $0.26 | 1,000,000 | Try → |
| 8 | Google: Gemini 3.1 Pro Preview Custom Toolsgoogle/gemini-3.1-pro-preview-customtools | 131 | $2.00 | $12.00 | 1,048,576 | Try → |
| 9 | OpenAI: GPT-5.3-Codexopenai/gpt-5.3-codex | 131 | $1.75 | $14.00 | 400,000 | Try → |
| 10 | Google: Gemini 3.1 Pro Previewgoogle/gemini-3.1-pro-preview | 131 | $2.00 | $12.00 | 1,048,576 | Try → |
| 11 | Qwen: Qwen3.5 Plus 2026-02-15qwen/qwen3.5-plus-02-15 | 131 | $0.26 | $1.56 | 1,000,000 | Try → |
| 12 | Google: Gemini 3 Flash Previewgoogle/gemini-3-flash-preview | 131 | $0.50 | $3.00 | 1,048,576 | Try → |
| 13 | OpenAI: GPT-5.2openai/gpt-5.2 | 131 | $1.75 | $14.00 | 400,000 | Try → |
| 14 | xAI: Grok 4.1 Fastx-ai/grok-4.1-fast | 131 | $0.20 | $0.50 | 2,000,000 | Try → |
| 15 | OpenAI: GPT-5.1openai/gpt-5.1 | 131 | $1.25 | $10.00 | 400,000 | Try → |
How we ranked these
For Table Extraction from PDFs, we weight models on vision input, structured output, context window. Higher means better. Scores combine OpenRouter's model metadata (context length, modality support, tool calling, structured output, reasoning capability) with public pricing. See full methodology →
Related tasks
Data
Best for Data Analysis
Exploring datasets, drawing conclusions, computing summary stats.
Data
Best for CSV / Spreadsheet Cleanup
Normalizing messy tabular data with consistent fields.
Data
Best for ETL Scripting
Writing extract-transform-load pipelines.
Data
Best for JSON Extraction
Pulling structured fields out of unstructured text.
Data
Best for Bulk Data Labeling
Cheaply tagging thousands of items with consistent labels.
Data
Best for OCR / Document Parsing
Reading text out of images, PDFs, and scanned documents.