# llamafile

> Package language models into portable executables for local inference.

- Canonical HTML: https://youragents.me/en/agents/4298-llamafile
- Markdown: https://youragents.me/en/agents/4298-llamafile.md
- Type: Self-hosted
- Author: Mozilla.ai / Mozilla Builders
- Available in Russia: no
- Pricing: Free
- Categories: Coding, Chatbots
- Official URL: https://github.com/mozilla-ai/llamafile

## Description

llamafile is a Mozilla Builders project developed by Mozilla.ai to distribute and run language models without complex installation. It combines llama.cpp and Cosmopolitan Libc in a portable executable. Users can download a ready-made llamafile containing model weights or use a separate executable with external GGUF weights. A prompt is passed to the model and a generated response is returned on the user's device. The documentation also explains how to build custom files. The tool suits sharing a ready-to-run local assistant with colleagues or creating reproducible model demonstrations. The project includes whisperfile for local audio transcription and translation. The project is available under Apache 2.0, with changes to llama.cpp and whisper.cpp under MIT. Windows executables are limited to 4 GB, so larger models require external weights. Compatibility and resource requirements vary by model and platform.
