Lightweight, highly compatible intelligent routing proxy for OpenAI and Ollama models.
2.3K
l3mcore is a lightweight, open-source Mixture of Experts (MoE) intelligent routing proxy. It acts as a drop-in replacement for OpenAI and Ollama APIs, routing each request to the most suitable LLM expert based on semantic understanding of the input.
experts.json or config.json and changes apply without restart| Image Tag | Acceleration / Base | Description |
|---|---|---|
latest, cpu, 1.0.0, 1.0.0-cpu | CPU (Debian Slim) | Default / Recommended. Minimal footprint with maximum portability and compatibility across servers, desktops, and edge devices. |
debian | CPU (Debian Bullseye) | Identical to the default CPU build but includes standard OS libraries, utilities, and debugging tools. |
cuda, 1.0.0-cuda | NVIDIA GPU (CUDA 12.1.1) | Built on NVIDIA CUDA runtime. Use this if running local GGUF/llama.cpp fallback models with GPU acceleration inside the container. Requires --gpus all. |
rocm, 1.0.0-rocm | AMD GPU (ROCm 6.1.2) | Enables GPU acceleration on supported AMD Radeon and Instinct hardware via HIP. Requires passing GPU devices (--device=/dev/kfd --device=/dev/dri). |
bundle, 1.0.0-bundle | CPU | l3mcore + Open WebUI. Runs both the routing proxy and the Open WebUI chat frontend pre-wired in a single container. Ports 8080 (Web UI) and 11435 (API). |
ollama, 1.0.0-ollama | CPU | l3mcore + Ollama. Runs the Ollama model engine and the l3mcore intelligent router together. Ports 11434 (Ollama) and 11435 (l3mcore). |
all-in-one, 1.0.0-all-in-one | CPU | Complete AI Stack. Open WebUI (frontend) + l3mcore (intelligent router) + Ollama (model execution). Everything working out of the box in a single docker run. |
docker run -d \
--name l3mcore \
-p 11435:11435 \
-v $(pwd)/config:/app/config \
-v $(pwd)/models:/app/models \
-v $(pwd)/data:/app/data \
lemoelink/l3mcore:latest
docker run -d \
--name l3mcore-bundle \
-p 3000:8080 \
-p 11435:11435 \
-v $(pwd)/config:/app/lemoe/config \
-v open-webui-data:/app/backend/data \
lemoelink/l3mcore:bundle
Open WebUI will be available at http://localhost:3000.
docker run -d \
--name l3mcore-ollama \
-p 11434:11434 \
-p 11435:11435 \
-v $(pwd)/config:/app/config \
-v ollama-models:/root/.ollama \
lemoelink/l3mcore:ollama
docker run -d \
--name l3mcore-all-in-one \
-p 3000:8080 \
-p 11435:11435 \
-v $(pwd)/config:/app/lemoe/config \
-v open-webui-data:/app/backend/data \
-v ollama-models:/root/.ollama \
lemoelink/l3mcore:all-in-one
Access the complete private AI ecosystem directly at http://localhost:3000.
docker run -d \
--name l3mcore-cuda \
--gpus all \
-p 11435:11435 \
-v $(pwd)/config:/app/config \
-v $(pwd)/models:/app/models \
-v $(pwd)/data:/app/data \
lemoelink/l3mcore:cuda
Save the following as docker-compose.yml:
version: '3.8'
services:
l3mcore:
image: lemoelink/l3mcore:latest
container_name: l3mcore
ports:
- "11435:11435"
volumes:
- ./config:/app/config
- ./models:/app/models
- ./data:/app/data
restart: unless-stopped
Start the service:
docker compose up -d
| Variable | Default | Description |
|---|---|---|
LEMOE_HOST | 0.0.0.0 | Bind address |
LEMOE_PORT | 11435 | Bind port |
LEMOE_WORKERS | 1 | Gunicorn workers |
Content type
Image
Digest
sha256:8275f5426…
Size
416.9 MB
Last updated
about 2 months ago
docker pull lemoelink/l3mcore