TryLLMCost
All 20 Calculators/Agent & SaaS Workloads
Document Processing Cost

PDF Summarizer & Long-Document LLM Cost Calculator

Estimate token counts (~500–700 tokens per dense PDF page) and compare exact per-document API cost across 128k and 1M-context LLMs.

Reference public API rates (2025–2026) — editable inline
35 tok
73 tok
~810 tok
0%
0–90%
Async Batch API (24h SLA)
Live Token EstimatorEnglish Prose
OpenAI (o200k)
107
Claude (~1.08x)
116
Gemini (~1.03x)
110
Input Words
72
Characters
473
Out Tokens
810
Cheapest Match (1k calls):Llama 3.1 8B Instant (Groq) · $0.04
#Model & ProviderContext / SpeedInput $/1M (edit)Output $/1M (edit)Cached $/1M1 Call1,000 Calls100,000 Callsvs GPT-4o
1
Llama 3.1 8B Instant (Groq)
Meta (Groq)·Fast / Budget
128K ctx
560 tok/s
N/A$0.000037$0.04$3.68-99%
2
Gemini 2.0 Flash-LiteFocus
Google·Fast / Budget
1.0M ctx
210 tok/s
$0.019$0.0001$0.13$12.92-97%
3
Mistral Small 3.1
Mistral·Fast / Budget
128K ctx
150 tok/s
N/A$0.0001$0.14$13.83-97%
4
Llama 4 Scout 17B (Groq)
Meta (Groq)·Fast / Budget
131K ctx
460 tok/s
N/A$0.0001$0.15$14.92-96%
5
GPT-4.1 nano
OpenAI·Fast / Budget
1.0M ctx
170 tok/s
$0.025$0.0002$0.17$16.73-96%
6
GPT-4o mini
OpenAI·Fast / Budget
128K ctx
135 tok/s
$0.075$0.0003$0.25$25.10-94%
7
Gemini 2.5 FlashFocus
Google·Balanced
1.0M ctx
165 tok/s
$0.037$0.0003$0.26$25.85-94%
8
Llama 3.3 70B (Groq)
Meta (Groq)·Balanced
128K ctx
280 tok/s
N/A$0.0004$0.37$36.92-91%
9
Llama 4 Maverick (Together)
Meta (Together)·Balanced
1M ctx
140 tok/s
N/A$0.0004$0.37$37.28-91%
10
Grok 3 Mini
xAI·Reasoning
131K ctx
155 tok/s
$0.075$0.0004$0.45$44.57-89%
11
DeepSeek V3 (Chat)
DeepSeek·Balanced
128K ctx
68 tok/s
$0.070$0.0005$0.47$46.90-89%
12
GPT-4.1 miniFocus
OpenAI·Fast / Budget
1.0M ctx
115 tok/s
$0.10$0.0007$0.67$66.94-84%
13
DeepSeek R1
DeepSeek·Reasoning
128K ctx
54 tok/s
$0.14$0.0009$0.93$93.44-78%
14
Amazon Nova Pro (Bedrock)
Amazon·Balanced
300K ctx
98 tok/s
$0.20$0.0014$1.39$139.16-67%
15
Claude 3.5 Haiku
Anthropic·Fast / Budget
200K ctx
120 tok/s
$0.080$0.0018$1.80$179.64-57%
16
OpenAI o4-mini
OpenAI·Reasoning
200K ctx
95 tok/s
$0.28$0.0018$1.84$184.09-56%
17
Mistral Large 2
Mistral·Frontier
128K ctx
65 tok/s
N/A$0.0028$2.77$276.60-34%
18
GPT-4.1Focus
OpenAI·Frontier
1.0M ctx
78 tok/s
$0.50$0.0033$3.35$334.70-20%
19
OpenAI o3
OpenAI·Reasoning
200K ctx
52 tok/s
$0.50$0.0033$3.35$334.70-20%
20
GPT-4o
OpenAI·Frontier
128K ctx
85 tok/s
$1.25$0.0042$4.18$418.38Baseline
21
Gemini 2.5 Pro
Google·Reasoning
1.0M ctx
88 tok/s
$0.31$0.0042$4.24$423.88+1%
22
Claude Sonnet 4Focus
Anthropic·Frontier
200K ctx
72 tok/s
$0.30$0.0067$6.74$673.65+61%
23
Claude 3.7 Sonnet
Anthropic·Frontier
200K ctx
75 tok/s
$0.30$0.0067$6.74$673.65+61%
24
Grok 3
xAI·Frontier
131K ctx
74 tok/s
$0.75$0.01$12.72$1,271.70+204%
25
Claude Opus 4
Anthropic·Frontier
200K ctx
42 tok/s
$1.50$0.03$33.68$3,368.25+705%

Tip: Click any Input or Output $/1M cell to test custom enterprise discounts, Bedrock/Vertex tiers, or Gemini 2.5 Pro >200k long-context rates inline.

