Grokking AI: 50 Questions Every Engineer Asks
0% completed
What Is Prompt Caching and How Does It Lower My Bill?
Short answer: When many requests begin with the same text, the provider can keep the processed form of that beginning and use it again. The provider then bills the repeated tokens at a small fraction of the normal input price, and the answer starts sooner. This reuse (prompt caching) works only for a beginning that is identical in every request. Content that stays the same (stable content) must therefore come first in a prompt, and content that changes must come last.
Look at the green block in the second row
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%