Icon for llamafile

llamafile

Open Source Free Trial

Single-file executables that run LLMs locally on Linux, macOS, Windows and BSD with an OpenAI-compatible server

llamafile, from Mozilla.ai, packages an LLM's weights and runtime into one executable built with Cosmopolitan Libc. The same file runs on Linux, macOS, Windows and the BSDs, on x86-64 and ARM64, with no install step. It can also load any external GGUF model.

Running it opens a terminal chat, a local web UI and an API on port 8080 compatible with the OpenAI and Anthropic Messages APIs. GPU offload works through Metal, CUDA, ROCm and Vulkan, with CPU fallback. Apache-2.0 licensed.

Pricing: Free

Hosting Self-hosted
Pricing Free, Free
License APACHE-2.0
Screenshot of llamafile webpage

Work on llamafile? Feature it at the top of Frameworks & Stacks.

Is your product missing?

Add it here →