Prefix Cache Hit Rate

Quick definition

The share of eligible requests that successfully reuse previously cached prompt-prefix computations.

The share of eligible requests that successfully reuse previously cached prompt-prefix computations.

Reuse is most effective when repeated requests have identical stable prefixes and compatible model or serving settings.

Example: A customer-service assistant caches its common system instructions for repeated sessions.

Common use cases: LLM cost reduction, shared prompt optimization, and performance tuning.

Examples

  • A customer-service assistant caches its common system instructions for repeated sessions.

Use cases

  • LLM cost reduction, shared prompt optimization, and performance tuning.

Frequently asked questions

What is Prefix Cache Hit Rate?

The share of eligible requests that successfully reuse previously cached prompt-prefix computations.

What should I know about Prefix Cache Hit Rate?

Reuse is most effective when repeated requests have identical stable prefixes and compatible model or serving settings.

Categories and tags