#24987 [Bug]: Prompt Cache Not Working with GPT-5.4 via litellm proxy, but works with direct OpenAI API
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
### What happened?
## Bug Description
Prompt caching does not work when calling GPT-5.4 through litellm proxy, while the same requests work correctly when using OpenCode/ClaudeCode CLI directly with sub2api or other third platform.
## Steps to Reproduce
1. Configure litellm proxy with GPT-5.4 model 2. Send requests with `cache_control` parameter in messages 3. Observe that cache is not being used on subsequent requests
## Expected Behavior
When sending identical requests with `cache_control`, the second request should hit the prompt cache and return faster with reduced token costs.
## Actual Behavior
- Direct API calls via OpenCode/ClaudeCode CLI → Cache works ✅ - Same requests through litellm proxy → Cache not triggered ❌
## Environment
- litellm version: v1.82.3 - Model: `gpt-5.4` (also tested with `gpt-5.4`) - Provider: OpenAI (via sub2api) - Configuration: - `use_in_pass_through: true` - `use_litellm_proxy: false`
Use Litellm: <img width="2221" height="798" alt="Image" src="https://github.com/user-attachments/assets/e25765a8-83d8-49bf-b525-b7ab4cfb2…