Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

LLM

CLI and Python library for prompting many models.

By Simon WillisonChecked
Visit llm.datasette.io(opens in a new tab)
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What it is

LLM runs prompts against OpenAI, Anthropic, Google and many other hosted models from the command line or from Python, and plugins add models that run on your own machine. Every prompt and response is stored in a SQLite database you can search later. It also handles embeddings, structured extraction from text and images, tool execution and reusable templates, and installs with pip install llm, Homebrew, pipx or uv.

Best for

Developers who compare models from the terminal and log every prompt.

Skills it helps with

  • Outlines

    Python library for structured LLM outputs via constrained decoding.

    Open source.txt

  • DeepSeek

    Chat app and API for DeepSeek's open-weight models.

    Usage-basedDeepSeek

  • MLX LM

    Runs and fine-tunes LLMs on Apple silicon with MLX.

    Open source

  • Ollama

    Runs open-weight models locally with one command and serves an OpenAI-compatible API.

    Open sourceOllama

  • Jan

    Open-source desktop chat app that runs local models offline or connects to hosted ones.

    Open source

  • LiteLLM

    Open-source SDK and AI gateway that calls 100+ providers through one OpenAI-style API.

    Open sourceBerriAI

All Models and local inference