[UNTESTED] [lekodeveloperweb/local-llm-router] 2 endpoint(s)
ChatGPT
API Proxy/ChatGPT
2,174 characters
Status: [UNTESTED]
Endpoints found:
http://localhost:4000/v1/chat/completions
http://localhost:4000/v1/models
Source: https://github.com/lekodeveloperweb/local-llm-router
# Local LLM Router
A lightweight, low-latency proxy router for local LLM development. Routes requests to the best model for each task across multiple local backends — currently OMLX with a clean port-and-adapter architecture ready for additional providers.
## The Problem
Developers running local models face fragmentation: multiple backends (OMLX, Ollama, Anthropic), each with different APIs, no unified view of which models are loaded, and no automatic routing to the best model for a given task. The Local LLM Router solves this.
## Features
| Feature | Status |
| --- | --- |
| **Unified OpenAI-compatible API** — single `/v1/chat/completions` endpoint | ✅ Done |
| **OMLX Chat Adapter** — forwards to OMLX's OpenAI-compatible API | ✅ Done |
| **Routing strategies** — manual override, LLM classifier, keyword/pattern, capability, cost-priority, fallback chain | ✅ Done |
| **LLM Classifier strategy** — phi4-mini classifies intent, routes to specialist models (brainstorming, planning, errors, etc.) | ✅ Done |
| **Streaming passthrough** — zero-copy SSE streaming | ✅ Done |
| **Model lifecycle management** — load/unload/download/delete via OMLX Admin API | ✅ Done |
| **Health checks** — per-backend health check | ✅ Done |
| **Usage analytics** — per-model latency, request counts, token counts | ✅ Done |
| **YAML configuration** — hot-reloadable via `ConfigWatcher` | ✅ Done |
| **Admin API** — manage routes, models, view stats | ✅ Done |
| **Ports & Adapters (Hexagonal Architecture)** — `ChatCompletionsPort` + `ModelLifecyclePort` interfaces for provider-agnostic design | ✅ Done |
| **Structured logging** — JSON log events with request_id tracing across all routing steps | ✅ Done |
| **Integration tests** — 40 routing scenarios covering full strategy chain | ✅ Done |
| **Memory-aware model management** — auto-unloads LRU models to prevent OOM when switching between heavy models | ✅ Done |
| **LLM classifier contex