zn / Models

Galvanize models

Galvanize is a family of open prompt-injection classifiers under Apache-2.0: Galvanize 3.1 is the current model, with Galvanize 3, Galvanize 2 and Galvanize-60M as earlier models that remain available.

Galvanize is a family of prompt-injection classifiers: models that score a piece of text for text that tries to change what an AI model or agent does. All weights are open under Apache-2.0.

The models

Model Current / Apache-2.0

Galvanize 3.1

The default detector of the zn API. About 140M parameters, up to 512 tokens, threshold 0.9017.

Model Earlier / Apache-2.0

Galvanize 3

The model Galvanize 3.1 is further trained from. About 140M parameters, threshold 0.9802.

Model Earlier / Apache-2.0

Galvanize 2

It served the zn API from 12 to 23 October 2026. About 141M parameters.

Galvanize 3.1 and Galvanize 3

Figures from the Galvanize 3.1 model card, quoted as published. Both models ran with the same code on the same texts. The multilingual test set is private and was used during model selection, so treat it as a development benchmark, not a clean final exam.

Galvanize 3.1 (current)Galvanize 3 (earlier)
Attacks caught96.4%89.6%
Short harmless texts flagged1.9%0.6%
Long harmless documents flagged (658 texts, first 512 tokens)1.2%2.9%
Multilingual attacks caught at 1% false alarms78.8%60.6%
PromptShield, attacks caught at 1% false alarms31.9%35.4%

Galvanize 3.1 catches more attacks and flags more short harmless texts. On PromptShield at a strict 1% false-alarm budget it is worse than Galvanize 3. If a false alarm costs you more than a missed attack, choose a higher threshold on your own data, or stay on Galvanize 3.

How they relate

Diagram. Galvanize 3.1 is further trained from Galvanize 3, which is fine-tuned from Horizon Labs' prompt-injection-guard-small, which is built on mmBERT-small.
Galvanize 3.1 is further trained from Galvanize 3, which is fine-tuned from Horizon Labs' prompt-injection-guard-small. Thank you to Horizon Labs for releasing it openly.

Limits

A classifier can be evaded. Use these models as one layer among several, not as the only control in front of an irreversible action. Figures and limits are on each model card.