Status: [UNTESTED] Endpoints found: http://127.0.0.1:8800/v1/chat/completions http://127.0.0.1:8800/api/accounts/quick http://127.0.0.1:8800/api/scout/run Source: https://github.com/jarokruczynski/llmhub # llmhub Local, OpenAI-compatible gateway that routes chat completions across free vendor API tiers instead of one hardcoded provider. It tracks quota per (account, model) in SQLite, picks whichever free candidate still has room, and falls back to a job queue when nothing does. Policy is fixed: free endpoints only, a paid model is never selected automatically. **Status**: personal project, run on one Mac for the owner's own use. Free-only by design, alpha quality, the API can still change between versions. Issues and PRs are welcome, response time is best-effort. Not affiliated with, endorsed by, or sponsored by any of the LLM vendors it talks to. ## Why Free LLM tiers come with per-model windows (hourly, daily, monthly, or a one-time allowance) that reset on their own schedules and vary vendor to vendor. Calling one vendor directly means either burning through its window and hitting a wall, or manually juggling multiple SDKs and keys across projects. llmhub is one process that: rotates across accounts and vendors as windows run dry, refuses to fall back to a paid model without an explicit opt-in, and records every call so usage is visible instead of guessed at. ## Architecture ```mermaid flowchart LR subgraph clients["Clients"] SDK["Any OpenAI SDK / curl"] CC["Claude Code sessions (llmhub-client skill)"] APPA["my-app"] APPB["batch-ocr"] SCOUTCLIENT["scout pipeline (calls itself back in)"] end subgraph outer["launchd + Caddy layer"] CADDY["Caddy: llmhub.localhost, HOST.local/hub/*"] subgraph proc["llmhub process (LaunchAgent execs venv python directly)"] GW["gateway: /v1/chat/completions, /jobs, api/*"] ROUTER["router"] SCHED["scheduler: scout daily, job workers"] DASH["dashboard (served by same process, LAN + bearer token)"] QUICKADD["quick add: promo row -> template resolution -> env file + registry -> hot reload"] end