How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
# Run inference directly in the terminal:
llama cli -hf majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
# Run inference directly in the terminal:
llama cli -hf majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
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 majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
# Run inference directly in the terminal:
./llama-cli -hf majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
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 majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
# Run inference directly in the terminal:
./build/bin/llama-cli -hf majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
Use Docker
docker model run hf.co/majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
Quick Links

Qwen3-Embedding-4B GGUF Q8_0

llama.cpp GGUF Q8_0 quantization of Qwen/Qwen3-Embedding-4B.

  • Produced with: llama-quantize (upstream llama.cpp, April 2026 build)
  • BF16 source converted via convert_hf_to_gguf.py from the fresh llama.cpp tree
  • Quant type: Q8_0
  • File size: 4.0 GB

Quickstart

llama-embedding -m qwen3-emb-4b-Q8_0.gguf \
  -p "What is the capital of France?"

Or via llama-cpp-python:

from llama_cpp import Llama
llm = Llama(model_path="qwen3-emb-4b-Q8_0.gguf", embedding=True)
vec = llm.embed("What is the capital of France?")

License

Apache 2.0 — inherited from the upstream base model.

See also

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

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for majentik/Qwen3-Embedding-4B-GGUF-Q8_0

Quantized
(46)
this model

Collection including majentik/Qwen3-Embedding-4B-GGUF-Q8_0