# Ollama

Source: https://zshot-cli.com/reference/llm_connections/ollama/
Markdown: https://zshot-cli.com/reference/llm_connections/ollama/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
Protocol: [`ollama://`](https://zshot-cli.com/reference/llm_connections/) · Default model: `gemma4`
Key env: None · [Roles](https://zshot-cli.com/reference/llm_connections/roles/): [Formats](https://zshot-cli.com/reference/llm_connections/roles/#formats) · [Navigates](https://zshot-cli.com/reference/llm_connections/roles/#navigates) · [Writes](https://zshot-cli.com/reference/llm_connections/roles/#writes)
License: [Pro](https://zshot-cli.com/support/licenses/pro)

Runs a model on an [Ollama](https://ollama.com) server, at `http://localhost:11434` unless the string names a host. ZShot sends no key; reach a server behind an authenticating proxy with `header=Authorization:Bearer%20TOKEN`.

## Options

| Option | On Ollama |
| --- | --- |
| `insecure` | `false` connects over https; Ollama defaults to http |
| [`max_tokens`](/reference/llm_connections/options#max_tokens) | Sent as `options.num_predict` |
| [`vision`](/reference/llm_connections/options#vision-and-frames) | On by default for a model whose name holds `gemma4`, `qwen2.5vl`, `llava`, `minicpm-v`, `internvl2`, `pixtral`, `deepseek-vl2`, `moondream`, `granite3.2-vision`, `kimi-k2.5`, `glm-ocr` or `vision` |
| [`body.<path>`](/reference/llm_connections/options#request-body-fields) | `/api/chat` fields, such as `body.think=true` |
| `header`, `temperature`, `top_p`, `frames`, `timeout` | As [listed](/reference/llm_connections/options) |

## Example

**CLI**

```sh
zshot --navigate "Click the Weather link" \
  --navigator-type "ollama://localhost:11434?model=gemma4" \
  -f weather.png https://zshot-cli.com/example_assets/gazette/
```

## Related

Flags:

- [`--llm-format-model`](https://zshot-cli.com/reference/flags/document/llm-format-model/)
- [`--navigator-type`](https://zshot-cli.com/reference/flags/navigator/navigator-type/)

Topics:

- [Connection String Options](https://zshot-cli.com/reference/llm_connections/options/)
- [Ollama](https://ollama.com)

## Navigation

- [Examples](https://zshot-cli.com/examples/)
- [Download](https://zshot-cli.com/download/)
- [Purchase](https://zshot-cli.com/purchase/)
- [Reference](https://zshot-cli.com/reference/)
  - [Formats](https://zshot-cli.com/reference/formats/)
  - [Flags](https://zshot-cli.com/reference/flags/)
  - [Agents](https://zshot-cli.com/reference/agents/)
  - [Configuration](https://zshot-cli.com/reference/configuration/)
  - [Crawling](https://zshot-cli.com/reference/crawling/)
  - [Docker](https://zshot-cli.com/reference/docker/)
  - [Exit Codes](https://zshot-cli.com/reference/exit_codes/)
  - [Linux](https://zshot-cli.com/reference/linux/)
  - [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
    - [Connection String Options](https://zshot-cli.com/reference/llm_connections/options/)
    - [Roles](https://zshot-cli.com/reference/llm_connections/roles/)
    - [Anthropic](https://zshot-cli.com/reference/llm_connections/anthropic/)
    - [OpenAI](https://zshot-cli.com/reference/llm_connections/openai/)
    - [Google](https://zshot-cli.com/reference/llm_connections/google/)
    - **Ollama**
    - [Mistral](https://zshot-cli.com/reference/llm_connections/mistral/)
    - [DeepSeek](https://zshot-cli.com/reference/llm_connections/deepseek/)
    - [Mercury](https://zshot-cli.com/reference/llm_connections/mercury/)
    - [Groq](https://zshot-cli.com/reference/llm_connections/groq/)
    - [HuggingFace](https://zshot-cli.com/reference/llm_connections/huggingface/)
    - [TypeSafe](https://zshot-cli.com/reference/llm_connections/typesafe/)
    - [Cloudflare](https://zshot-cli.com/reference/llm_connections/cloudflare/)
    - [OpenRouter](https://zshot-cli.com/reference/llm_connections/openrouter/)
    - [stdio](https://zshot-cli.com/reference/llm_connections/stdio/)
  - [LLM Formatting](https://zshot-cli.com/reference/llm_formatting/)
  - [Local Inputs](https://zshot-cli.com/reference/inputs/)
  - [Navigator](https://zshot-cli.com/reference/navigator/)
  - [Security](https://zshot-cli.com/reference/security/)
  - [Server](https://zshot-cli.com/reference/server/)
  - [Shell completions](https://zshot-cli.com/reference/shell_completions/)
  - [Storage](https://zshot-cli.com/reference/storage/)
  - [Timeouts](https://zshot-cli.com/reference/timeouts/)
  - [Web Bot Auth](https://zshot-cli.com/reference/web_bot_auth/)
- [Support](https://zshot-cli.com/support/)
- [Changelog](https://zshot-cli.com/changelog/)

Site index: https://zshot-cli.com/llms.txt

