Ollama templates and scale-out

Parent: Ollama · Published reference · snapshot 2026-10-14 · skill ollama-expert/references/ollama-templates-and-scale-out.md

↓ Facts as markdownall context files

The Modelfile TEMPLATE instruction holds the full, model-specific prompt template that Ollama sends to the model, written in Go template syntax with system, prompt, response, messages, tools and suffix variables; `ollama show --template` prints a model's shipped template. Scale-out covers Ollama's per-server concurrency settings (OLLAMA_NUM_PARALLEL, OLLAMA_MAX_LOADED_MODELS, OLLAMA_MAX_QUEUE), vLLM data-parallel load-balancing modes, LiteLLM router strategies and two independent Ollama-versus-vLLM benchmarks, across 8 hosts.

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Definitions

Structure and components

How it works

Parameters and configuration

How-to and procedures

Examples and snippets

Measurements and reference values

Problems, failure modes and limitations

Comparisons and alternatives

Changes and history

Facts and statements

Disagreements

Related concepts

Children

Frontier under this node: Converting Hugging Face chat templates (Jinja) to Go templates, Migrating Modelfile settings and context defaults to vLLM, Ollama RENDERER and PARSER directives, Ollama thinking-model templates, Open WebUI OLLAMA_BASE_URLS multi-backend balancing, Quantization (GGUF Q4 vs FP16/FP8) as a benchmark confound

← the whole tree · 3D view· how to read this page