ガイドへ戻る
RUNTIME / EASY

llamafile

Distributing a whole GGUF model as one runnable executable on Linux, macOS, Windows and BSD

一次情報
DifficultyEasySetup profile
Platforms5cpu · apple · nvidia · amd · intel
APIOpenAI + Anthropic-compatible:8080
01 / INSTALL & RUN

Installation depends on your OS. These commands are examples or templates: replace placeholders and verify quantization, file format, drivers and runtime support. Memory fit does not guarantee deployment.

  1. 1
    InstallDownload a prebuilt .llamafile for your model, or the llamafile binary plus an external GGUF
  2. 2
    Start a model./llamafile -m <downloaded-model.gguf> -ngl 999
  3. 3
    Connect your app

    OpenAI + Anthropic-compatible · :8080. Keep the service bound to localhost unless you add authentication and network controls.

注意

Windows can only execute files under 4 GB, so larger models need the standalone binary with external GGUF weights. Vulkan covers Intel and other GPUs, but AMD multi-GPU offload can break.

02 / COMPATIBLE MODELS

代表的なオープンウェイトモデル

Alibaba Qwen

Qwen3.6 27B

27BQ4 / NVFP4 estimate
推定メモリ
~18.5 GB
コンテキスト
262K native
Alibaba Qwen

Qwen3.8 27B

27BQ4 estimate
推定メモリ
~19.5 GB
コンテキスト
262K native
Alibaba Qwen

Qwen3.6 35B-A3B

35B3B active · Q4 / NVFP4 MoE
推定メモリ
~25 GB
コンテキスト
262K native
DeepSeek

DeepSeek V4 Flash

284B13B active · Official FP4 + FP8 mixed
推定メモリ
~176 GB
コンテキスト
1M native
Google

Gemma 3 1B

1BINT4 / GGUF Q4
推定メモリ
~1.4 GB
コンテキスト
32K
Meta

Llama 3.2 3B

3BGGUF Q4
推定メモリ
~2.8 GB
コンテキスト
128K