How to use from
Pi
Start the llama.cpp server
# Install llama.cpp:
brew install llama.cpp
# Start a local OpenAI-compatible server:
llama serve -hf majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0
Configure the model in Pi
# Install Pi:
npm install -g @mariozechner/pi-coding-agent
# Add to ~/.pi/agent/models.json:
{
  "providers": {
    "llama-cpp": {
      "baseUrl": "http://localhost:8080/v1",
      "api": "openai-completions",
      "apiKey": "none",
      "models": [
        {
          "id": "majentik/Qwen3-Embedding-4B-GGUF-Q8_0:Q8_0"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
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
34
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
(37)
this model