Skip to main content
Synthra’s context compression engine intelligently manages conversation context windows. Automatically triggered when approaching token limits.

Compression Strategies

FIFO (First In, First Out)

Removes oldest messages. Simple and fast (under 10ms).

Priority-Based

Removes lowest priority messages. Ideal for complex conversations (under 30ms).

Semantic Retention

Removes redundant content using embeddings. Best for long-form content (under 50ms).

Token Limits

Manual Compression

Best Practices

Compression is non-destructive when archiving is enabled. Removed messages can be retrieved from the archive.
Semantic compression adds 20-30ms latency. Use FIFO or priority for latency-sensitive applications.