Available Pipelines

August 7, 2026 ยท View on GitHub

To see the full list:

uv run extract-bench pipelines

Extract Pipelines (ExtractBench)

Extraction pipelines run per split over the ExtractBench dataset:

uv run extract-bench download
uv run extract-bench run <pipeline_name>
PipelineProviderNotes
llamaextract_cost_effective / llamaextract_agenticLlamaExtract V2 APIword-grounded citations, via a parse at the same tier (LLAMA_CLOUD_API_KEY)
llamaextract_agentic_plusLlamaExtract V2 APIhighest tier; returns word-level citation boxes natively, no parse pass needed
llamaextract_cost_effective_standard_bbox / llamaextract_agentic_standard_bboxLlamaExtract V2 APIsame tiers with block-level citation boxes and no granular parse pass
openai_gpt_5_4_extract_oneshot_structured_output_file (+ _nano)OpenAI Responsesone-shot structured output over the uploaded file
gemini_3_5_flash_extract_oneshot_structured_output_fileGeminione-shot structured output
anthropic_haiku_4_5_extract_oneshot_structured_output_fileAnthropicone-shot structured output
*_extract_twostage_parse_agentic_structured_output_textOpenAI / Gemini / AnthropicLlamaParse agentic markdown โ†’ text extract; cost totals parse + extract
deepseek_v4_pro_extract_twostage_parse_agentic_structured_output_textDeepSeek (Fireworks)two-stage text extract
claude_code_extract_opus_4_8Claude Code CLIagentic extraction; cost from CLI total_cost_usd
codex_code_extract_gpt_5_4_low / codex_code_extract_gpt_5_5_low / codex_code_extract_gpt_5_5_highCodex CLIagentic extraction; cost estimated from token usage
reducto_extract / reducto_deep_extractReductodeep variant adds citations
extend_extract / extend_extract_maxExtendcitations enabled; max-context array strategy variant
landingai_extractLandingAI ADE
datalab_parse_accurate_extract_fast / _balancedDatalabaccurate parse + fast or balanced extraction, JSON tree citations
lift_extractSelf-hosted lift SDKrequires LIFT_ENDPOINT_URL
qwen3_6_35b_a3b_fp8_vllm_extract_oneshot_structured_output_fileSelf-hosted vLLMJSON Schema guided decoding; requires QWEN35_SERVER_URL
gemma4_26b_vllm_extract_oneshot_structured_output_fileSelf-hosted vLLMJSON Schema guided decoding; requires GEMMA4_SERVER_URL
nuextract3_extractSelf-hosted vLLMschema converted to a NuExtract template; requires NUEXTRACT3_SERVER_URL

Parse Pipelines

Parse pipelines (inherited from ParseBench, used here by the two-stage extract baselines and grounding cross-eval) can be run with:

uv run extract-bench run <pipeline_name>

Setup

Copy .env.example to .env and fill in the API keys / endpoints for the providers you want to use:

cp .env.example .env

Cloud API Pipelines

These pipelines use hosted APIs. You only need an API key in your .env file.

Bold pipelines are baselines evaluated in the ParseBench paper. The name used in the paper is shown in parentheses.

LlamaParse

PipelineDescriptionEnv Var
llamaparse_agenticAgentic tier (In paper: LlamaParse Agentic)LLAMA_CLOUD_API_KEY
llamaparse_cost_effectiveCost-effective tier (In paper: LlamaParse Cost Effective)LLAMA_CLOUD_API_KEY
llamaparse_agentic_plusAgentic plus tierLLAMA_CLOUD_API_KEY

OpenAI

