Product updates, model releases, and platform improvements.
March 2026
✨ Apertis Python SDK v0.2.1 — Context Compression Now Available
Hi there,
We're excited to announce Apertis Python SDK v0.2.1, now with Context Compression support.
What's New
Context Compression automatically compresses prompt tokens in long conversations and large context scenarios — reducing API costs while maintaining response quality.
Context Compression automatically summarizes conversation history using a smaller, cost-efficient model before sending requests to your primary model. This significantly reduces input token costs while preserving conversation context.
Highlights
Up to 78% token savings on long multi-turn conversations
Three compression strategies to balance quality vs. savings:
conservative — compresses after 8+ turns (minimal context loss)
on — compresses after 6+ turns (balanced)
aggressive — compresses after 3+ turns (maximum savings)
All endpoints supported:
POST /v1/chat/completions
POST /v1/messages
POST /v1/responses
How to Enable
Option 1: API Key Dashboard (Zero Code Changes)
Go to API Key Management → Edit your API key → Enable Context Compression and select your preferred strategy. All requests using that key will automatically apply compression.
Grok 4.2 is the next major iteration of xAI's Grok series, advancing the model's reasoning, coding, and multimodal capabilities with architectural improvements over Grok 4 and 4.1. It is positioned as a more powerful and general-purpose frontier AI model in the Grok family with stronger deep reasoning and real-world task performance.