Claude vs OpenAI Prompt Caching: How the Two Differ (2026)

How Anthropic's and OpenAI's prompt caching differ — explicit breakpoints vs automatic prefix detection, cache markers, TTLs, and prompt-structure implications.