Agents · Context Engineering · Bài 8/9
Prompt caching: the highest-ROI optimisation
Prompt caching serves a repeated prompt prefix at a steep discount - Anthropic writes at 1.25x and reads at 0.1x (90% off), OpenAI reads at 0.5x automatically, Google Gemini at 0.25x. Put static content first, keep the prefix stable, batch similar requests and watch cache_creation_input_tokens against cache_read_input_tokens; well-configured caching typically cuts cost by 45-80%.
Nội dung bài học, quiz và tab Command mở trên site sau khi đăng nhập và được admin cấp quyền học AIOps Peach.