PipelineDescriptionEnv Var
openai_gpt5_mini_reasoning_medium_parseGPT-5 Mini, medium reasoning, image modeOPENAI_API_KEY
openai_gpt5_mini_reasoning_medium_parse_fileGPT-5 Mini, medium reasoning, PDF file modeOPENAI_API_KEY
openai_gpt5_mini_reasoning_minimal_parseGPT-5 Mini, minimal reasoningOPENAI_API_KEY
openai_gpt5_mini_reasoning_minimal_parse_fileGPT-5 Mini, minimal reasoning, file modeOPENAI_API_KEY
openai_gpt5_mini_reasoning_medium_parse_with_layoutGPT-5 Mini, medium reasoning + layoutOPENAI_API_KEY
openai_gpt5_mini_reasoning_medium_parse_with_layout_fileGPT-5 Mini, medium reasoning + layout, file (In paper: OpenAI GPT-5 Mini (Reasoning Medium))OPENAI_API_KEY
openai_gpt5_mini_reasoning_minimal_parse_with_layoutGPT-5 Mini, minimal reasoning + layoutOPENAI_API_KEY
openai_gpt5_mini_reasoning_minimal_parse_with_layout_fileGPT-5 Mini, minimal reasoning + layout, file (In paper: OpenAI GPT-5 Mini (Reasoning Minimal))OPENAI_API_KEY
openai_gpt_5_4_parseGPT-5.4, image modeOPENAI_API_KEY
openai_gpt_5_4_parse_fileGPT-5.4, PDF file modeOPENAI_API_KEY
openai_gpt_5_4_parse_with_layout_fileGPT-5.4, parse + layout, file mode (In paper: OpenAI GPT-5.4)OPENAI_API_KEY

Anthropic Claude

PipelineDescriptionEnv Var
anthropic_haiku_parseClaude Haiku 4.5, image modeANTHROPIC_API_KEY
anthropic_haiku_parse_fileClaude Haiku 4.5, PDF file modeANTHROPIC_API_KEY
anthropic_haiku_parse_with_layoutClaude Haiku 4.5, parse + layoutANTHROPIC_API_KEY
anthropic_haiku_parse_with_layout_fileClaude Haiku 4.5, parse + layout, file mode (In paper: Anthropic Haiku 4.5 (Disable Thinking))ANTHROPIC_API_KEY
anthropic_haiku_thinking_parse_with_layout_fileClaude Haiku 4.5, extended thinking + layout (In paper: Anthropic Haiku 4.5 (Thinking))ANTHROPIC_API_KEY
anthropic_opus_4_6_parseClaude Opus 4.6, image modeANTHROPIC_API_KEY
anthropic_opus_4_6_parse_fileClaude Opus 4.6, PDF file modeANTHROPIC_API_KEY
anthropic_opus_4_6_parse_with_layout_fileClaude Opus 4.6, parse + layout, file mode (In paper: Anthropic Opus 4.6)ANTHROPIC_API_KEY
anthropic_opus_4_8_parse_with_layout_fileClaude Opus 4.8, parse + layout, file mode (In paper: Anthropic Opus 4.8)ANTHROPIC_API_KEY
anthropic_sonnet_5_parse_with_layout_fileClaude Sonnet 5, adaptive thinking + layout, file modeANTHROPIC_API_KEY
anthropic_fable_5_parse_with_layout_fileClaude Fable 5, parse + layout, file modeANTHROPIC_API_KEY

Google Gemini

