PricingVerified

Context Compaction

Context Compaction The Context Compaction API is now available. You can shrink long conversations into a shorter context and reuse it in follow-up requests for lower cost, faster time-to-first-token, and sharper responses on long agent loops. For more details, see the Context Compaction docs .

Evidence chain

xAI developer release notesOfficial · official

Context Compaction The Context Compaction API is now available. You can shrink long conversations into a shorter context and reuse it in follow-up requests for lower cost, faster time-to-first-token, and sharper responses on long agent loops. For more details, see the Context Compaction docs .

Open original source

External discussion

No reviewed external discussion has been linked yet. This does not change the evidence confidence.