# llm

Access large language models from the command-line

Canonical page: https://www.reposhelf.co.uk/projects/github/simonw/llm.html

- Project ID: simonw/llm
- Source: GitHub
- Original project: https://github.com/simonw/llm
- Description attribution: project author metadata
- Categories: AI &amp; machine learning
- Technologies: Python
- Licence: Apache-2.0
- Repository availability checked: 2026-11-03T18:33:33.845Z
- Demo page loaded: 2026-11-09T12:28:52.925Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> A CLI tool and Python library for interacting with OpenAI, Anthropic’s Claude, Google’s Gemini, Qwen, Gemma, Kimi, DeepSeek, Mistral, and dozens of other Large Language Models, both via remote APIs and with models that can be installed and run on your own machine.

> Watch Language models on the command-line on YouTube for a demo or read the accompanying detailed notes.

- Store prompts and responses in SQLite
- Generate and store embeddings
- Extract structured content from text and images
- Grant models the ability to execute tools
- … and much, much more

## Author-documented requirements and audience

> A CLI tool and Python library for interacting with OpenAI, Anthropic’s Claude, Google’s Gemini, Qwen, Gemma, Kimi, DeepSeek, Mistral, and dozens of other Large Language Models, both via remote APIs and with models that can be installed and run on your own machine.



- External API key — Required: Add --key your-api-key if the endpoint requires authentication.
- Self-hosting — Documented: 12th July 2023: The LLM CLI tool now supports self-hosted language models via plugins

Not recorded: Account, Paid service. Missing information does not mean there are no requirements.

Source: https://github.com/simonw/llm/blob/main/README.md

Extraction checked: 2026-11-03T18:33:33.845Z

Last recorded source update: 2026-11-02T23:51:05.000Z

Saved release: 0.36 — 2026-09-22T18:48:37.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=simonw%2Fllm). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
