How to use from
llama.cpp
Install from brew
brew install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf lm-kit/gemma-3-4b-instruct-gguf:
# Run inference directly in the terminal:
llama-cli -hf lm-kit/gemma-3-4b-instruct-gguf:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama-server -hf lm-kit/gemma-3-4b-instruct-gguf:
# Run inference directly in the terminal:
llama-cli -hf lm-kit/gemma-3-4b-instruct-gguf:
Use pre-built binary
# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf lm-kit/gemma-3-4b-instruct-gguf:
# Run inference directly in the terminal:
./llama-cli -hf lm-kit/gemma-3-4b-instruct-gguf:
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf lm-kit/gemma-3-4b-instruct-gguf:
# Run inference directly in the terminal:
./build/bin/llama-cli -hf lm-kit/gemma-3-4b-instruct-gguf:
Use Docker
docker model run hf.co/lm-kit/gemma-3-4b-instruct-gguf:
Quick Links

Model Summary

This repository hosts quantized versions of the Gemma 3 4B instruct model.

Format: GGUF
Converter: llama.cpp 7841fc723e059d1fd9640e5c0ef19050fcc7c698
Quantizer: LM-Kit.NET 2025.3.4

For more detailed information on the base model, please visit the following link

Downloads last month
674
GGUF
Model size
4B params
Architecture
gemma3
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support