metadata.usecase field. Each request is shown for both the Responses API and the OpenAI-compatible Chat Completions API.
gliner-multi-pii-v1
GLiNER Multi PII is a multilingual PII detection and redaction model that supports on-prem deployments as well. It identifies 40+ personally identifiable entity types — identity, contact, government IDs, financial, medical and more. It works natively across six languages: English, French, German, Spanish, Italian, and Portuguese, so a single model covers multi-market and cross-border data without separate per-language pipelines. Built for zero-shot label, it accepts custom label sets at inference time and supports curated PII catalogues, redaction with label or character masks, and generic NER with user-supplied labels.References: Model docs • Terms • Privacy
Redaction
Setmetadata.usecase to redact and metadata.mask to label to replace detected PII in place with [LABEL] placeholders.
Response
Extraction
Setmetadata.usecase to extract-pii to detect PII without modifying the source text. Narrow results with categories and a confidence threshold.
Response
gliner2-base-v1
gliner2-base-v1 is a versatile extraction-and-classification model for the structured tasks that fill most production pipelines. Point it at any text and, with a single API call, pull named entities by your own labels, populate a typed JSON schema straight from messy input, or classify by sentiment, intent, or topic. No fine-tuning and no prompt engineering, just a label set or schema at inference time. Because it’s purpose-built and CPU-optimized, it runs faster and cheaper than routing this work to a general-purpose frontier model. Reach for gliner-multi-pii-v1 when the job is dedicated PII redaction. When you need clean structure out of raw text, this is the model.References: Model docs • Terms • Privacy
Entity extraction
Setmetadata.usecase to ner and pass your own labels to extract named entities.
Response
Structured JSON extraction
Setmetadata.usecase to json and define a schema of field::type::description entries to pull structured records out of free text.
Response
Classification
Setmetadata.usecase to classification and supply a schema mapping each axis to its allowed labels.
Response

