{
 "schema_version": 1,
 "generated": "2026-10-31",
 "repo": "simonw/llm",
 "name": "llm",
 "owner": "simonw",
 "slug": "simonw-llm",
 "github": "https://github.com/simonw/llm",
 "what": "LLM is a CLI tool and Python library for interacting with OpenAI, Gemini, Qwen, DeepSeek, Mistral and dozens of other large language models, through remote APIs or models installed on your own machine. It can run prompts from the command line, store prompts and responses in SQLite, generate embeddings, extract structured content, and let models execute tools.",
 "why": "13k stars, talked about in 2 AI sources we track",
 "language": "Python",
 "requirements": [
  "Python with pip, or Homebrew, pipx or uv",
  "An API key for a hosted model, or a local model server such as Ollama or LM Studio",
  "Plugins for providers such as Gemini"
 ],
 "audience_note": "Developers and tinkerers who want to script LLM prompts from the shell and keep a log of them.",
 "risk": "none",
 "section": "earlier",
 "weekly_rank": null,
 "category": "Software and DevOps",
 "url": "https://dedupedai.com/use-cases/simonw-llm/",
 "use_case_count": 3,
 "use_cases": [
  {
   "id": "simonw-llm--run-your-first-prompt-from-the-command-line-with-llm",
   "title": "Run prompts from the command line",
   "best": true,
   "url": "https://dedupedai.com/use-cases/simonw-llm/run-your-first-prompt-from-the-command-line-with-llm/",
   "json": "https://dedupedai.com/use-cases/u/simonw-llm/run-your-first-prompt-from-the-command-line-with-llm.json"
  },
  {
   "id": "simonw-llm--chat-with-a-local-model-through-llm-and-ollama",
   "title": "Chat with a local model through LLM and Ollama",
   "best": false,
   "url": "https://dedupedai.com/use-cases/simonw-llm/chat-with-a-local-model-through-llm-and-ollama/",
   "json": "https://dedupedai.com/use-cases/u/simonw-llm/chat-with-a-local-model-through-llm-and-ollama.json"
  },
  {
   "id": "simonw-llm--point-llm-at-any-openai-compatible-endpoint",
   "title": "Point LLM at any OpenAI-compatible endpoint",
   "best": false,
   "url": "https://dedupedai.com/use-cases/simonw-llm/point-llm-at-any-openai-compatible-endpoint/",
   "json": "https://dedupedai.com/use-cases/u/simonw-llm/point-llm-at-any-openai-compatible-endpoint.json"
  }
 ],
 "disclaimer": "Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk."
}