PipelineDescriptionEnv Var
google_gemini_3_flash_lite_parseGemini 3 Flash Lite, image modeGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_lite_parse_fileGemini 3 Flash Lite, file modeGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_minimal_parseGemini 3 Flash, minimal thinkingGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_minimal_parse_fileGemini 3 Flash, minimal thinking, fileGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_high_parseGemini 3 Flash, high thinkingGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_high_parse_fileGemini 3 Flash, high thinking, fileGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_minimal_parse_with_layoutGemini 3 Flash, minimal thinking + layoutGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_high_parse_with_layoutGemini 3 Flash, high thinking + layoutGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_minimal_parse_with_layout_fileGemini 3 Flash, minimal thinking + layout file (In paper: Google Gemini 3 Flash (Thinking Minimal))GOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_high_parse_with_layout_fileGemini 3 Flash, high thinking + layout file (In paper: Google Gemini 3 Flash (Thinking High))GOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_minimal_parse_with_layout_agentic_visionAgentic vision, minimal thinkingGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_medium_parse_with_layout_agentic_visionAgentic vision, medium thinkingGOOGLE_GEMINI_API_KEY
google_gemini_3_flash_thinking_high_parse_with_layout_agentic_visionAgentic vision, high thinkingGOOGLE_GEMINI_API_KEY
google_gemini_3_1_flash_lite_parseGemini 3.1 Flash LiteGOOGLE_GEMINI_API_KEY
google_gemini_3_1_flash_lite_thinking_high_parseGemini 3.1 Flash Lite, high thinkingGOOGLE_GEMINI_API_KEY
google_gemini_3_1_pro_parseGemini 3.1 Pro, default thinkingGOOGLE_GEMINI_API_KEY
google_gemini_3_1_pro_parse_with_layout_fileGemini 3.1 Pro, parse + layout, file mode (In paper: Google Gemini 3.1 Pro)GOOGLE_GEMINI_API_KEY
google_gemini_3_5_flash_parse_with_layoutGemini 3.5 Flash, default thinking + layoutGOOGLE_GEMINI_API_KEY
google_gemini_3_5_flash_no_thinking_parse_with_layoutGemini 3.5 Flash, minimal thinking + layoutGOOGLE_GEMINI_API_KEY
google_gemini_3_5_flash_parse_with_layout_fileGemini 3.5 Flash, default thinking + layout, file mode (In paper: Google Gemini 3.5 Flash (Thinking Medium))GOOGLE_GEMINI_API_KEY
google_gemini_3_5_flash_no_thinking_parse_with_layout_fileGemini 3.5 Flash, minimal thinking + layout, file mode (In paper: Google Gemini 3.5 Flash (Thinking Minimal))GOOGLE_GEMINI_API_KEY
google_gemini_3_5_flash_lite_parse_with_layout_fileGemini 3.5 Flash Lite, layout + file mode (In paper: Google Gemini 3.5 Flash Lite)GOOGLE_GEMINI_API_KEY
google_gemini_3_6_flash_parse_with_layout_fileGemini 3.6 Flash, default thinking + layout, file mode (In paper: Google Gemini 3.6 Flash (Thinking Medium))GOOGLE_GEMINI_API_KEY
google_gemini_3_6_flash_no_thinking_parse_with_layout_fileGemini 3.6 Flash, minimal thinking + layout, file mode (In paper: Google Gemini 3.6 Flash (Thinking Minimal))GOOGLE_GEMINI_API_KEY

Azure Document Intelligence

PipelineDescriptionEnv Vars
azure_di_layoutLayout model (In paper: Azure Document Intelligence)AZURE_DOCUMENT_INTELLIGENCE_KEY, AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT
azure_di_readRead modelAZURE_DOCUMENT_INTELLIGENCE_KEY, AZURE_DOCUMENT_INTELLIGENCE_ENDPOINT

AWS Textract

PipelineDescriptionEnv Vars
aws_textractStandard Textract (In paper: AWS Textract)AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
aws_textract_with_formsTextract with formsAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
aws_textract_text_onlyTextract text onlyAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY

Google Document AI

PipelineDescriptionEnv Vars
google_docaiDocument AI OCRGOOGLE_DOCAI_PROJECT_ID, GOOGLE_DOCAI_PROCESSOR_ID
google_docai_layoutDocument AI Layout (In paper: Google Cloud Document AI)GOOGLE_DOCAI_PROJECT_ID, GOOGLE_DOCAI_LAYOUT_PROCESSOR_ID

Reducto

