Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/proxy/headroom.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ import TabItem from '@theme/TabItem';

# Prompt Compression (Headroom)

:::info

The Headroom integration is available from LiteLLM `v1.91.0.rc1` and later.

:::

Headroom is the context optimization layer for LLM applications. It compresses tool outputs, database results, file reads, and RAG payloads before they reach the model, so you get the same answers at a fraction of the tokens.

This is available on both `/v1/chat/completions` and `/v1/messages` (Anthropic format).
Expand Down