LLM is a command-line utility and Python library by Simon Willison that gives you one consistent way to talk to large language models โ OpenAI, Anthropic’s Claude, Google’s Gemini, and dozens more, including models running on your own machine. The open-source tool has earned more than 12,600 stars on GitHub, is licensed under Apache-2.0, and was actively developed in 2026.
LLM treats the shell as a first-class home for language models. Pipe a file in and ask questions about it, run one-off prompts, hold multi-turn chats, extract text from images, or generate embeddings โ all with short, scriptable commands. Every interaction is logged to a SQLite database, so your prompt history becomes searchable data you can analyze with tools like Datasette. A rich plugin system adds new model providers (including local ones via Ollama) and new capabilities without changing the core interface, and the same features are exposed as a Python API for use inside your own programs.
LLM itself is free and open source under the Apache-2.0 license. You pay only for any hosted model APIs you choose to call with your own keys; local models cost nothing beyond your hardware.
LLM is perfect for developers, data journalists, researchers and shell power-users who want fast, scriptable access to many models at once โ and a permanent, queryable record of everything they have asked.