Deepseek V3 vs Openai Gpt 4o Mini: $$0.27 vs $$2.50 / 1M Tokens
1. Direct Input & Output Rate Comparison: Deepseek V3 costs $0.27/1M input and $1.10/1M output, while Openai Gpt 4o Mini costs $2.50/1M input and $10.00/1M output. Switching uncached workloads to Deepseek V3 reduces raw input spend by 89%.
2. Prompt Caching & 5-Minute TTL Economics: Deepseek V3 provides 75% automatic disk cache read ($0.07/1M), $0 write fee, whereas Openai Gpt 4o Mini uses 50% automatic prefix cache read ($1.25/1M), $0 write fee. Pinning static repository prefixes in Coding Agents reduces realistic 25%-TTL write-retained spend by 61.60% to 65.38%.
3. Context Window & Cliff Thresholds: Deepseek V3 supports 128K tokens and Openai Gpt 4o Mini supports 128K tokens. Pruning sliding-window history below 128K/198K avoids 2x context-cliff surcharges.
4. P90 Streaming Latency (TTFT): In 24-hour rolling probes, Openai Gpt 4o Mini achieves the faster P90 Time-To-First-Token (540ms vs 480ms).