Phi models prove you don't need 70B parameters for great results. Phi-4 matches much larger models on reasoning benchmarks while running on hardware as modest as an 8GB MacBook Air. Route them across your fleet for even better throughput.
ModelParametersOllama nameRAM neededBest forPhi-414Bphi410GBReasoning, math, code — punches way above its weightPhi-4-mini3.8Bphi4-mini4GBUltra-fast on any device, even 8GB MacsPhi-3.5-mini3.8Bphi3.54GBProven lightweight modelPhi-3-medium14Bphi3:14b10GBBalanced quality and speed
bash
pip install ollama-herd # PyPI: https://pypi.org/project/ollama-herd/
herd # start the router (port 11435)
herd-node # run on each device — finds the router automatically
No models are downloaded during installation. All pulls require user confirmation.
A Mac Mini with 16GB RAM can run Phi-4 (14B) with room to spare. A MacBook Air with 8GB runs Phi-4-mini comfortably. These models start in seconds and respond fast — ideal for devices that can't load a 70B model.
python
from openai import OpenAI
client = OpenAI(base_url="http://localhost:11435/v1", api_key="not-needed")
# Phi-4 for reasoning
response = client.chat.completions.create(
model="phi4",
messages=[{"role": "user", "content": "Solve: if 3x + 7 = 22, what is x?"}],
)
print(response.choices[0].message.content)
bash
curl http://localhost:11435/api/chat -d '{
"model": "phi4-mini",
"messages": [{"role": "user", "content": "Summarize this in 3 bullet points: ..."}],
"stream": false
}'
bash
curl http://localhost:11435/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model": "phi4", "messages": [{"role": "user", "content": "Write a unit test for a login function"}]}'
Cross-platform: These are example configurations. Any device (Mac, Linux, Windows) with equivalent RAM works. The fleet router runs on all platforms.
Your deviceRAMBest Phi modelWhyMacBook Air (8GB)8GBphi4-miniFits with room for other appsMac Mini (16GB)16GBphi4Full Phi-4 with headroomMac Mini (24GB)24GBphi4Can run Phi-4 + an embedding model simultaneouslyMacBook Pro (36GB)36GBphi4 + phi4-miniBoth loaded, router picks based on task
bash
# What's loaded and where
curl -s http://localhost:11435/api/ps | python3 -m json.tool
# Fleet health overview
curl -s http://localhost:11435/dashboard/api/health | python3 -m json.tool
# Model recommendations based on your hardware
curl -s http://localhost:11435/dashboard/api/recommendations | python3 -m json.tool
Web dashboard at http://localhost:11435/dashboard — live view of nodes, queues, and performance.
Llama 3.3 (70B), Qwen 3.5, DeepSeek-R1, Mistral Large — route to a bigger machine in the fleet.
bash
curl http://localhost:11435/api/generate-image \
-d '{"model": "z-image-turbo", "prompt": "minimalist circuit board art", "width": 512, "height": 512}'
bash
curl http://localhost:11435/api/transcribe -F "file=@meeting.wav" -F "model=qwen3-asr"
bash
curl http://localhost:11435/api/embed \
-d '{"model": "nomic-embed-text", "input": "Microsoft Phi small language model"}'
~/.fleet-manager/.