{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "mozilla-ai-llamafile--run-a-local-llm-from-one-file",
 "repo": "mozilla-ai/llamafile",
 "repo_url": "https://github.com/mozilla-ai/llamafile",
 "repo_slug": "mozilla-ai-llamafile",
 "title": "Run a local LLM from a single file",
 "page_title": "How to run a local LLM from a single file with Llamafile",
 "summary": "Download a prebuilt Llamafile, make it executable and chat with a model offline.",
 "who": "Someone who wants to try a local model without installing Python, drivers or a model server.",
 "problem": "Local LLM setups usually mean installing runtimes, picking formats and fighting dependencies.",
 "outcome": "A model running on your own machine from one executable, with no installation.",
 "steps": [
  "Download the example model with `curl -LO https://huggingface.co/mozilla-ai/llamafile_0.10/resolve/main/Qwen3.5-0.8B-Q8_0.llamafile`",
  "Make it executable with `chmod +x Qwen3.5-0.8B-Q8_0.llamafile` on macOS, Linux or BSD",
  "Run it with `./Qwen3.5-0.8B-Q8_0.llamafile`",
  "On Windows, rename the file to add the .exe extension before running",
  "When it works, pick a larger model from the pre-built llamafiles page if your hardware allows"
 ],
 "agent_prompt": "Download the mozilla-ai/llamafile Qwen3.5 0.8B example, make it executable and run it. Then ask it <question> and tell me how fast it answered on this machine.",
 "agents": [
  "claude-code",
  "codex",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "10 minutes",
 "basis": "readme",
 "caveat": "The 0.8B example is chosen because it is the smallest; expect simple answers until you move to a bigger model.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "c++",
 "requirements": [
  "macOS, Linux, BSD or Windows on most CPU architectures",
  "Disk space and RAM for the model you download",
  "On Windows, only executables under 4GB run directly"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/mozilla-ai-llamafile/run-a-local-llm-from-one-file/",
 "md": "https://dedupedai.com/use-cases/mozilla-ai-llamafile/run-a-local-llm-from-one-file/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/mozilla-ai-llamafile--run-a-local-llm-from-one-file.json",
 "api_version": "v1"
}