Key Cost Benchmarks & Pricing Dynamics

Tokens Per PDF Page
~500 – 750 Tokens

A 100-page dense legal/financial PDF typically extracts to 55,000–75,000 input tokens.

100-Page PDF Cost Range
$0.005 to $0.25 / Doc

Gemini 2.5 Flash summarizes a 60k-token PDF for ~$0.01; Claude Sonnet 4 costs ~$0.20; Batch API cuts both in half.

1M Context Eliminates Map-Reduce
Single-Pass Synthesis

Models like Gemini 2.5 Flash/Pro and GPT-4.1 ingest 500-page PDFs in one call without chunking artifacts.

Focused Models in This Calculator

Gemini 2.5 FlashGoogle
Input/1M
$0.15
Output/1M
$0.60
Cached/1M
$0.037
1.0M context~165 tok/s

High-margin SaaS agents, RAG synthesis, fast multimodal

Gemini 2.0 Flash-LiteGoogle
Input/1M
$0.075
Output/1M
$0.30
Cached/1M
$0.019
1.0M context~210 tok/s

Massive-scale batch classification, translation, ETL

GPT-4.1 miniOpenAI
Input/1M
$0.40
Output/1M
$1.60
Cached/1M
$0.10
1.0M context~115 tok/s

High-volume agents, classification, extraction

GPT-4.1OpenAI
Input/1M
$2.00
Output/1M
$8.00
Cached/1M
$0.50
1.0M context~78 tok/s

Coding, 1M-context RAG, instruction following

Claude Sonnet 4Anthropic
Input/1M
$3.00
Output/1M
$15.00
Cached/1M
$0.30
200K context~72 tok/s

Autonomous coding agents, editorial writing, tool use

Production FinOps Optimization Playbook

Use Batch API for Overnight Document Backfills

Processing 10,000 archived PDFs via OpenAI, Anthropic, or Gemini Batch API immediately slashes your bill by 50%.

Cache the PDF When Users Ask Follow-Up Questions

For 'Chat with PDF' apps, cache the entire extracted PDF text on turn 1 so turns 2–10 cost 75%–90% less.

Extract Text Locally Before Sending Vision Pages

Sending PDF pages as high-res images consumes 1,000–2,000+ vision tokens per page. Use text extraction for standard PDFs and reserve vision only for scanned tables/charts.

Frequently Asked Questions

How many tokens is a 100-page PDF?

Depending on layout density, a 100-page text PDF averages 50,000 to 75,000 tokens (roughly 375–550 words per page x 1.35 tokens/word).

What is the cheapest model to summarize long PDFs?

Gemini 2.0 Flash-Lite ($0.075/$0.30) and Gemini 2.5 Flash ($0.15/$0.60) both support 1M-token inputs, summarizing a 60k-token PDF for under one cent.

Does passing a PDF as images cost more than extracted text?

Yes—multimodal image tokenization often uses 2x–3x more input tokens per page than clean text extraction, though vision improves accuracy on complex financial charts.

Which model is best for complex legal PDF redlining?

Claude Sonnet 4, GPT-4.1, and Gemini 2.5 Pro lead on nuanced legal extraction; use Gemini 2.5 Flash to pre-screen documents and escalate flagged clauses.

Transparent SaaS Pricing

Free Forever Calculator. Upgrade When Spend Scales.

Model 25 LLMs with zero login today. Upgrade to Pro or Team for automated API price-drop alerts, saved CFO scenarios, and live usage overrun guards.

Free

No Signup
$0/ forever

Everything you need for architecture sizing, prompt tokenization, and SaaS margin checks.

  • Unlimited comparisons across 25+ models
  • Live client-side prompt token counter (EN/Code/CJK)
  • Prompt caching (0–90%) & Batch API 50% toggles
  • AI Agent & SaaS Gross Margin Simulator
  • 80/20 Model Routing Optimizer + inline rate edits
  • Unlimited CSV financial exports
Use Free Calculator Now
Most Popular

Pro

Founders & PMs
$15/ month

Never get blindsided by provider price changes or margin erosion across investor reviews.

  • Everything in Free, plus cloud-saved scenarios
  • Compare multiple multi-agent architecture versions
  • Weekly API price-drop & new-model email alerts
  • 1-click branded CFO / Board Deck PDF export
  • Custom enterprise discount profiles (AWS/Vertex/OpenAI)
  • Historical token price tracker & depreciation notices

Team

Live Guardrails
$39/ month

Connect real production token telemetry and catch runaway agent loops before the bill lands.

  • Everything in Pro for up to 10 team seats
  • Zero-latency live usage telemetry proxy endpoint
  • Real-time Slack & webhook budget overrun alerts
  • Per-customer / per-tenant gross margin leaderboard
  • Automatic anomaly detection on infinite agent loops
  • Scheduled weekly FinOps digest to #ai-infra