llm logo

llm

simonw/llm

Access large language models from the command-line

GraphCanon updated Sep 20, 2026 · GitHub synced Sep 20, 2026

132views this month

12k stars978 forksLast push Sep 2, 2026 Python Apache-2.0

Decision brief

Decision-critical facts for 'llm'

Good fit when

  • - You prioritize command-line interaction over graphical interfaces, as llm is designed to provide a seamless CLI experience with multiple installation methods.
  • - You are developing applications that require integration with large language models via the OpenAI API and prefer not to handle authentication and API requests manually.

Avoid when

  • - If you require real-time visual feedback or a graphical interface for interacting with language models, as llm is strictly command-line-based.
  • - If your primary focus is on model training rather than inference or serving, since llm is aimed at accessing and using pre-trained models.
Requirements:
- Installation supports multiple methods including `pip`, Homebrew (with caveats noted), `pipx`, and `uv`.; - Requires an OpenAI API key for certain functionalities.

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Very active (4d since push)
As of Sep 7, 2026
Provenance
Not a fork · Personal account
As of Sep 7, 2026
Security (OSV)
No lockfile
As of Jul 11, 2026

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install llm
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A tool to interact with large language models via the command line, supporting multiple installation methods and OpenAI API integration.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Sep 7, 2026

Languages
python

Source: github.language+pyproject.toml · Sep 7, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

OpenAI APIOpenAI API

Source: README excerpt (regex_v1, Sep 7, 2026)

If you have an [OpenAI API key](https://platform.openai.com/api-keys) key you can run this:
Source link
Python runtimePython

Source: README excerpt (regex_v1, Sep 7, 2026)

pip install llm
Source link

Tags

README

Quick start First, install LLM using or Homebrew or or : Or with Homebrew (see warning note): Or with pipx: Or with uv Use LLM to run prompts or start chats against an arbitrary OpenAI compatible Chat Completions endpoint, such as LM Studio. With , you can do this without install...

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.