{
    "products": [
        {
            "slug": "llama-cpp",
            "name": "llama.cpp",
            "kind": "app",
            "website": "https://github.com/ggml-org/llama.cpp",
            "page": "https://listme.name/software/llama-cpp",
            "tagline": "C and C++ engine for running local LLMs, with a server and tools",
            "summary": "llama.cpp is an open-source C and C++ engine for running large language models locally, with a server, a library API and command-line tools. It is released under the MIT license.",
            "platforms": [
                "cli"
            ],
            "pricing": "open-source",
            "price_note": "Free and open source under the MIT license",
            "free_to_use": true,
            "open_source": true,
            "license": "MIT",
            "source": "https://github.com/ggml-org/llama.cpp",
            "strengths": [
                "MIT license with source on GitHub",
                "Runs many GGUF models on local hardware",
                "Includes a server and a library API"
            ],
            "limits": [
                "Needs command-line and build knowledge",
                "No built-in graphical app"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "overview": "llama.cpp is an inference engine for large language models, written in C and C++ and maintained under the ggml organization. Its repository describes it as LLM inference in C and C++ and includes a server, a library API and command-line tools for running GGUF model files on local hardware.\n\nMany other local AI tools build on it. The Jan and GPT4All projects in this category and the llamafile project all list llama.cpp among their foundations. Because it is a low-level engine, llama.cpp suits developers and people who are comfortable with the command line. Users who want a graphical app are better served by Jan or GPT4All. The MIT license allows commercial use and modification."
        },
        {
            "slug": "llamafile",
            "name": "llamafile",
            "kind": "app",
            "website": "https://github.com/mozilla-ai/llamafile",
            "page": "https://listme.name/software/llamafile",
            "tagline": "Single-file executables that bundle a language model and its runtime",
            "summary": "llamafile packages a language model and its runtime into one executable file that runs on macOS, Linux, Windows and BSD. It is an open-source project from Mozilla.ai under the Apache 2.0 license.",
            "developer": "Mozilla.ai",
            "platforms": [
                "cli",
                "macos",
                "linux",
                "windows"
            ],
            "pricing": "open-source",
            "price_note": "Free and open source under Apache 2.0; some changes are MIT licensed",
            "free_to_use": true,
            "open_source": true,
            "license": "Apache-2.0",
            "source": "https://github.com/mozilla-ai/llamafile",
            "strengths": [
                "Runs from a single file without installation",
                "Apache 2.0 licensed with source on GitHub",
                "Works on macOS, Linux and Windows"
            ],
            "limits": [
                "Windows cannot run executables over 4 GB",
                "Less convenient than a model manager for many models"
            ],
            "checked": "2026-10-10",
            "connected_to_publisher": false,
            "overview": "llamafile turns a model file into a single executable that can run without installing a separate runtime. The README shows examples for macOS, Linux and BSD, and it gives Windows users a rule that executables must be under 4 GB to run. The project builds on llama.cpp and whisper.cpp, and its speech feature is called whisperfile.\n\nThe project is licensed under Apache 2.0, and the README states that changes to llama.cpp and whisper.cpp are licensed under MIT. The single-file format is convenient for sharing a model with someone else, but larger models cannot run as a Windows executable. Compared with Ollama, llamafile is a file you run directly rather than a model library with a service behind it."
        }
    ],
    "differences": [
        "Only llamafile runs on Windows.",
        "Only llamafile runs on macOS.",
        "Only llamafile runs on Linux."
    ],
    "shared_rankings": [
        {
            "list": "local-llm-runners",
            "name": "Local LLM runners",
            "page": "https://listme.name/best/local-llm-runners",
            "of": 10,
            "results": [
                {
                    "product": "llama-cpp",
                    "rank": 2,
                    "score": 90,
                    "verdict": "The engine many local tools build on, with GGUF support, a server and a library API. It needs command-line comfort, so beginners will find Ollama or Jan easier.",
                    "best_for": "Developers who want a local inference engine",
                    "spec": {
                        "interface": "Command line and server",
                        "model_format": "GGUF model files",
                        "cloud_option": "Not applicable"
                    }
                },
                {
                    "product": "llamafile",
                    "rank": 8,
                    "score": 81,
                    "verdict": "Packages a model and its runtime into one executable that runs on macOS, Linux, Windows and BSD. Windows cannot run executables over 4 GB, which rules out larger models there.",
                    "best_for": "Sharing a model as a single portable file",
                    "spec": {
                        "interface": "Single executable",
                        "model_format": "Single-file model bundles",
                        "cloud_option": "Not listed"
                    }
                }
            ]
        }
    ],
    "ranks_higher_in_closest_shared_list": "llama-cpp",
    "page": "https://listme.name/compare/llama-cpp-vs-llamafile",
    "json": "https://listme.name/api/v1/compare/llama-cpp-vs-llamafile.json",
    "notes": [
        "Scores are editorial and only comparable inside one list. Products with connected_to_publisher true receive a disclosed ranking lift: https://listme.name/methodology"
    ],
    "source": "https://listme.name",
    "license": "Free to read and cite with attribution to listme.name.",
    "docs": "https://listme.name/developers"
}