llm
simonw/llm · Public GitHub repository
Access large language models from the command-line
Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

About this project
Author-written excerpt from the project README.
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
Requirements and intended 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.
Statements extracted from the author’s documentation · Checked 2026-11-03. Source: https://github.com/simonw/llm/blob/main/README.md
Recorded maintenance information
Last recorded source update: 2026-11-02. Saved release: 0.36 · 2026-09-22. These dates do not guarantee ongoing maintenance.
- Technologies
- Python
- Licence
- Apache-2.0. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
- Demo check
- A public page loaded on 2026-11-09. This does not test every feature.
Browse related categories
More projects to explore
DeepSite v4
hf:enzostvs/deepsite
Generate any application by Vibe Coding it
Open LLM Leaderboard
hf:open-llm-leaderboard/open_llm_leaderboard
Track, rank and evaluate open LLMs and chatbots
AI Comic Factory
hf:jbilcke-hf/ai-comic-factory
Create your own AI comic with a single prompt
MiroFish
666ghj/MiroFish
A Simple and Universal Swarm Intelligence Engine, Predicting Anything. 简洁通用的群体智能引擎,预测万物