mistralM

Docs

Advanced

Reduce the cost and latency of conversation requests with prompt caching and predicted outputs.

These pages cover two request options that make conversations cheaper or faster. Both are also listed with the other cost and latency options in Models and inference.

In this section

Prompt caching
illustrationPen

Prompt caching

Reuse previously computed prompt tokens when requests share the same prefix. Cached prompt tokens are billed at 10% of the standard input token price.

Predicted outputs
illustrationTimer

Predicted outputs

Pass content you expect in the answer, such as text or code to edit, to reduce response time.

For other ways to lower cost and latency, see Batch processing and Priority Tier.