# Anthropic

Source: https://zshot-cli.com/reference/llm_connections/anthropic/
Markdown: https://zshot-cli.com/reference/llm_connections/anthropic/index.md
Section: [Reference](https://zshot-cli.com/reference/) › [LLM Connections](https://zshot-cli.com/reference/llm_connections/)
Protocol: [`anthropic://`](https://zshot-cli.com/reference/llm_connections/) · Default model: `claude-haiku-5-5`
Key env: `ANTHROPIC_API_KEY`, `ANTHROPIC_AUTH_TOKEN` · [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 Claude models on Anthropic's Messages API at `https://api.anthropic.com`. A key from `ANTHROPIC_AUTH_TOKEN`, or an access token beginning `sk-ant-oat`, is sent as `Authorization: Bearer`, and any other key as `x-api-key`; name a gateway as the host, as in `anthropic://gateway.example`.

## Options

| Option | On Anthropic |
| --- | --- |
| [`tool`](/reference/llm_connections/options#tool) | Every form. A name resolves to the newest version the model takes, such as `web_search_20260209` on Claude 4.6 and newer. Web search is billed per search |
| [`max_tokens`](/reference/llm_connections/options#max_tokens) | 4096 unless set; raise it for a long extraction |
| [`vision`](/reference/llm_connections/options#vision-and-frames) | Every model reads images |
| [`body.<path>`](/reference/llm_connections/options#request-body-fields) | Messages API fields, such as `body.thinking.type=adaptive&body.output_config.effort=high` |
| `header`, `temperature`, `top_p`, `frames`, `timeout`, `insecure` | As [listed](/reference/llm_connections/options) |

## Example

A navigator with the key from `ANTHROPIC_API_KEY`:

**CLI**

```sh
zshot --navigate "Click the Weather link" --navigator-type anthropic \
  -f weather.png https://zshot-cli.com/example_assets/gazette/
```

A formatter that searches the web:

**CLI**

```sh
zshot -t llm_json \
  --llm-format-model "anthropic://?model=claude-haiku-5-5&tool=web_search" \
  --llm-format-prompt "Find the year this book was first published and the year its author was born." \
  --llm-format-expects '{"type":"object","properties":{"published":{"type":"integer"},"author_born":{"type":"integer"}},"required":["published","author_born"]}' \
  -f out.json https://zshot-cli.com/example_assets/house-at-pooh-corner/
```

## 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/)
- [`--llm-usage`](https://zshot-cli.com/reference/flags/diagnostics/llm-usage/)

Topics:

- [Connection String Options](https://zshot-cli.com/reference/llm_connections/options/)
- [Messages API](https://docs.claude.com/en/api/messages) — Anthropic

## 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**
    - [OpenAI](https://zshot-cli.com/reference/llm_connections/openai/)
    - [Google](https://zshot-cli.com/reference/llm_connections/google/)
    - [Ollama](https://zshot-cli.com/reference/llm_connections/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

