1. What is the difference between prompt_cache_hit_tokens and prompt_cache_miss_tokens?
DeepSeek separates incoming prompt tokens into matched prefixes starting from token index 0 (prompt_cache_hit_tokens, billed at the ultra-low cache-hit rate) and unmatched tokens (prompt_cache_miss_tokens, billed at standard input rates).
2. What invalidates DeepSeek's automatic disk cache?
Any dynamic timestamp, request UUID, or varying user metadata placed at the very beginning of the system prompt breaks the 0-index prefix hash and triggers a full cache miss downstream.
3. Can DeepSeek off-peak discounts combine with cache hits?
Yes! Off-peak UTC hours halve both cache-hit and cache-miss input rates as well as output rates (for instance, DeepSeek-V4.1-Flash cache hits drop from $0.006/1M to $0.003/1M off-peak).
4. Can organizations self-host DeepSeek weights instead of using the hosted API?
Yes. DeepSeek publishes open-weight checkpoints (e.g., 671B MoE and distilled Flash variants) under permissive open licenses so teams can run private inference on vLLM or SGLang clusters when data residency is mandatory.
5. How much VRAM is needed to self-host DeepSeek 671B vs. smaller models?
A 671B MoE checkpoint requires ~340+ GB even at 4-bit quantization (multi-GPU 8xA100/H100 node), making the hosted DeepSeek API with off-peak & cache-hit pricing far cheaper unless daily volume exceeds tens of millions of tokens.