Machine Don

What is prompt caching?

Keeping the fixed part of the instructions you send the AI in memory, so it isn't reprocessed on every request. You pay only a fraction for that repeated part.

Also called: prompt cache, prefix caching.

An analogy

The bouncer already knows the regulars: no need to check their ID again, only the newcomers'. That saves the club time and money.

Where it shows up in the course

Related terms