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