LLM CLI
Open-source command-line tool and Python library for prompting many language models from the terminal, with every exchange logged locally.
What it does
LLM is a command-line program and Python library for prompting language models. OpenAI’s models are built in, as is any OpenAI-compatible endpoint. Plugins add providers such as Anthropic, Google Gemini, Mistral or DeepSeek, plus local models via Ollama, GGUF files (llama.cpp) or MLX (Mac only). By default, every exchange is stored in a SQLite database on your machine. You also get a chat mode, templates for recurring prompts, attachments such as images, schemas for extracting structured data, embeddings, and tools a model is allowed to call.
Who it suits
Developers and technical teams who want to use language models in scripts, shell pipelines or their own Python applications and compare models quickly.
Data protection for businesses
LLM itself runs locally and keeps its log only on your device; llm logs off or --no-log turns recording off. Where your inputs go depends on the model: with cloud APIs, that provider’s server location, training use and data processing agreement apply. With local models, data never leaves your computer. There is no data processing agreement or business plan of its own, as no hosted service is operated.
Limits
No graphical interface; setup runs through pip, pipx, uv or Homebrew, and the documentation does not mention Windows. The project is maintained mainly by Simon Willison, who names no commercial support for LLM. The newest version, 0.32a0 (April 2026), is a pre-release.