[Bug]: Bedrock prompt caching strips `ttl` for Claude Opus 4.8 (1h cache silently downgraded to 5m)
![[Bug]: Bedrock prompt caching strips `ttl` for Claude Opus 4.8 (1h cache silently downgraded to 5m)](https://www.chat-gpts.plus/wp-content/uploads/2026/07/31359-ba7c9654-768x403.jpg)
用户在 LiteLLM Proxy 中使用 Bedrock API 调用 anthropic.claude-opus-4-8 (Claude Opus 4.8)模型,并显式设置 cache_control.ttl 为 "1h"(1 小时)。实际运行时,Bedrock prompt caching 的



![RuntimeError: shape '[0, 6, 16]' is invalid for input of size 72](https://www.chat-gpts.plus/wp-content/uploads/2026/07/14879-05a9e426-768x403.jpg)

![[Question]: Novice, seek help from the boss - prompt for gateway timeout issue](https://www.chat-gpts.plus/wp-content/uploads/2026/07/6089-03fe0c18-768x403.jpg)
![[Bug]: vLLM Batch/Files API returns 404 - LiteLLM attempts to call non-existent upstream /v1/files endpoint](https://www.chat-gpts.plus/wp-content/uploads/2026/07/18188-d341c773-768x403.jpg)

