# LLM — CLI Tool for 100+ Language Models > LLM is a CLI and Python library for accessing 100+ LLMs via APIs or locally. 11.5K+ stars. SQLite logging, embeddings, structured data. Apache 2.0. ## Install Copy the content below into your project: ## Quick Use ```bash # Install pip install llm # Or: brew install llm # Set API key llm keys set openai # Run a prompt llm "Explain quantum computing in one sentence" # Chat mode llm chat -m claude-4-sonnet # Extract structured data llm "List 3 fruits" --schema name:str,color:str # All prompts logged to SQLite llm logs ``` --- ## Intro LLM is a command-line tool and Python library for accessing OpenAI, Claude, Gemini, Llama, and dozens of other LLMs through APIs or locally-installed models. With 11,500+ GitHub stars and Apache 2.0 license, it stores all prompts and responses in SQLite for logging and analysis, generates embeddings, extracts structured data using schemas, supports tool execution, interactive chat mode, and multi-modal inputs (images, audio, video) via plugins. **Best for**: Developers who want quick LLM access from the terminal with full logging **Works with**: Claude Code, OpenAI Codex, Cursor, Gemini CLI, Windsurf --- ## Key Features - 100+ models via plugins (cloud + local) - SQLite logging of all prompts/responses - Structured data extraction with schemas - Embeddings generation - Tool execution support - Multi-modal (images, audio, video) - Interactive chat mode --- ### FAQ **Q: What is LLM?** A: CLI tool with 11.5K+ stars for 100+ language models. SQLite logging, embeddings, structured data, chat mode. Apache 2.0. **Q: How do I install LLM?** A: pip install llm or brew install llm. Then llm "your prompt". --- ## Source & Thanks > Created by [Simon Willison](https://github.com/simonw). Apache 2.0. > [simonw/llm](https://github.com/simonw/llm) — 11,500+ GitHub stars --- Source: https://tokrepo.com/en/workflows/c9e10dbf-d7ae-4561-995b-198e6d599fe7 Author: Script Depot