Prompt cache, finally typed: shipping llm-ports 0.1.0-alpha.19
TL;DR. @llm-ports 0.1.0-alpha.19 ships a typed, provider-neutral surface for prompt caching across Anthropic, OpenAI, and Gemini. One optional cacheControl field on every request, four modes. Plus a BREAKING field rename: cost.cacheDiscountUSD → cost.cacheSavingsUSD. This is the third of four shape-locks before beta.0 on 2026-06-30. Install: npm install @llm-ports/core@alpha resolves to it now. Why prompt cache needed a port surface in the first place Three providers, three complete...
Original Source
Read the full article at Dev →KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.