Llama Proxy Cache icon
Llama Proxy Cache icon

Llama Proxy Cache

 Like

Llama Server Proxy Cache.

Llama Proxy Cache screenshot 1

Cost / License

  • Free
  • Open Source (MIT)

Since

  • New

GitHub

  • GitHub stars: 9

Platforms

  • Self-Hosted
0likes
0articles
Save

Features

Features

Highlights All activities

Llama Proxy Cache News & Activities

Recent activities

Llama Proxy Cache information

AlternativeTo Category

AI Tools & Services

GitHub repository

  •  9 Stars
  •  1 Fork
  •  0 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
Llama Proxy Cache was added to AlternativeTo by kokleong98 on and this page was last updated .

No comments or reviews, maybe you want to be first?

What is Llama Proxy Cache?

llama-proxy-cache Llama Proxy Cache is an intelligent middleman that sits between your chat/IDE client and one or more llama.cpp (llama-server) backends.

What It Does OpenAI API Compatibility: It speaks the /v1/chat/completions API so your apps, agents, or frontends (like Open WebUI or custom scripts) can connect to it transparently.

KV-Cache & Slot Management: It tracks and manages llama.cpp's slot Key-Value (KV) caches. When handling long, repeating, or similar system prompts (30k–60k+ tokens), it avoids paying the full re-prefill cost on every single turn.

Prefix-Similarity Routing & Lookup: It inspects incoming prompts, checks for common prefixes (Longest Common Prefix / LCP lookups or hash matching), and coordinates slot locking, saving, and restoring (often interacting with llama.cpp's built-in slot/state APIs or disk-based cache mechanisms).

Multi-Backend Coordination: If you run multiple llama.cpp instances, a proxy helps prevent sessions from losing their cached context when bouncing between different server nodes.