Discover / Token & Cost Optimization
llamafile
by Mozilla-OchoC++
Single file executables that run LLMs locally without heavy infrastructure or API cost.
Maturity: experimental because latest release 0.10.4 is pre 1.0. Derived from release and commit history, not a rating.
- Stars
- 25k
- Forks
- 1.5k
- Downloads / mo
- —
- Last commit
- 2026-07-31
- License
- NOASSERTION
- Open issues
- 215
Market and trust evidence
Edition not yet matchedNo exact skills.sh identity match is available for this repository. Repository adoption and freshness remain visible above; install momentum is not inferred.
Trust analysis is a screening signal, not a security warranty. Read the ranking and trust methodology.
In practice
Written by AI from this repository’s README · high confidenceGetting a local model running without installing a Python stack, drivers, or a separate inference server per platform.
Use it when
Use it when you want to hand someone a single file that runs a model or a speech to text tool on their own machine.
Not the right pick when
Not usable on Windows for large models, since the README notes only executables under 4GB can run there.
Capabilities
- single file executable that runs locally with no installation
- combines llama.cpp with Cosmopolitan Libc
- whisperfile for speech to text transcription and translation
- can run with external GGUF weights
- pre-built llamafiles published on Hugging Face
Requirements
- Windows users must rename the file to add a .exe extension
- Executables above 4GB will not run on Windows
Cost: Free and open source
Video walkthroughs
Run Offline LLMs on Android : LlamaFile Edition
Run your own large language model with Mozilla's Llamafile
Third-party YouTube uploads matched to this tool by title, channel and repository name on 2026-08-03. Not made, reviewed or endorsed by SkillPilot. View counts and publish months are as of the match date and the month is approximate. Nothing loads from YouTube until you press play.
What the repository ships
Detected from the actual files in the repository root.
Latest release 0.10.4
Published 2026-07-16
What's Changed
The most exciting feature that this release of llamafile brings is the first version of transcribefile! 🎉 Our transcribefile is nothing more than a cosmocc-build of the CLI tool from transcribe.cpp, @cjpais' ggml-based Speech-to-Text library that supports 16+ model families 💙 For more details, see CJ's post and Mozilla.ai's annoucement.
In addition to this, a new sync with upstream llama.cpp (which will be soon replaced by a more recent one, as I let too much time pass before the release 😬); few improvements to Vulkan and ROCm acceleration; HTTPS support (both for the server and to download models from HF given their IDs); and pledge/SECCOMP sandboxing.
Thanks everyone for improving llamafile with issues and PRs!
- Probe GPU device count out-of-process on Windows (#988 follow-up) by @aittalam in https://github.com/mozilla-ai/llamafile/pull/994
- docs: redirect GitHub Pages docs to GitBook by @angpt in https://github.com/mozilla-ai/llamafile/pull/993
- ROCm shell script improvements by @aittalam in https://github.com/mozilla-ai/llamafile/pull/995
- docs(support): add GPU backend status table & acceleration verification (#996) by @Anai-Guo in https://github.com/mozilla-ai/llamafile/pull/997
- skill: guardrail llama.cpp update workflow with patch commands by @aittalam in https://github.com/mozilla-ai/llamafile/pull/998
- Update llama.cpp to b9747 (d6d8995) by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1000
- chore: upgrade and digest pin all action digests by @RichardoC in https://github.com/mozilla-ai/llamafile/pull/1002
- CPU / GPU fixes + harness for upstream ggml's test-backend-ops by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1004
- vulkan: clearer message when --gpu vulkan is explicitly unavailable by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1006
- Fixes CTRL+C bug in chat mode by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1009
- transcribefile: CPU build of transcribe.cpp + sync to df1a4ad by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1007
- Updated runner to 16-core by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1005
- transcribefile: Metal GPU support via llamafile's runtime loader by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1010
- Add HTTPS support via cpp-httplib's mbedtls backend by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1011
- feat(help): list all accepted llama.cpp options in --help by @RichardoC in https://github.com/mozilla-ai/llamafile/pull/1003
- Bring back pledge/SECCOMP sandboxing (#930) by @aittalam in https://github.com/mozilla-ai/llamafile/pull/1015
New Contributors
- @Anai-Guo made their first contribution in https://github.com/mozilla-ai/llamafile/pull/997
- @RichardoC made their first contribution in https://github.com/mozilla-ai/llamafile/pull/1002
Full Changelog: https://github.com/mozilla-ai/llamafile/compare/0.10.3...0.10.4
Tags
README
llamafile
<img src="docs/images/llamafile-640x640.png" width="320" height="320"
alt="[line drawing of llama animal head in front of slightly open manilla folder filled with files]">
llamafile lets you distribute and run LLMs with a single file.
llamafile is a Mozilla Builders project (see its announcement blog post), now revamped by Mozilla.ai.
Our goal is to make open LLMs much more
accessible to both developers and end users. We're doing that by
combining llama.cpp with Cosmopolitan Libc into one
framework that collapses all the complexity of LLMs down to
a single-file executable (called a "llamafile") that runs
locally on most operating systems and CPU architectures, with no installation.
llamafile also includes whisperfile, a single-file speech-to-text tool built on whisper.cpp and the same Cosmopolitan packaging. It supports transcription and translation of audio files across all the same platforms, with no installation required.
v0.10.*
llamafile versions starting from 0.10.0 use a new build system, aimed at keeping our code more easily
aligned with the latest versions of llama.cpp. This means they support more recent models and functionalities,
but at the same time they might be missing some of
the features you were accustomed to (check out this doc for a high-level description of what has been done). If you liked
the "classic experience" more, you will always be able to access the previous versions from our
releases page. Our pre-built llamafiles always
show which version of the server they have been bundled with (0.9. example, 0.10. example), so you will always know
which version of the software you are downloading.
We want to hear from you!
Whether you are a new user or a long-time fan, please share what you find most valuable about llamafile and what would make it more useful for you.
Read more via the blog and add your voice to the discussion here.
Quick Start
Download and run your first llamafile in minutes:
# 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
We chose this model because that's the smallest one we have
built a llamafile for, so most likely to work out-of-the-box for you.
If you have powerful hardware and/or GPUs, feel free to choose
larger and more expressive models which should provide more accurate
responses.
Windows users: Rename the file to add .exe extension before running.
Note - Only executables under 4GB can run on Windows, so any llamafile above 4GB won't work. Download the llamafile binary and run it with any external weights/models(GGUF).
Documentation
Check the full documentation at docs.mozilla.ai/llamafile, or directly jump into one of the following subsections:
- Quickstart
- Pre-built llamafiles
- Running a llamafile
- Creating llamafiles
- Source installation
- Technical details
- Supported Systems
- Troubleshooting
- Whisperfile
Licensing
While the llamafile project is Apache 2.0-licensed, our changes
to llama.cpp and whisper.cpp are licensed under MIT (just like the projects
themselves) so as to remain compatible and upstreamable in the future,
should that be desired.
The llamafile logo on this page was generated with the assistance of DALL·E 3.