aichat and Simon Willison's LLM are two of the most capable free tools for using language models from a terminal, and both can run entirely against local models in Ollama. They're built with different priorities, though. aichat is a self-contained terminal assistant with a feature for almost everything, while LLM is a Python tool designed to slot into scripts, pipelines and a saved history.
At a glance
aichat | LLM | |
|---|---|---|
What it is | An all-in-one LLM command-line tool | A command-line tool and Python library for LLMs |
Install | Scoop (Windows), Homebrew, Cargo, pacman, Termux or a pre-built binary | pip, pipx, uv or Homebrew |
Needs Python? | No | Yes |
Connecting to Ollama | Add Ollama as an OpenAI-compatible client in the config file | Install the llm-ollama plugin; models are found automatically |
Interactive chat | REPL with tab completion, multi-line input and history search |
|
Shell command help | Built-in Shell Assistant | Possible with a system prompt or template, but not a dedicated mode |
Saved prompts | Roles and macros | Templates ( |
Conversation memory | Sessions |
|
Documents and RAG | Built-in RAG over files and folders | Embeddings support, with local embedding models from plugins such as llm-ollama |
Tools | Function calling and MCP | Tools from plugins via |
Extra | Local server with chat API, playground and model arena | Logs every prompt and response to SQLite by default |
Licence | MIT or Apache 2.0 | Apache 2.0 |
Setup: LLM finds your models, aichat needs a config entry
If Ollama is already running, LLM is quicker to connect. After installing LLM, llm install llm-ollama adds the plugin, which automatically discovers every model on your Ollama server and makes it available as ollama/<model name>. When you pull a new model in Ollama, it simply appears. Our guide shows how to use LLM with Ollama step by step.
aichat doesn't need Python, which is a real advantage on Windows, where you can install it with Scoop or by downloading a pre-built binary. Connecting it to Ollama means adding an openai-compatible client in its YAML configuration with the address http://localhost:11434/v1 and listing the models you want, along with settings such as each model's maximum input size and whether it supports vision or function calling. That's more typing, but it also lets you describe each model's abilities precisely.
Everyday use: aichat is friendlier interactively
aichat's REPL is the more polished place to sit and chat. It has tab completion, multi-line input, history search, configurable key bindings and custom prompts, plus sessions to keep context and roles to switch between system prompts. Its Shell Assistant turns a plain-English task into a command for your operating system and shell, which is one of the most practical things a local model can do in a terminal.




