RAMP
Resource-Aware Model Proxy for local LLMs
2026Published package (PyPI: ramp-llm)
An elastic serving daemon that fronts Ollama and llama.cpp, watching RAM, VRAM, and disk on an async loop and swapping models up and down a quality ladder under memory pressure — transparently, to any OpenAI-API client. Published on PyPI as ramp-llm.
Highlights
- —Watches three signals together (RAM, VRAM, disk) rather than one — raising context length alone increases reported free VRAM because the KV cache spills into system RAM, which is why single-signal monitoring is misleading
- —Downgrades fast to avoid freezes, upgrades slowly to avoid thrashing, tuned against measured swap costs
- —155 tests, CI green across three operating systems and four Python versions
- —Drop-in OpenAI-compatible API — no client changes required
Stack
Python · FastAPI · psutil · Docker