Ollama features

Ollama capabilities that matter for private model hosting, such as bringing your own fine-tuned or approved model weights.

Importing custom GGUF and Safetensors models into Ollama

Running your own fine-tuned or approved model weights on self-hosted Ollama: Modelfile imports from Safetensors and GGUF, quantizing beforehand with llama.cpp, sharded files, and keeping models in a private internal catalog instead of pushing to ollama.com.

Building custom Ollama models with a Modelfile

Packaging an approved base model with fixed settings for a team: FROM, PARAMETER, TEMPLATE, SYSTEM, LICENSE and REQUIRES instructions, default parameter values, and versioning Modelfiles alongside other configuration.

Setting context length in Ollama

Choosing and setting the context window: Ollama's VRAM-based defaults, OLLAMA_CONTEXT_LENGTH and num_ctx, memory cost of longer context, checking the allocated context with ollama ps, and settings for agents and coding tools.

Running vision models on Ollama

Processing images privately with Ollama vision models: sending images through the CLI and the API's base64 images field, document and photo use cases, and GPU memory needs of multimodal models.

Tool calling with self-hosted Ollama models

What platform teams need to know about function calling on Ollama: models that support it, single and multiple tool calls through /api/chat, the OpenAI-compatible tools field, and gaps such as tool_choice.

Structured JSON outputs with Ollama

Enforcing a JSON schema on local model responses for extraction and automation: the format parameter, schema design, validation on the client side, and the fact that Ollama's cloud does not support it.

Controlling thinking models in Ollama

Running reasoning models on Ollama: discovering each model's thinking controls with /api/show, the think field, separating the reasoning trace from the answer, and the latency and token cost of thinking.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.