Independent AI Infrastructure Reference: VisionBench compiles published per-million-token multimodal pricing, per-1,000-page OCR rate cards, and image-generation API costs from official vendor documentation—not legal, HIPAA BAA, or procurement counsel. Always verify live regional rates and rate limits on each provider portal.

Primary-Source Playbook · Updated 2026-11-26

How Vision-LLM Image Tiling & Resolution Multipliers Drive API Cost

Key Takeaway: Exact token formulas for OpenAI 512×512 tiling, Anthropic (W×H)/750 scaling, and Google Gemini native PDF page tokenization—and how downscaling cuts bills 60%.

1. OpenAI High-Detail vs Low-Detail Tiling

In GPT-4o Vision, setting `detail: "low"` caps any image at a flat 85 input tokens regardless of dimensions—ideal for coarse classification or slide sorting. Setting `detail: "high"` scales the image into 512×512 pixel tiles, charging 170 tokens per tile plus 85 base tokens. A typical 150-DPI letter page resized to 1024×1536 consumes 6 tiles (1,105 tokens), whereas accidentally uploading raw 300-DPI 2550×3300 scans triggers automatic rescaling and maximizes tile counts needlessly.

2. Anthropic Pixel-Area Tokenization

Claude 3.7 and 3.5 Sonnet calculate vision tokens as roughly `(width × height) / 750`, automatically resizing images larger than 1,568 pixels on the longest edge so a single image generally tops out near 1,600 input tokens. Resizing monochrome scanned documents cleanly to ~1,092×1,092 (or ~900×1,200) before encoding eliminates redundant bandwidth and cuts input token burn without hurting legibility.

3. Gemini Native PDF & Video Tokenization

Unlike tile-only APIs, Gemini 2.5 Pro and Flash accept raw PDF byte streams and tokenize each page at a compact ~258 tokens (plus extracted layout cues) inside a 1M-token window. For a 100-page SEC 10-K filing (~25,800 input tokens), Gemini 2.5 Flash charges less than $0.008 in input tokens—dramatically cheaper than rasterizing 100 pages into 1,105-token high-detail PNG tiles.

4. Practical Pre-Flight Image Optimization Checklist

Always benchmark extraction F1 across 100-DPI, 150-DPI, and 200-DPI renders on a 100-page golden validation set before scaling. Crop blank margins, convert color office forms to clean grayscale JPEG/WebP (quality 80–85), and route simple text-layer PDFs through local `pypdf`/`pdfplumber` extraction ($0/page) before invoking paid vision endpoints only on scanned or table-heavy pages.

Verified Answers

How Vision-LLM Image Tiling & Resolution Multipliers Drive API Cost — FAQs

Which OCR API is cheapest per 1,000 pages for layout and table extraction?

For plain text OCR without layout preservation, Azure Document Intelligence Read, AWS Textract DetectDocumentText, and Google Enterprise OCR all start at $1.50 per 1,000 pages. For layout-aware Markdown and table extraction, Mistral OCR ($2.00–$4.00/1k standard; $1.00–$2.00/1k via Batch API) undercuts Azure Layout ($10/1k), Google Layout ($10/1k), AWS Tables ($15/1k), and AWS Forms ($50/1k).

How much do GPT-4o Vision, Gemini 2.5 Pro, Gemini 2.5 Flash, and Claude 3.7 Sonnet cost per 1M tokens?

Published standard API rates are: Gemini 2.5 Flash at $0.30 input / $2.50 output; Gemini 2.5 Pro at $1.25 input / $10.00 output (up to 200K context, scaling to $2.50 / $15.00 above 200K); GPT-4o at $2.50 input / $10.00 output ($1.25 cached input); and Claude 3.7 Sonnet at $3.00 input / $15.00 output ($0.30 cached read).

When should I use a dedicated OCR API instead of a Vision-LLM?

Use a dedicated OCR engine (Mistral OCR, Azure Document Intelligence, AWS Textract, Google Document AI) when you need flat per-page cost predictability, exact bounding-box coordinates for UI citation highlighting, or multi-million-page archival conversion. Use a Vision-LLM (Gemini 2.5, GPT-4o, Claude 3.7) when tasks require cross-page visual reasoning, chart interpretation, or zero-shot JSON schema inference.

How do open-weights vision models like Qwen2.5-VL and Llama 4 compare on cost?

Serverless API hosts price Meta Llama 4 Scout around $0.08–$0.15/1M input ($0.30–$0.60 output), Llama 4 Maverick around $0.15–$0.27 input ($0.60–$0.85 output), and Qwen2.5-VL-72B around $0.80–$1.95 input. Self-hosting on owned GPUs beats API pricing only when cluster utilization stays consistently high or when air-gapped data residency is mandatory.

How do image-generation API costs compare across GPT Image, FLUX, Ideogram, and Recraft V3?

OpenAI GPT Image bills via native multimodal tokens (~$0.025 low to ~$0.21 high quality per image); Black Forest Labs FLUX Pro/Kontext typically runs $0.01–$0.06/image; Ideogram ranges from ~$0.006 Turbo drafts up to ~$0.03–$0.12+ high-res renders; and Recraft V3 lists at ~$0.04 per raster image and ~$0.08 per native editable SVG vector.

Does VisionBench collect my API spend numbers or upload any documents?

No. Every calculator formula on visionbench.org runs 100% locally inside your browser with zero cookies, zero document uploads, and zero synthetic vendor ratings.