Scanned PDF OCR & Structured Extraction Cost Calculator

Invoice processing, contract review, and financial table extraction combine OCR / layout reconstruction with downstream LLM structured extraction. Running high-accuracy PDF-to-Markdown cleanup first—and batching asynchronous extraction jobs—avoids sending high-res page images repeatedly to expensive flagship models.

Preset baseline: 500 documents/day (~15,000 docs/month), 12,000 avg input tokens (extracted Markdown + schema prompt), 1,500 avg output tokens (structured JSON/summary), 20% cache hit on shared extraction schema, 50% asynchronous Batch API.

1. Usage

Daily usage is converted using a 30-day month.

Passing raw PDF, Word, or HTML? Converting to clean Markdown typically trims input tokens by 35%–60%: toolkit.fun/document-to-markdown

20%

Channels without a published cache price use the regular input price.

50%

Assumes the common 50% Batch discount; confirm channel eligibility before use.

15K
requests/mo
180M
input/mo
22.5M
output/mo
2. Models and region
Gemini 4 CarbonGPT 5.6 SolDeepSeek V4.1 Flash (1017)Claude Sonnet 5.54/4

Monthly cost comparison

Paid channels are sorted by USD-normalised monthly cost.

1 zero-priced channels

Free channels usually have rate or usage limits, so they are listed separately from the paid ranking.

DeepSeek V4.1 Flash (1017) · OpenCode Zen
ModelChannelInput priceOutput priceCacheEst. monthlyVisit
DeepSeek V4.1 Flash (1017)词元所China¥0.74/1M¥2.96/1M¥0.01$18.88Lowest paid¥130.27 nativeBatch saved ¥43.42
DeepSeek V4.1 Flash (1017)OpenCode GoGlobal$0.15/1M$0.60/1M$0.00$26.41USD normalisedBatch saved $8.80
DeepSeek V4.1 Flash (1017)Fireworks AIGlobal$0.30/1M$1.20/1M$0.01$52.81USD normalisedBatch saved $17.60
DeepSeek V4.1 Flash (1017)DeepSeekChina$0.30/1M$1.20/1M$0.01$52.81USD normalisedBatch saved $17.60
DeepSeek V4.1 Flash (1017)Vercel AI GatewayGlobal$0.30/1M$1.20/1M$0.01$52.84USD normalisedBatch saved $17.61
GPT 5.6 SolXiuRouterGlobal$0.28/1M$1.40/1M$0.03$54.62USD normalisedBatch saved $18.21
DeepSeek V4.1 Flash (1017)Together AIGlobal$0.30/1M$1.20/1M—$60.75USD normalisedBatch saved $20.25
Claude Sonnet 5.5XiuRouterGlobal$0.60/1M$3.00/1M$0.03$116.24USD normalisedBatch saved $38.75
Claude Sonnet 5.5OpenRouterGlobal$1.00/1M$5.00/1M$0.05$193.73USD normalisedBatch saved $64.58
GPT 5.6 SolXycAiChina¥6.56/1M¥39.33/1M¥0.66$201.35¥1,389.33 nativeBatch saved ¥463.11
Gemini 4 CarbonXycAiChina¥8.28/1M¥41.40/1M¥0.41$232.47¥1,604.04 nativeBatch saved ¥534.68
Gemini 4 CarbonOpenRouterGlobal$2.00/1M$10.00/1M$0.10$387.45USD normalisedBatch saved $129.15
Claude Sonnet 5.5OpenRouterGlobal$2.00/1M$10.00/1M$0.10$387.45USD normalisedBatch saved $129.15
Claude Sonnet 5.5AnthropicGlobal$2.00/1M$10.00/1M$0.10$387.45USD normalisedBatch saved $129.15
Gemini 4 CarbonGoogle Vertex AIGlobal$4.00/1M$20.00/1M$0.10$772.20USD normalisedBatch saved $257.40
Gemini 4 CarbonOpenRouterGlobal$4.00/1M$20.00/1M$0.20$774.90USD normalisedBatch saved $258.30
Gemini 4 CarbonVercel AI GatewayGlobal$4.00/1M$20.00/1M$0.20$774.90USD normalisedBatch saved $258.30
Gemini 4 CarbonGemini(Google)Global$4.00/1M$20.00/1M$0.20$774.90USD normalisedBatch saved $258.30
GPT 5.6 SolAzure OpenAIGlobal$4.00/1M$20.00/1M$0.40$780.30USD normalisedBatch saved $260.10
GPT 5.6 SolOpenRouterGlobal$5.00/1M$30.00/1M$0.50$1,059.75USD normalisedBatch saved $353.25

The Batch discount is a scenario assumption, not a claim that every channel supports it. Confirm provider rules before purchasing.

Scenario frequently asked questions

Why separate PDF OCR / table cleanup from downstream LLM extraction?

Sending raw page images directly into a flagship LLM bills hundreds to thousands of image tokens per page on every re-prompt or schema tweak. Converting once into clean structured Markdown (with high-accuracy table and OCR handling) lets you re-run cheaper text extraction and RAG queries repeatedly.

How does the 50% Batch setting affect extraction budgets?

Back-office document pipelines (overnight invoice ingestion, quarterly report indexing, contract archives) rarely need sub-second latency. Eligible asynchronous Batch APIs on OpenAI, Anthropic, and Google offer up to 50% off standard token rates.

When do I need high-accuracy OCR versus standard text-layer PDF conversion?

Standard text-layer PDFs, DOCX files, and web articles convert cleanly without vision OCR. Use high-accuracy mode when PDFs contain scanned image pages, two-column research layouts, or dense multi-column financial tables where naive extractors scramble columns.