Key Takeaway: How Anthropic 90% cache reads, Gemini $0.03/1M context caching, OpenAI 50% cached inputs, and 24-hour Batch endpoints compound to slash recurring vision costs.
1. Stacking Batch API Discounts (50% Off Across Vendors)
OpenAI, Anthropic, Google Gemini, and Mistral all offer asynchronous Batch APIs with a 24-hour completion SLA at a flat 50% discount off synchronous rates. Backfill indexing, nightly invoice reconciliation, catalog tagging, and evaluation benchmarks should default to Batch endpoints rather than paying 2× for sub-second latency nobody watches.
2. Prompt Caching Mechanics for Repeated Schemas & Images
Whenever your pipeline passes a long taxonomy, 20-page extraction rubric, few-shot example images, or asks 15 sequential questions against the same 200-page PDF, prompt caching avoids paying full input rates repeatedly. Anthropic charges $0.30/1M on cache reads (90% off Claude 3.7 Sonnet $3.00 input), Gemini 2.5 Flash drops to $0.03/1M (90% off), and OpenAI discounts cached GPT-4o inputs 50% to $1.25/1M.
3. Structuring Prompts to Maximize Cache Hit Ratios
Place static system instructions, JSON schemas, and shared reference documents strictly at the beginning of the prompt prefix, and put variable page images or user queries at the very end. Any dynamic timestamp or randomized request ID placed in the system header invalidates the entire prefix cache and silently doubles your bill.
4. Controlling Hidden Thinking-Token Explosions
Reasoning models (Gemini 2.5 Pro/Flash thinking, Claude 3.7 Sonnet extended thinking) bill internal chain-of-thought tokens at the high output-token rate ($2.50–$15.00/1M). Always configure explicit `thinking_budget` caps for deterministic extraction jobs so models do not burn 4,000 thinking tokens to extract a 40-token invoice date.