llm

Access large language models from the command-line (by simonw)

Llm Alternatives

Similar projects and alternatives to llm

  1. llama.cpp

    1,033 llm VS llama.cpp

    LLM inference in C/C++

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. textgen

    887 llm VS textgen

    Open-source desktop app for local LLMs. Text, vision, tool-calling, OpenAI/Anthropic-compatible API. 100% private.

  4. ollama

    753 llm VS ollama

    Get up and running with Kimi-K2.6, GLM-5.1, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

  5. aider

    157 llm VS aider

    aider is AI pair programming in your terminal

  6. gpt4all

    150 llm VS gpt4all

    GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.

  7. gemini-cli

    143 llm VS gemini-cli

    An open-source AI agent that brings the power of Gemini directly into your terminal.

  8. codex

    134 llm VS codex

    Lightweight coding agent that runs in your terminal

  9. guidance

    91 llm VS guidance

    Discontinued A guidance language for controlling large language models. [Moved to: https://github.com/guidance-ai/guidance] (by microsoft)

  10. simonwillisonblog

    The source code behind my blog

  11. llamafile

    73 llm VS llamafile

    Distribute and run LLMs with a single file.

  12. open-webui

    61 llm VS open-webui

    User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  13. jan

    50 llm VS jan

    Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

  14. aichat

    39 llm VS aichat

    All-in-one LLM CLI tool featuring Shell Assistant, Chat-REPL, RAG, AI Tools & Agents, with access to OpenAI, Claude, Gemini, Ollama, Groq, and more.

  15. guidance

    35 llm VS guidance

    A guidance language for controlling large language models.

  16. simpleaichat

    23 llm VS simpleaichat

    Python package for easily interfacing with chat apps, with robust features and minimal code complexity.

  17. mods

    19 llm VS mods

    Discontinued AI on the command line

  18. savvy-cli

    Automatically capture and surface your team's tribal knowledge

  19. llama-gpt

    8 llm VS llama-gpt

    A self-hosted, offline, ChatGPT-like chatbot. Powered by Llama 2. 100% private, with no data leaving your device. New: Code Llama support!

  20. llm-cmd

    7 llm VS llm-cmd

    Use LLM to generate and execute commands in your shell

  21. langroid

    29 llm VS langroid

    Harness LLMs with Multi-Agent Programming

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better llm alternative or higher similarity.

llm discussion

Log in or Post with

llm reviews and mentions

Posts with mentions or reviews of llm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-06-05.
  • I benchmarked Python AI-app security scanners. Here's what each catches.
    2 projects | dev.to | 5 Jun 2026
    We ran all three (working) tools against simonw/llm, Simon Willison's clean CLI for LLMs, 48 Python files.
  • Your text file is the prompt now: LLM's shebang trick
    1 project | dev.to | 12 May 2026
    Simon Willison's llm CLI tool already does a lot — run prompts, manage models, call tools, store logs in SQLite. But a Hacker News comment last week sent him down a rabbit hole, and the result is one of those tricks that makes you stop and stare.
  • Show HN: GoModel – an open-source AI gateway in Go; 44x lighter than LiteLLM
    7 projects | news.ycombinator.com | 21 Apr 2026
    I've been maintaining an abstraction layer over multiple providers for a couple of years now - https://llm.datasette.io/

    The best effort we have to defining a standard is OpenAI harmony/responses - https://developers.openai.com/cookbook/articles/openai-harmo... - but it's not seen much pickup. The older OpenAI Chat Completions thing is much more of an ad-hoc standard - almost every provider ends up serving up a clone of that, albeit with frustrating differences because there's no formal spec to work against.

    The key problem is that providers are still inventing new stuff, so committing to a standard doesn't work for them because it may not cover the next set of features.

    2025 was particularly turbulent because everyone was adding reasoning mechanisms to their APIs in subtly different shapes. Tool calls and response schemas (which are confusingly not always the same thing) have also had a lot of variance - some providers allow for multiple tool calls in the same response, for example.

    My hunch is we'll need abstraction layers for quite a while longer, because the shape of these APIs is still too frothy to support a standard that everyone can get behind without restricting their options for future products too much.

  • 3 AIs Reviewed the Same Codebase. They Disagreed on 2 Findings. That is the Point.
    3 projects | dev.to | 6 Apr 2026
    Simon Willison's llm is one of the better-engineered CLI tools in the Python ecosystem. It has a clean architecture, a comprehensive plugin system, and parameterized SQL throughout. The reviewers independently noted the consistent SQL safety, which speaks to the care that has gone into the project. We pointed our tools at it and filed the findings that survived review.
  • Claude Sonnet 4.6 System Card
    7 projects | news.ycombinator.com | 17 Feb 2026
    Took me a while to create the pelican because I was busy adding Opus/Sonnet 4.6 support to my plugin for https://llm.datasette.io/ - pelican now available here, it's not quite as good as the Opus 4.6 one but does look equivalent to the Opus 4.5 one - and it has a snazzy top hat. https://simonwillison.net/2026/Feb/17/claude-sonnet-46/
  • AI Doesn't Reduce Work–It Intensifies It
    7 projects | news.ycombinator.com | 10 Feb 2026
    > Has Simon actually produced anything novel or compelling?

    Here are some of my recent posts which I self-evaluate as "novel and compelling".

    - Running Pydantic’s Monty Rust sandboxed Python subset in WebAssembly https://simonwillison.net/2026/Feb/6/pydantic-monty/ - demonstrating how easy and useful it is to be able to turn Rust code into WASM that can run independently or be used inside a Python wheel for Pyodide in order to provide interactive browser demos of Rust libraries.

    - Distributing Go binaries like sqlite-scanner through PyPI using go-to-wheel https://simonwillison.net/2026/Feb/4/distributing-go-binarie... - I think my go-to-wheel utility is really cool, and distributing Go CLIs through PyPI is a neat trick.

    - ChatGPT Containers can now run bash, pip/npm install packages, and download files https://simonwillison.net/2026/Jan/26/chatgpt-containers/ - in which I reverse engineered and documented a massive new feature of ChatGPT that OpenAI hadn't announced or documented anywhere

    I remain very proud of my current open source projects too - https://datasette.io and https://llm.datasette.io and https://sqlite-utils.datasette.io and a whole lot more: https://github.com/simonw/simonw/blob/main/releases.md

    Are you ready to say none of that is "novel or compelling", in good faith?

  • Show HN: GenAI Prompts as "Native" Programs
    3 projects | news.ycombinator.com | 21 Jan 2026
  • Don't fall into the anti-AI hype
    19 projects | news.ycombinator.com | 11 Jan 2026
    My great regret from the past few years is that experimenting with LLMs has been such a huge distraction from my other work! My https://llm.datasette.io/ tool is from that era though, and it's pretty cool.
  • Ask HN: What's a standard way for apps to request text completion as a service?
    3 projects | news.ycombinator.com | 10 Jan 2026
    When I'm writing a script that requires some kind of call to an LLM, I use this: https://github.com/simonw/llm.
  • You Don't Need to Spend $100/Mo on Claude Code:Your Guide to Local Coding Models
    12 projects | news.ycombinator.com | 21 Dec 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic llm repo stats
100
12,031
9.0
4 days ago

simonw/llm is an open source project licensed under Apache License 2.0 which is an OSI approved license.

The primary programming language of llm is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?