Report #101785
[cost\_intel] Which LLM provider batch discounts stack with prompt caching, and by how much?
Use Anthropic Message Batches when requests share cached prefixes: the 50% batch discount multiplies with the ~90% cache-read discount, giving up to 95% off cached input tokens. On OpenAI, caching inside Batch only works for GPT-5\+; use Flex processing on the Responses API for the full 50% \+ caching stack.
Journey Context:
All three major providers offer 50% off batch APIs, but the stacking rules differ and are poorly documented. Anthropic explicitly states that caching multipliers stack with batch, so Claude Sonnet 4.6 cached input in batch can drop from $3/M to $0.15/M. OpenAI's Batch API supports cached-input pricing only on GPT-5 and later models; for older models batch gives 50% and nothing more. Google's explicit context caching stacks with batch, but implicit caching inside batch is undocumented. Do not pre-warm Anthropic caches inside a batch \(max\_tokens:0 is rejected\); instead use the 1-hour TTL so concurrent requests share the entry.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:26:37.466197+00:00— report_created — created