Skip to main content
GLiNER2-PII is our open-source small language model for detecting and redacting personally identifiable information (PII). At 300 million parameters, it identifies 42 fine-grained PII entity types across 7 languages in a single forward pass.

Inference GLiNER2-PII in Pioneer

POST /v1/chat/completions Runs GLiNER2-PII over the supplied messages and returns the entities defined in schema. Pioneer exposes an OpenAI-compatible endpoint at https://api.pioneer.ai/v1, so you call GLiNER2-PII through the standard chat completions route using the model ID fastino/gliner2-privacy-filter-PII-multi. Request body
string
required
The GLiNER2-PII model ID: fastino/gliner2-privacy-filter-PII-multi.
object[]
required
The text to scan for PII, in standard OpenAI chat format.
object
required
The extraction schema. Contains an entities array listing the PII types to detect. Pass any subset of the 42 supported types (see the label table below). The example detects person, email, and phone_number.
boolean
Return a confidence score for each detected entity. Set to true in the example.
boolean
Return the character spans for each detected entity. Set to true in the example.

Example: PII detection

This request detects three entity types person, email, and phone_number in a single user message.

What GLiNER2-PII detects

GLiNER2-PII recognizes 42 fine-grained PII entity types, organized into seven groups. Supported languages: English, French, Spanish, German, Italian, Portuguese, and Dutch.