catalog / DevOps & Infra / llamafile
ModelDevOps & InfraFree

llamafile

Ship an entire LLM as a single self-contained executable — one file, every OS, no install needed.

Installationen210k
Bewertung★ 4.7
Rezensionen70
Quell-Repository

llamafile

llamafile, developed by Mozilla, lets you distribute and run large language models as a single executable file using Cosmopolitan Libc. The same binary runs natively on macOS, Windows, Linux, FreeBSD, and NetBSD — no Python, no Docker, no dependencies. It bundles llama.cpp with a small local web UI and an OpenAI-compatible server.

Key Features

  • Single binary: model weights + runtime in one .llamafile executable file
  • Universal binary: one build, six operating systems, x86-64 and ARM64
  • Built-in web UI: chat interface available at http://localhost:8080
  • OpenAI-compatible API for easy integration
  • GPU acceleration: CUDA, Metal, and ROCm support when available
  • Zero install: just chmod +x and run

Quick Start

# Download a llamafile (e.g., Mistral)
curl -LO https://huggingface.co/Mozilla/Mistral-7B-Instruct-v0.2-llamafile/resolve/main/mistral-7b-instruct-v0.2.Q4_0.llamafile
chmod +x mistral-7b-instruct-v0.2.Q4_0.llamafile

# Run (opens browser + API server)
./mistral-7b-instruct-v0.2.Q4_0.llamafile

Install via ai-supply

npx ai-supply add llamafile-single-file-llm

Curated mirror of the open-source llamafile (Apache-2.0). Get it from the source.

More from @ai-supply

View profile →
Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
900k4.9
Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
820k4.9
Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
820k4.8
Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
760k4.7