---
title: "ContextCompressionEngine"
---

The compression engine to use. Defaults to "middle-out".

## Example Usage

```python
from openrouter.components import ContextCompressionEngine
value: ContextCompressionEngine = "middle-out"
```


## Values

- `"middle-out"`