PipelineDescriptionEnv Var
reductoDefault Reducto (In paper: Reducto)REDUCTO_API_KEY
reducto_agenticAgentic mode (In paper: Reducto (Agentic))REDUCTO_API_KEY

Pulse

PipelineDescriptionEnv Var
pulseDefault model with native markdown output, /tables reconstruction on every document, no refinementPULSE_API_KEY
pulse_ultra_2pulse-ultra-2 hosted tier with native markdown output and refinement enabledPULSE_API_KEY

Chunkr

PipelineDescriptionEnv Var
chunkrDefault qualityCHUNKR_API_KEY
chunkr_high_resHigh resolutionCHUNKR_API_KEY

Datalab (Marker)

PipelineDescriptionEnv Var
datalab_fastFast modeDATALAB_API_KEY
datalab_balancedBalanced modeDATALAB_API_KEY
datalab_accurateAccurate modeDATALAB_API_KEY

Extend AI

PipelineDescriptionEnv Var
extend_parseDefault (In paper: Extend)EXTEND_API_KEY
extend_parse_22.0 engine (v2.0.0, GA)EXTEND_API_KEY
extend_parse_lightLight engine (v1.0.0)EXTEND_API_KEY
extend_parse_documentDocument scopeEXTEND_API_KEY
extend_parse_sectionSection scopeEXTEND_API_KEY

Landing AI

PipelineDescriptionEnv Var
landingai_parseDefault (In paper: LandingAI)LANDING_AI_API_KEY

Unstructured

PipelineDescriptionEnv Var
unstructured_autoAuto strategyUNSTRUCTURED_API_KEY
unstructured_fastFast strategyUNSTRUCTURED_API_KEY
unstructured_hi_resHi-res strategyUNSTRUCTURED_API_KEY

OpenInnovation Parser (oi-parser)

Hosted document-parsing API. Sign up at oi-parser.ai to get an API key.

PipelineDescriptionEnv Vars
oi_parseroi-parser hosted /v1/extract APIOI_PARSER_API_KEY, OI_PARSER_BASE_URL (optional)

Self-hosted Model Pipelines

These pipelines require you to deploy the model on your own infrastructure (e.g., via vLLM, Modal, etc.) and set the endpoint URL in .env.

Gemma 4

PipelineDescriptionEnv Var
gemma4_26b_vllmGemma 4 26B-A4B, parse modeGEMMA4_SERVER_URL
gemma4_26b_vllm_with_layoutGemma 4 26B-A4B, layout modeGEMMA4_SERVER_URL
gemma4_e4b_vllmGemma 4 E4B (dense 8B), parse modeGEMMA4_SERVER_URL
gemma4_e4b_vllm_with_layoutGemma 4 E4B, layout modeGEMMA4_SERVER_URL

Qwen3.5-4B

PipelineDescriptionEnv Var
qwen3_5_4b_vllm_parseParse mode, markdown (In paper: Qwen 3 VL)QWEN35_SERVER_URL
qwen3_5_4b_vllm_layoutLayout mode, JSON with bboxes (In paper: Qwen 3 VL)QWEN35_SERVER_URL

Chandra OCR 2

PipelineDescriptionEnv Var
chandra2_vllmOpenAI-compatible vLLM APICHANDRA2_SERVER_URL
chandra2_sdkOfficial SDK endpointCHANDRA2_SERVER_URL

DeepSeek-OCR-2

PipelineDescriptionEnv Var
deepseekocr2_vllmWith grounding layout detectionDEEPSEEKOCR2_SERVER_URL
deepseekocr2_freeocrFree OCR, no groundingDEEPSEEKOCR2_SERVER_URL

Granite Vision

PipelineDescriptionEnv Var
granite_vision_pipelinePP-DocLayout + per-region Granite VisionGRANITE_VISION_SERVER_URL
granite_vision_4_1_4bGranite Vision 4.1 4B (vLLM, multi-task)VLLM_API_KEY

