Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

llamafile

> 数据库
Open source

Distribute and run LLMs with a single file.

25.5K stars0 likes2 views
WebsiteGitHub

About

Distribute and run LLMs with a single file.

llamafile

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:

bash
# 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.

Issues· 213 open

View all issuesOpen on GitHub
  • #1059

    Request: build provenance and attestations for v0.10.5 release assets

    Updated Sep 21, 2026
  • #1017

    Sandbox combined mode (TUI + server) instead of skipping entirely

    enhancementUpdated Sep 19, 2026
  • #980

    Follow-up to #978: dense-model CPU performance gap vs upstream llama.cpp

    Updated Sep 11, 2026
  • #1048

    Bug: --gpu nvidia and vulkan fail on older NVIDIA mobile GPUs (GTX 970M / Maxwell) on Windows

    bughigh severityUpdated Sep 5, 2026
  • #1047

    Bug: `/stats` command prints nothing in TUI chat

    buglow severityUpdated Sep 4, 2026
  • #931

    Improve Vulkan dylib speed

    enhancementUpdated Aug 11, 2026
  • #803

    Feature Request: Mobile support android / ios

    enhancementUpdated Jul 26, 2026
  • #938

    Bug: Vulkan support on Windows does not work consistently

    bughigh severityUpdated Jul 24, 2026
  • #438

    Is it possible for llamafile to use Vulkan or OpenCL Acceleration?

    request to lend supportUpdated Jul 24, 2026
  • #226

    GPU speed-up on Raspberry Pi 5

    request to lend supportvulkanUpdated Jul 24, 2026

> Tags

C++cross-platformggufllama-cpplocal-ai

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 30, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库