llamafile

Single-file executables that bundle a language model and its runtime

81.0
Score in best local LLM runners
Check github.com (opens in a new tab)AlternativesCompareShare

Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.

Ranked 8 of 10 in best local LLM runners

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

About llamafile

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.

The 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.

Key features

  • Single-file executables
  • Built on llama.cpp
  • Whisperfile speech feature
  • Apache 2.0 license

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

Where llamafile ranks

How llamafile compares

ProductScorePricePlatformsInterfaceModel formatCloud option
#6KoboldCpp84.5Free and open sourceWindowsLinuxmacOSWeb interface (KoboldAI Lite)GGUFNot listed
#7textgen82.5Free and open sourceLinuxWindowsmacOSDesktop appLocal models loaded from diskNot listed
#8llamafile81.0Free and open sourceCommand linemacOSLinuxWindowsSingle executableSingle-file model bundlesNot listed
#9MLX LM80.0Free and open sourcemacOSCommand lineCommand line and PythonMLX format modelsNot listed
#10LocalAI79.0Free and open sourceSelf-hostedSelf-hosted serverSeveral model typesNot listed

The full comparison table for best local LLM runners has all 10 products.

Questions about llamafile

Is llamafile free?
llamafile can be used without paying: Free and open source under Apache 2.0; some changes are MIT licensed. Check the vendor’s pricing page for current limits.
Is llamafile open source?
Yes. llamafile publishes its source code under the Apache-2.0 license.
Which platforms does llamafile support?
llamafile is available on: Command line, macOS, Linux, Windows.
What is llamafile best for?
Sharing a model as a single portable file. In our ranking of local LLM runners it is number 8 of 10 with a score of 81.0.
What are the best alternatives to llamafile?
The highest-ranked alternatives on listme.name are Ollama, llama.cpp, LM Studio, GPT4All.

Show this ranking on your site

If you make or maintain llamafile, this badge links back to this page and shows its current rank. It updates when the ranking does.

Ranked #8 of 10 local LLM runners on listme.name
<a href="https://listme.name/software/llamafile"><img src="https://listme.name/badge/llamafile.svg" height="28" alt="Ranked #8 of 10 local LLM runners on listme.name"></a>