You have Ollama running on multiple machines. This skill gives you one endpoint that routes every request to the best available device automatically. No more hardcoding IPs, no more manual load balancing, no more "which machine has that model loaded?"
bash
pip install ollama-herd
herd # start the router on port 11435
herd-node # run on each machine with Ollama
Now point everything at http://localhost:11435 instead of http://localhost:11434. Same Ollama API, same models, smarter routing.
Package: ollama-herd | Repo: github.com/geeks-accelerator/ollama-herd
python
from openai import OpenAI
client = OpenAI(base_url="http://localhost:11435/v1", api_key="not-needed")
response = client.chat.completions.create(
model="llama3.3:70b",
messages=[{"role": "user", "content": "Hello"}],
stream=True,
)
for chunk in response:
print(chunk.choices[0].delta.content or "", end="")
bash
# Chat
curl http://localhost:11435/api/chat -d '{
"model": "qwen3:235b",
"messages": [{"role": "user", "content": "Hello"}],
"stream": false
}'
# List all models across all machines
curl http://localhost:11435/api/tags
# Models currently in GPU memory
curl http://localhost:11435/api/ps
# Embeddings
curl http://localhost:11435/api/embeddings -d '{
"model": "nomic-embed-text",
"prompt": "search query"
}'
When a request comes in, the router scores every online node on 7 signals:
The highest-scoring node handles the request. If it fails, the router retries on the next best node automatically.
Any model that runs on Ollama works through the fleet. Popular ones:
ModelSizesBest forllama3.38B, 70BGeneral purposeqwen30.6B–235BMultilingual, reasoningqwen3.50.8B–397BLatest generationdeepseek-v3671B (37B active)Matches GPT-4odeepseek-r11.5B–671BReasoning (like o3)phi414BSmall, fast, capablemistral7BFast, European languagesgemma31B–27BGoogle's open modelcodestral22BCode generationqwen3-coder30B (3.3B active)Agentic codingnomic-embed-text137MEmbeddings for RAG
num_ctx from triggering expensive model reloadsThe same fleet router handles three more workloads:
bash
curl -o image.png http://localhost:11435/api/generate-image \
-H "Content-Type: application/json" \
-d '{"model":"z-image-turbo","prompt":"a sunset","width":1024,"height":1024,"steps":4}'
Enable: curl -X POST .../dashboard/api/settings -d '{"image_generation":true}'
bash
curl http://localhost:11435/api/transcribe -F "audio=@recording.wav"
Enable: curl -X POST .../dashboard/api/settings -d '{"transcription":true}'
bash
curl http://localhost:11435/api/embeddings -d '{"model":"nomic-embed-text","prompt":"text"}'
Already enabled — routes through Ollama automatically.
http://localhost:11435/dashboard — 8 tabs: Fleet Overview, Trends, Model Insights, Apps, Benchmarks, Health, Recommendations, Settings. Real-time queue visibility with [TEXT], [IMAGE], [STT], [EMBED] badges.
Track per-project usage:
python
response = client.chat.completions.create(
model="llama3.3:70b",
messages=messages,
extra_body={"metadata": {"tags": ["my-project", "reasoning"]}},
)
~/.fleet-manager/.