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 UlukaDev/saturn-31b-Q4_K_M-GGUF:Q4_K_M
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": "UlukaDev/saturn-31b-Q4_K_M-GGUF:Q4_K_M"
        }
      ]
    }
  }
}
Run Pi
# Start Pi in your project directory:
pi
Quick Links

Saturn 31B — Q4_K_M GGUF

A fine-tune of Gemma 4 31B (dense, instruct), trained on Fireworks AI and merged + quantized to Q4_K_M GGUF for local inference with llama.cpp.

Built for app and UI generation — HTML, frontend components, and small self-contained web applications.

License summary

You may use this model to build and ship applications, including commercial ones. You may not resell or redistribute the model weights themselves as a product, or present the model as your own. This model is a derivative of Google Gemma 4 and remains subject to the Gemma Terms of Use, which apply in addition to the terms below. See the LICENSE file for full text.

Specs

  • Base: google/gemma-4-31B-it (text-only export)
  • Quant: Q4_K_M (~4.87 bpw, ~17.4 GB)
  • Context: up to 262,144 tokens

Recommended hardware

Total memory (VRAM + RAM) should exceed the file size (~17.4 GB).

  • ~24 GB+ VRAM (RTX 3090/4090): full GPU offload, fast
  • 16 GB VRAM: partial offload, usable
  • CPU-only: works, but very slow

Run with llama.cpp

``` llama-server -m saturn-31b-Q4_K_M.gguf -ngl 99 -c 32768 --jinja ```

Gemma 4 has a thinking mode; disable with `--chat-template-kwargs '{"enable_thinking":false}'` for direct answers.

Downloads last month
470
GGUF
Model size
31B params
Architecture
gemma4
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for UlukaDev/saturn-31b-Q4_K_M-GGUF

Quantized
(281)
this model