PaddleOCR-VL

PipelineDescriptionEnv Var
paddleocr_vl_vllmOpenAI-compatible vLLM APIPADDLEOCR_SERVER_URL
paddleocr_vl_pipelineFull pipeline (layout + chart routing)PADDLEOCR_SERVER_URL
paddleocr_vl_1_6_vllmPaddleOCR-VL-1.6, OCR promptPADDLEOCR_SERVER_URL
paddleocr_vl_1_6_vllm_tablePaddleOCR-VL-1.6, table recognition promptPADDLEOCR_SERVER_URL
paddleocr_vl_1_6_pipelinePaddleOCR-VL-1.6, full pipeline (layout + routing)PADDLEOCR_SERVER_URL

dots.ocr

PipelineDescriptionEnv Var
dots_ocr_1_0_parsedots.ocr 1.0DOTS_OCR_ENDPOINT_URL
dots_ocr_1_5_parsedots.ocr 1.5, layout+text prompt (In paper: Dots OCR 1.5)DOTS_OCR_ENDPOINT_URL

Docling

PipelineDescriptionEnv Vars
docling_parseDocling HTTP endpoint (In paper: Docling)DOCLING_PARSE_ENDPOINT_URL, DOCLING_PARSE_API_KEY (optional)
docling_serveDocling Serve HTTP endpointDOCLING_SERVE_ENDPOINT_URL, DOCLING_SERVE_API_KEY (optional)

MinerU 2.5

PipelineDescriptionEnv Var
mineru25_vllmMinerU2.5-2509-1.2B vLLM server (two-step layout + recognition)MINERU25_SERVER_URL
mineru2605pro_vllmMinerU2.5-Pro-2605-1.2B vLLM server (adds chart/image analysis)MINERU2605PRO_SERVER_URL

MinerU-Diffusion

PipelineDescriptionEnv Var
mineru_diffusionMinerU-Diffusion-V1-0320-2.5B server (diffusion-decoding OCR, two-stage layout + recognition)MINERU_DIFFUSION_SERVER_URL

Nemotron-Omni

PipelineDescriptionEnv Var
nemotron_omni_30b_vllm_thinkingNemotron-3-Nano-Omni 30B-A3B Reasoning, thinking enabledNEMOTRON_OMNI_SERVER_URL

Surya OCR 2

PipelineDescriptionEnv Var
surya2_sdkSurya OCR 2 SDK server (full-page OCR + layout)SURYA2_SERVER_URL

Local Pipelines (No API key needed)

These run entirely locally with no external dependencies.

PipelineDescriptionRequirements
pypdf_baselinePyPDF text extractionNone
pymupdf_textPyMuPDF text extractionNone
pymupdf_htmlPyMuPDF HTML extractionNone
warp_ingestWarp-Ingest local parserwarp-ingest[ocr]>=2.0.1 installed
tesseract_engTesseract OCR (English)tesseract installed
tesseract_fastTesseract OCR (fast)tesseract installed
tesseract_high_qualityTesseract OCR (high quality)tesseract installed
infinity_parser2_flashInfinity-Parser2-Flash (vLLM server, JSON layout)infinity_parser2, running vLLM server
infinity_parser2_proInfinity-Parser2-Pro (vLLM server, JSON layout)infinity_parser2, running vLLM server

Layout Detection Pipelines

PipelineDescriptionRequirements
docling_layout_heronDocling Heron layoutSelf-hosted endpoint
docling_layout_heron_101Docling Heron 1.0.1Self-hosted endpoint
docling_layout_oldDocling legacy layoutSelf-hosted endpoint
ppdoclayout_plus_lPaddleDetection layoutSelf-hosted endpoint
qwen3vl_layoutQwen3-VL layoutSelf-hosted endpoint
surya_layoutSurya layout detectionsurya installed
yolo_doclaynetYOLO DocLayNetSelf-hosted endpoint