# Galvanize-60M

> Galvanize-60M is the smallest open prompt-injection classifier: ModernBERT-base pruned to 4 layers, about 60M parameters, with an INT8 ONNX build, under Apache-2.0.

Galvanize-60M is the smallest of the Galvanize models. It was replaced in the zn API by Galvanize 2 and remains available with open weights under Apache-2.0.

- Architecture: ModernBERT-base pruned to 4 transformer layers, a 4-query attention pooling layer and a 2-layer MLP head. About 60M parameters, most of them in the token embeddings.
- Published with a dynamic INT8 ONNX graph (176.6 MB) and the FP32 weights it was produced from.
- Decision rule: block when the score is 0.95 or higher. Inputs are truncated to 512 tokens.

## Figures

From the model card: our private held-out test set of 3,309 examples (1,322 attacks and 1,987 benign texts) in 7 languages, measured on 11 October 2026 at threshold 0.95 with 512 tokens. The set is private, so third parties cannot reproduce the numbers exactly.

| Slice | Recall | False-positive rate | AUROC |
| --- | ---: | ---: | ---: |
| All | 66.9% | 6.4% | 0.899 |
| English | 76.2% | 9.0% | 0.902 |
| Spanish | 70.9% | 4.7% | 0.931 |
| German | 83.7% | 8.2% | 0.945 |

## Limits

- It catches fewer attacks and flags more harmless texts than the larger models. On the card, Galvanize-60M flags about 66% of long benign documents at the same threshold.
- Dynamic INT8 results vary slightly between CPU instruction sets, so individual scores near the threshold can flip.

## Links

- [Model card on Hugging Face](https://huggingface.co/usezn/Galvanize-60M)
- [All models](https://anghabar.com/zn/models.md)
