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 sriram1983007/SRA-RiskGate-4B-GGUF:
# Run inference directly in the terminal:
llama cli -hf sriram1983007/SRA-RiskGate-4B-GGUF:
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf sriram1983007/SRA-RiskGate-4B-GGUF:
# Run inference directly in the terminal:
llama cli -hf sriram1983007/SRA-RiskGate-4B-GGUF:
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf sriram1983007/SRA-RiskGate-4B-GGUF:
# Run inference directly in the terminal:
./build/bin/llama cli -hf sriram1983007/SRA-RiskGate-4B-GGUF:
Use Docker
docker model run hf.co/sriram1983007/SRA-RiskGate-4B-GGUF:
Quick Links

SRA-RiskGate-4B (GGUF)

GGUF builds of SRA-RiskGate-4B, a 4B model that checks a stablecoin payment before an AI agent sends it and answers approve, hold or reject. For llama.cpp, LM Studio, Ollama and similar.

📄 Paper: preprint on Zenodo · full write-up on Ready Tensor · discuss on alphaXiv

File Size Notes
SRA-RiskGate-4B-Q8_0.gguf 4.3 GB Closest to full precision
SRA-RiskGate-4B-Q6_K.gguf 3.3 GB
SRA-RiskGate-4B-Q5_K_M.gguf 2.9 GB
SRA-RiskGate-4B-Q4_K_M.gguf 2.5 GB Smallest recommended for gating real payments; the build behind the Ollama model

The benchmark results on the main model card were measured on the full-precision model. These quantized builds have not been benchmarked separately. Dispute adjudication is the most likely to degrade, so prefer Q8_0 or the full model for disputes.

Run it

Ollama (payment risk-gate system prompt, temperature 0 and an 8K context built in):

ollama run sriram1983007/sra-riskgate

llama.cpp:

llama-server -hf sriram1983007/SRA-RiskGate-4B-GGUF:Q4_K_M -c 8192 --temp 0

LM Studio: search for SRA-RiskGate-4B-GGUF, pick a file, and set temperature to 0.

Use the exact training prompt format from the main model card: the system prompt, then Evaluate this stablecoin payment. with the <context>, <payload> and <tool_results> blocks. Treat any answer that isn't a valid verdict as a hold.

More quantization sizes, including imatrix builds, are available from mradermacher: static and imatrix, and from tinyopsec: SRA-RiskGate-4B-GGUF (Q2_K to F16; builds below Q4 have not been evaluated).

📄 Citation

@misc{ramakrishnan2026srariskgate,
  author    = {Sriram Ramakrishnan},
  title     = {SRA-RiskGate: A Benchmark and a 4B Model for Gating Stablecoin Payments Made by AI Agents, and the Checks the Model Still Needs},
  year      = {2026},
  publisher = {Zenodo},
  doi       = {10.5281/zenodo.23715017},
  url       = {https://doi.org/10.5281/zenodo.23715017}
}

Full write-up: Ready Tensor.


License

Apache 2.0

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

4-bit

5-bit

6-bit

8-bit

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

Model tree for sriram1983007/SRA-RiskGate-4B-GGUF

Quantized
(5)
this model

Dataset used to train sriram1983007/SRA-RiskGate-4B-GGUF

Collection including sriram1983007/SRA-RiskGate-4B-GGUF