llamafile bundles llama.cpp and Cosmopolitan into one executable to run open LLMs locally without installation; whisperfile adds speech-to-text the same way.
Overview
llamafile lets you distribute and run large language models from a single file. Mozilla.ai continues a Mozilla Builders project that combines llama.cpp with Cosmopolitan Libc so complexity collapses into a llamafile executable that runs locally on many operating systems and CPU architectures without installation.
A llamafile contains model weights plus everything needed to run the model on your machine. The packaging supports multiple CPU microarchitectures, AMD64 and ARM64 in one artifact, and six operating systems including macOS, Windows, and Linux. Weights can be embedded using PKZIP support in GGML for memory-mapped loading.
whisperfile applies the same approach to whisper.cpp for audio transcription and translation across the same platforms. You can download pre-built llamafiles or create and distribute your own from compatible GGUF weights.
Windows users rename downloads with a `.exe` extension; executables over 4GB do not run on Windows, but smaller binaries can load external GGUF weights.
Key features
- Single-file LLM executables
- No install local inference
- Embedded or external GGUF weights
- Cross-OS Cosmopolitan packaging
- AMD64 and ARM64 builds
- whisperfile speech-to-text
- Pre-built downloadable llamafiles
- Tools to create custom llamafiles
Use cases
- Local LLM inference
- Portable model distribution
- Offline speech transcription
- Cross-platform AI binaries
- Developer-owned model packaging
Does the same job as
llamafile doesn't name these products itself, but its own description shows it does the same job.