Back to browse
GitHub Repository

Tiny, stateless Go router that dispatches OpenAI-compatible requests to single-model vLLM and sglang backends with zero external dependencies

11 starsNix

LLMhop – A tiny, stateless router for LLMs with a NixOS module

by mlenz·Jun 5, 2026·2 points·0 comments

AI Analysis

●●SolidNiche GemSolve My Problem

Stateless Go proxy routes LLM requests by model name to vLLM backends.

Strengths
  • Pure Go with zero external dependencies, safe behind any load balancer
  • NixOS module automates llama.cpp, vLLM, and sglang deployment via Quadlet
  • Secret references via env vars and files, no plaintext in config
Weaknesses
  • Only routes by model field, no request transformation or rate limiting
  • Two stars on GitHub means limited community testing and adoption
Category
Target Audience

Self-hosted LLM operators and ML engineers

Similar To

LiteLLM · OpenRouter · Traefik

Post Description

LLMhop is a tiny stateless proxy for LLM inference servers. It tackles an issue I faced when trying to serve more than one local LLM at once which is not natively supported by vLLM. The LLMhop binary inspects the model field of the request and routes it to the correct backend service with optional handling of authentication. In addition, it contains a NixOS module to run llama.cpp, vLLM, and sglang via Quadlet/Podman and auto-register with the proxy.

Similar Projects

AI/ML●●●Banger

FlexInference LLM Router

Races cheap flex tiers against your latency budget to slash inference bills automatically.

Big BrainSolve My Problem
Aperswal
301d ago
AI/ML●●●Banger

Made a Free LLM Router

Flex-tier racing mechanism saves 48% on tokens without changing your code.

Big BrainSolve My Problem
Aperswal
266d ago