Providers and Models
| Provider | llm |
Example llmModel |
Setup | Authentication | Notes |
|---|---|---|---|---|---|
| Ollama | ollama |
llama3.2 |
Install Ollama, pull the model, and run the local service. | None | Swelog connects to Ollama at localhost:11434. |
| OpenAI | openAi |
gpt-5.4-mini |
Select an OpenAI model supported by the Responses API. | API key, prompted on first use | The model value is sent directly to OpenAI. |
| OpenRouter | openRouter |
anthropic/claude-sonnet-5 |
Pick any model from the OpenRouter catalog. | API key, prompted on first use | Any model provider that OpenRouter supports will work. |
| Anthropic | anthropic |
claude-opus-5 |
Select a Claude model available on your Anthropic account. | API key, prompted on first use | The model value is sent directly to Anthropic. |
Model names are examples, not a fixed allowlist. Set llmModel to a model that
is installed locally or available from the selected provider.
Ollama
Section titled “Ollama”-
Install and start Ollama.
-
Pull the configured model:
Terminal window ollama pull llama3.2 -
Configure swelog:
{"llm": "ollama","llmModel": "llama3.2"} -
Run
swelog summarize. Ensure Ollama remains available atlocalhost:11434while the command runs.
OpenAI
Section titled “OpenAI”-
Configure the provider and model:
{"llm": "openAi","llmModel": "gpt-5.4-mini"} -
Run
swelog summarize. The first run asks for your OpenAI API key and stores it in your operating system keyring.
OpenRouter
Section titled “OpenRouter”-
Configure the provider and any model from the OpenRouter catalog, using the
provider/model-slugidentifier OpenRouter lists for it:{"llm": "openRouter","llmModel": "anthropic/claude-sonnet-5"} -
Run
swelog summarize. The first run asks for your OpenRouter API key and stores it in your operating system keyring.
Anthropic
Section titled “Anthropic”-
Configure the provider and model:
{"llm": "anthropic","llmModel": "claude-opus-5"} -
Run
swelog summarize. The first run asks for your Anthropic API key and stores it in your operating system keyring.