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 |
openai/gpt-5.4-mini |
Select an OpenAI Responses-compatible model through OpenRouter. | API key, prompted on first use | The current implementation expects OpenAI Responses API output. |
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 an OpenAI Responses-compatible model:
{"llm": "openRouter","llmModel": "openai/gpt-5.4-mini"} -
Run
swelog summarize. The first run asks for your OpenRouter API key and stores it in your operating system keyring.