mostlygeek/llama-swap

Reliable model swapping for any local OpenAI/Anthropic compatible server - llama.cpp, vllm, etc

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 7 minutes ago
Added to GitGenius on September 12th, 2026
Created on October 4th, 2024
Open Issues & Pull Requests: 81 (+0)
GitHub issues: Enabled
Number of forks: 464
Total Stargazers: 5,652 (+0)
Total Subscribers: 24 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.7 hours
Mean response time: 3.5 days
90th percentile: 13.0 days
Tracked items: 473

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 92% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 12% of tracked open issues have had no activity in three months. Only 8% of issues opened in the past year have been closed. Three people close 72% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 50
New in 7 days: 5
Closed in 7 days: 12
Avg open age: 61 days
Stale 30+ days: 6
Stale 90+ days: 4

Recent activity

Opened in 7 days: 3
Closed in 7 days: 7
Comments in 7 days: 1
Events in 7 days: 1

Top labels

  • stale (103)
  • unconfirmed bug (98)
  • enhancement (94)
  • bug (52)
  • support (27)
  • question (17)
  • configuration (12)
  • wontfix (8)

Detailed Description

llama-swap is a model management tool that enables hot-swapping between multiple generative AI models running on local servers compatible with OpenAI and Anthropic APIs.

The tool solves the problem of running multiple large language models on resource-constrained local machines where only one model can be loaded at a time. It works by intercepting API requests and managing which model is currently loaded, automatically swapping models in and out of memory on demand. This allows users to maintain a single API endpoint while seamlessly switching between different models without restarting services or manually managing model loading.

The project suits developers and researchers running local AI workflows who need to experiment with or deploy multiple models but lack the hardware to run them simultaneously. It works with any server implementing OpenAI or Anthropic API compatibility, including llama.cpp and vllm, making it broadly applicable across the local LLM ecosystem. The tool is designed for simplicity: it requires only a single binary and one configuration file to get running, with no external dependencies, making it accessible to users who want straightforward model management without complex infrastructure.

Development activity shows consistent maintenance with passing continuous integration checks. The project maintains an active presence with regular updates to its codebase. The tool has accumulated meaningful adoption, indicating that the implementation is stable enough for production use in local AI workflows. The straightforward architecture and minimal dependency footprint suggest the maintainers prioritize reliability and ease of deployment over feature complexity.