Skip to the content.

LLM Proxy Architecture Decision

When an LLM compression proxy provides zero compression due to an API format mismatch, should it be kept for observability or removed for simplicity?

Decision Framework

Factor Keep Proxy Remove Proxy
Memory budget Generous (>1GB spare) Constrained
Observability need High (cost tracking, latency monitoring) Low (logs sufficient)
Future compression likely Yes (upstream fix expected) No (architectural barrier)
Chain complexity tolerance Acceptable Minimize hops

Value a Passthrough Proxy Still Provides

Cost of Keeping a Passthrough Proxy

Decision Taken

Remove Headroom from the active chain (2026-07-08).

Rationale: Compression provides zero value for OpenAI-format traffic. Observability features don’t justify ~755MB on a development workstation. Configuration preserved for easy re-enablement.

Traffic chain simplified:

Goose → LiteLLM (:4000) → Vertex AI (Claude)

Reversibility: systemctl --user enable --now headroom-proxy

Signals to Re-evaluate