Claude Code model router
Ollama Herd
Route LLMs, embeddings, image generation and speech-to-text across the Macs, Linux servers and Windows PCs you already own. One OpenAI-, Ollama- and Anthropic-compatible endpoint, so Claude Code and Codex run on your own machines. Zero config.
Install
pip install ollama-herdFound in the project README. Check it for setup steps after installing.
git clone https://github.com/geeks-accelerator/ollama-herd.gitFrom the README
Ollama Herd Ollama Herd is an open-source smart AI router that turns the machines you already own (Apple Silicon Macs, Linux servers, and Windows PCs, with or without NVIDIA GPUs) into one endpoint. It routes LLMs, embeddings, image generation, speech-to-text, and vision with 8-signal scoring, mDNS auto-discovery, and a real-time dashboard. Apple Silicon Macs get extras: an MLX backend, native image generation, and speech-to-text. Works with Claude Code (Anthropic Messages API), Codex (OpenAI Responses API), Open WebUI, and any OpenAI- or Ollama-compatible client, all on one URL. ollamaherd.com: docs, guides, and the dashboard walkthrough. Why Ollama Herd? - Every machine you own, one endpoint: Macs, Linux servers, and Windows PCs pooled into one fleet - Agents stop queuing behind one Ollama: each request goes to the best machine for that model right now - Claude Code and Codex on your own hardware: model ids auto-route to the best model you have loaded, no model map needed - No config files, no Docker, no Kubernetes: two commands, mDNS auto-discovery - Not just LLMs: embeddings, image generation, and speech-to-text route too (image generation and speech-to-text extras on Apple Silicon) - Start on one machine: run both commands on it, and add machines when you have them Quick Start Or with Homebrew (macOS/Linux): Without the brew trust line, Homebrew 6.0+ stops with *"Refusing to load formula … from untrusted tap"*. Older Homebrew doesn't need it and ignores it harmlessly. The install builds every dependency from source (Homebrew runs pip --no-binary :all:), including a Rust compile of pydantic-core — budget ~25 minutes, not the couple of minutes a bottled formula takes. On your router machine: On each device running Ollama: One machine? Run both commands on…
Details
- Repository
- geeks-accelerator/ollama-herd
- Website
- ollamaherd.com
- Language
- Python
- License
- MIT
- Last updated
- 3 November 2026
- Topics
- ai-infrastructureapple-siliconclaude-codecodexembeddingsfleet-managementinference-routerlinuxllmload-balancerlocal-llmmultimodal
FAQ
What is Ollama Herd?
Route LLMs, embeddings, image generation and speech-to-text across the Macs, Linux servers and Windows PCs you already own. One OpenAI-, Ollama- and Anthropic-compatible endpoint, so Claude Code and Codex run on your own machines. Zero config. It is a model router for Claude Code, from geeks-accelerator/ollama-herd on GitHub.
How do I install Ollama Herd?
Run pip install ollama-herd, then follow the setup in the README.
Is Ollama Herd popular?
geeks-accelerator/ollama-herd has 31 GitHub stars and 6 forks. It was last updated on 3 November 2026.
More model routers & proxies
Claude Code Proxy
32daodao97/claude-code-proxy
Claude code proxy, friendly view request log, enhance request stability
Hermes Claude Code Local
32KaiFelixBennett/hermes-claude-code-local
Run Hermes Agent + Claude Code locally on llama.cpp — zero API costs. A 4h / 7M-token session that would have cost $94 on Claude Opus 4.7
Squeezr
34sergioramosv/squeezr
AI-powered Claude Code proxy that uses Haiku to semantically compress context and save thousands of tokens
Gnosis
31DOMCHURCH/Gnosis
Terminal coding agent with browser UI, MCP, Obsidian memory, and live office floor. Any model via OpenRouter. MIT.
Krouter
33sifxprime/krouter
Universal AI router — save 20-40% tokens with RTK and never stop coding. Connect Claude Code, Cursor, Antigravity, Kiro, Copilot, Codex, Cline & any OpenAI-compatible client to 40+ providers & 100+ models via one local endpoint. Zenith sub-1ms failover, MITM, multi-account.
Claude Code Forge
29TensorBlock/claude-code-forge
Setup scripts for using TensorBlock Forge with Claude Code - access any AI model through Claude's interface
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.