Skip to content

llamafile

Run open LLMs locally from one executable file on Windows, macOS, Linux and BSD

Permissive (OSI) · Apache-2.0 AI-native

Listed by , founder & editor

59

Health

Active

Overview

Stars

26,710

Last commit

18 days ago

Nov 2026

Repository age

3 years

since Sep 2023

Latest version

0.10.6

Sep 2026

Contributors

–

8 active in 90 days

Releases

7

last 12 months

Language

C++

llamafile packages a language model and the software to run it into a single executable. It combines llama.cpp with Cosmopolitan Libc, so the same file runs on most operating systems and CPU architectures without an install step. It is a Mozilla Builders project, now maintained by Mozilla.ai, and written in C++.

You download a prebuilt llamafile, mark it executable on macOS, Linux or BSD, and run it. On Windows you rename it to end in .exe. Windows limits executables to 4GB, so larger models need the plain llamafile binary with a separate GGUF weights file. The project also includes whisperfile, a single-file speech-to-text tool built on whisper.cpp that transcribes and translates audio.

Versions from 0.10.0 use a new build system that tracks recent llama.cpp more closely. That brings newer models but drops some older features, and the earlier releases stay available. The code is Apache 2.0, and the changes to llama.cpp and whisper.cpp are MIT. It suits people who want a local alternative to hosted chat and transcription services.

Who it's for

Developers who want to ship a local model with an app

One file carries the model and runtime, so recipients install nothing.

Skip if: You need a full model management server with many models loaded at once.

Privacy-conscious users running chat on their own machine

Inference runs locally from a file you download once.

Skip if: You want a polished desktop app with a graphical model browser.

People transcribing audio without a cloud service

Whisperfile handles transcription and translation of audio files locally.

Skip if: You need live captions or speaker labeling built in.

The problem it solves

Running an open LLM usually means installing a runtime, finding compatible weights and matching them to your hardware. Sharing a model with someone else repeats that work. llamafile reduces it to downloading and running one file.

Strengths

  • One executable runs on most operating systems and CPU architectures
  • No installation step; download, mark executable, run
  • Includes whisperfile for local speech-to-text and translation
  • Apache 2.0 license for the project code
  • Active releases, 7 in the last year

Trade-offs

  • Windows cannot run executables over 4GB, so large models need external GGUF weights
  • Versions 0.10 and later may lack some features from earlier releases
  • Small bundled example model is modest in quality; larger models need stronger hardware

Self-host llamafile

Self-hostable
Yes
Hosted plan
From $4/month · pricing

Quick start

# Download an example model (Qwen3.5 0.8B)
curl -LO https://huggingface.co/mozilla-ai/llamafile_0.10/resolve/main/Qwen3.5-0.8B-Q8_0.llamafile

# Make it executable (macOS/Linux/BSD)
chmod +x Qwen3.5-0.8B-Q8_0.llamafile

# Run it
./Qwen3.5-0.8B-Q8_0.llamafile

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is llamafile free?

Yes. The code is Apache 2.0 licensed, with changes to llama.cpp and whisper.cpp under MIT.

Which platforms does it run on?

It runs on most operating systems and CPU architectures, including macOS, Linux, BSD and Windows.

Why does my large llamafile fail on Windows?

Windows only runs executables under 4GB. Use the llamafile binary with an external GGUF model file instead.

Can I still use the older version?

Yes. Releases before 0.10 remain on the releases page.

Similar tools in Local LLM runtimes

lemonade

Local LLM runtimes

Local AI server for chat, images, and speech on your own CPU, GPU, or AMD NPU

6.3k 574 today Thriving Apache-2.0

inference

Local LLM runtimes

Distributed platform for serving LLMs and other models behind OpenAI-compatible APIs

9.7k 905 today Thriving Apache-2.0

ds4

Local LLM runtimes

Native inference engine for running a few large open-weight models on Macs and CUDA boxes

24k 2.4k 20 days ago Slowing MIT

omlx

Local LLM runtimes

Menu bar LLM server for Apple Silicon Macs with continuous batching and SSD KV cache

24k 2.2k today Thriving Apache-2.0

mistral.rs

Local LLM runtimes

Rust LLM inference engine with OpenAI and Anthropic compatible APIs for local models

7.9k 774 3 days ago Thriving MIT

dynamo

Local LLM runtimes

Multi-node LLM serving layer for GPU clusters, built on vLLM, SGLang and TensorRT-LLM

8.6k 1.9k today Active Apache-2.0