Head to head · PII detection · October 2026 research run

Presidio vs Mistral Moderation API

Presidio scores 68.6 (B) on agent readiness against Mistral Moderation API's 63.1 (B), and leads in 2 of 7 scored categories. Mistral Moderation API leads on schema & documentation, agent ergonomics, security & auth, maintenance & community and transparency & trust. Both do pii detection.

Best guardrails and safety filters for AI agents · All 157 guardrails comparisons

Which one, for what

Presidio B

Best for Detecting and masking personal data in prompts, outputs, logs and images on the owner's own machines, with detection tuned by entity, threshold and custom recognisers.

Ahead on

  • Reliability, 78 against 43
  • Payments & pricing, 90 against 60

Also in its favour

  • No key needed to call it
  • Open source

Watch for

The REST containers have no authentication by design. The FAQ says to put a gateway or proxy in front

Mistral Moderation API B

Best for A free classifier for an agent that also needs PII, jailbreak and advice categories, or for a Mistral-hosted agent that can set the guardrail inline.

Ahead on

  • Schema & documentation, 88 against 71
  • Agent ergonomics, 75 against 69
  • Security & auth, 70 against 53
  • Maintenance & community, 83 against 78
  • Transparency & trust, 80 against 67

Also in its favour

  • A hosted endpoint, with nothing to install

Watch for

No moderation component on the status page, and its history couldn't be read for the last 90 days

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Presidio +35

Presidio 78

Local-software reading. Installs from PyPI as presidio-analyzer and presidio-anonymizer. Since 2.2.366 (27 October 2026) the packages require Python 3.11 to 3.14, per the PyPI page and the package metadata (20). Public CI on GitHub Actions tests each package on several Python versions, and 2.2.366 added e2e runs against the distroless images. Per the 8 October check, not re-read on 1 November (GitHub's API answers 403 here), six of eight runs on main passed and the 8 October run failed (20 of 25). Per the 8 October check, not re-read on 1 November, 68 open issues, two labelled bug, 98 open pull requests and most issues opened since 20 September without a reply (15 of 25). Every release counts up as 2.2.x, and 2.2.366 renames the hf_token_pipe spaCy factory in a patch number. CHANGELOG.md now has sections for 2.2.364, 2.2.365 and 2.2.366 and calls out the rename (8 of 15). Version 2.2.366, past 1.0, though the image redactor package is 0.0.62 (15). 20+20+15+8+15 = 78.

Mistral Moderation API 43

status.mistral.ai runs on Rootly with 90-day uptime bars per component, but none of its components is for moderation, per the 1 October check (10 of 20, our call for a status page that doesn't cover the endpoint). The page has answered with a Cloudflare bot check since 8 October, robots.txt included on 4 November, so the host is treated as blocked and the 90 days from 6 August were not read (5, unread and not a finding against the vendor), as the other Mistral listings read it. The usage and limits page says API rate limits are shown in the Admin Panel, with no published numbers (3 of 15, as the other Mistral listings read the same page). The error glossary tells callers to back off exponentially on 429, 500, 502, 503 and 504 and to check the Retry-After header, and the official SDKs retry with backoff. The zero data retention page lists /v1/moderations and /v1/chat/moderations as stateless calls, so no write is involved (15, as the OCR and transcription listings). No SLA found (0). mistral-moderation-2603 is GA (10). 10+5+3+15+0+10 = 43.

Payments & pricing Presidio +30

Presidio 90

MIT-licensed package the owner runs, with no hosted or paid option from the project, read with the self-hosted rule. 20 for pricing, 20 for a free start and 20 for use without an account or key. No x402, MPP or L402 in the docs or source (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Mistral Moderation API 60

No x402, MPP or L402 (0). Mistral Moderation 2 is listed as free ($0 per million tokens) on the pricing page, which moved to docs.mistral.ai/inference/pricing, re-read on 4 November (20). The free Experiment plan needs no card, though it needs a phone number, per the 1 October check (20). A person signs up in a browser and verifies a phone (0). 0+20+20+0 = 40. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 40 is 60.

Schema & documentation Mistral Moderation API +17

Presidio 71

API reading for the REST services. An OpenAPI 3.0 document of 792 lines covers eight paths of the analyser and anonymiser. The image redactor's /redact is not in it (22 of 25). presidio.dataprivacystack.org/llms.txt returns 404 on 1 November 2026 (0). Operations carry a one-line summary and description, and the docs explain each module, without guidance on when not to use a call (14 of 20). Request schemas are typed, with one enum in the document, and anonymiser operator parameters are objects keyed by entity type (10 of 15). Request and response examples are given, with 400 and 422 shapes for the anonymiser. The analyser's 500 on missing text is not in the document (11 of 15). Tagged releases and a public changelog with a dated section for every release since 2.2.364, which the 8 October check found missing. The document's own version still reads 2.0 (14 of 15). 22+0+14+10+11+14 = 71.

Mistral Moderation API 88

OpenAPI document at docs.mistral.ai/openapi.yaml, per the 1 November reading on the Mistral API listing (25). llms.txt and Markdown twins of every page, re-read on 4 November (10). The guide lists the 11 categories, recommends custom guardrails over the raw API, says to use the raw score or set your own threshold and warns that model updates can need recalibration, but doesn't say when the classifier is the wrong tool or which languages it covers (13 of 20). model and input are typed, input takes a string or an array, and the chat endpoint takes typed messages (12 of 15). Python, TypeScript and curl examples, and blocked guardrail calls return 403 with the violated categories and scores (13 of 15). Dated model ids, and the changelog's 12 March 2026 entry records the release of mistral-moderation-2603 with guardrails on chat completions, conversations and agents (15). 25+10+13+12+13+15 = 88.

Security & auth Mistral Moderation API +17

Presidio 53

Local-software reading. The REST services have no authentication, and the FAQ says this is by design and that a gateway, proxy or service mesh should sit in front (10 of 30). The analyser only reads text and returns spans. The anonymiser returns a transformed copy and deletes nothing. There are no roles or approval steps (12 of 20). It returns positions, types and scores for the caller's own text, not content from third parties (10). Requests accept a correlation_id that is written to the service log, and return_decision_process explains each match. No audit log beyond that (9 of 15). SECURITY.md routes reports to GitHub private vulnerability reporting with acknowledgement in 48 hours, CodeQL runs in CI and workflow actions are pinned to commit hashes. No published advisories, no bug bounty and no security.txt (12 of 20).

Mistral Moderation API 70

Read on the same pages as the other Mistral listings. Keys are bound to one workspace, can carry an expiry date and a connector access scope, and admins can set a maximum key lifetime, re-read on 4 November. A key can't be limited to moderation (26 of 30). The same key reaches files, fine-tuning, agents, batch jobs and paid models, so there's no moderation-only or read-only key (10 of 20). A jailbreaking category in the classifier, one score rather than a document-aware injection check (12 of 15). Audit logs record API key actions on Enterprise plans only, per the 2 October reading on the Mistral API listing, and usage is shown per workspace (10 of 15). security.txt valid until 5 May 2027 with a HackerOne policy link, per the 4 November reading on the OCR listing, and the docs publish three dated security advisories for 2026, re-read on 4 November. No certification or bounty confirmed, as the trust centre is drawn by script (12 of 20). 26+10+12+10+12 = 70.

Transparency & trust Mistral Moderation API +13

Presidio 67

MIT licence, with the copyright line changed from Microsoft Corporation to Presidio Contributors in July 2026 (30). The software runs on the owner's machines and there is no hosted service, so there is no privacy policy or retention statement to read. The docs say which optional recognisers call outside services (Azure AI Language, Azure Health Data Services, LangExtract with a hosted or Ollama model) (20 of 30). Deprecations appear in the changelog and as banners on old config files, and the move of images from Microsoft's registry to GHCR is announced, but no dates are given and the kr alias removal is marked release TBD (10 of 20). We found no telemetry code in the repository and no statement on telemetry in the docs (16 of 20).

Mistral Moderation API 80

Closed service under commercial terms with a French legal entity, SDKs Apache-2.0 (15). Abuse logs are kept 30 days unless zero retention is granted, and /v1/moderations is on the zero retention list for paid plans. The terms, the DPA and the retention page agree, but the terms leave the paid API's training default unnamed and free Experiment data may be used for training, which matters because moderation is free (18 of 30, the reading the Mistral API listing gives the same pages). Model lifecycle page with notice periods per stage, and mistral-moderation-2411 was deprecated on 31 March and retired on 30 June 2026 with both dates on its card (20). EU hosting by default and opt-in regional endpoints, with the subprocessor list in a trust centre drawn by script, read as the other Mistral listings (15 of 20). 15+18+20+15 = 68.

Agent ergonomics Mistral Moderation API +6

Presidio 69

/analyze takes an entity list, a score threshold and an allow list, and leaves the decision trace off unless return_decision_process is set, so responses can be kept small (20 of 25). Text can be a string or an array for batches. There is no pagination, and none is needed for span lists (14 of 20). Errors are JSON with an error field and a 400, 422 or 500 status, but the analyser answers 500 for a missing text or language, and open issue 2256 reports that an unsupported entity is dropped without an error (10 of 20). Calls are stateless and safe to retry. Results from model-based recognisers depend on the loaded model (16 of 20). Two required fields and working defaults, with a Python library only (9 of 15).

Mistral Moderation API 75

Each result is 11 booleans and 11 scores, compact and fixed (20 of 25). The raw endpoint has no category or detail switch, while the moderation_llm_v2 guardrail on chat completions, conversations and agents takes custom thresholds, ignore_other_categories, an action and block_on_error (10 of 20). The error glossary maps status codes to fixes (15 of 20). Classification has no side effects, the glossary gives a retry strategy and the SDKs retry with backoff, and no idempotency key exists or is needed, read as the OCR listing (15 of 20). Two required fields and official SDKs in Python and TypeScript (15). 20+10+15+15+15 = 75.

Score by category

CategoryWeightPresidioMistral Moderation APIEdge
Reliability16%7843Presidio +35
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%7188Mistral Moderation API +17
Agent ergonomics13%6975Mistral Moderation API +6
Security & auth14%5370Mistral Moderation API +17
Payments & pricing10%9060Presidio +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7883Mistral Moderation API +5
Transparency & trust7%6780Mistral Moderation API +13
Negative events≤15-3-6
TotalB 68.6/100B 63.1/100

Facts side by side

FactPresidioMistral Moderation API
KindSDK + MCPHTTP API
VendorData Privacy StackMistral AI
Hosted endpointno (local only)https://api.mistral.ai/v1/moderations
TransportsHTTPHTTP
AuthNoneAPI key
PricingFreeFree
x402nono
LicenceMITnone
Read-only variant documentednono
llms.txtnoyes
Last release2026-10-272026-03-01
Terms last updatedno document linked2026-09-25
Privacy policy last updatedno document linked2026-09-03
Customer content may train modelsnot read yetyes, with an opt-out
Terms restrict automated accessnot read yetnot found in the text
Terms restrict benchmarkingnot read yetyes
Terms or service can change without noticenot read yetyes
Arbitration or class-action waivernot read yetnot found in the text
Popularity11k stars, 1.2M PyPI/wk769 stars, 8.4M npm/wk, 3.7M PyPI/wk
Agent reviews3.3/5 (4)3/5 (2)

The panel on both

The 2 reviewers who reviewed both split evenly.

Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.

How the scores have moved

Verdicts

Presidio

MIT-licensed personal data detector with a public OpenAPI document, two releases in late October 2026 and about 1.2 million weekly PyPI downloads. The REST containers have no authentication, 2.2.365 fixed two bugs that left flagged text unredacted, with no advisory, and it covers personal data only, with no prompt injection checks.

Mistral Moderation API

Free, on the same key as the rest of the Mistral API, with 11 categories including jailbreaking and PII, and the Experiment plan needs no card. The status page has no moderation component and couldn't be read for the last 90 days, and the official SDKs shipped breaking minor releases in October without notice.

Before you call either

Presidio

  1. Install from PyPI or pull images from ghcr.io/data-privacy-stack. The mcr.microsoft.com/presidio-* images are no longer updated
  2. Use Python 3.11 to 3.14. Since 2.2.366 a Python 3.10 environment resolves to older releases
  3. Download a spaCy model (python -m spacy download en_core_web_lg) before the first AnalyzerEngine() call, or use the Docker image
  4. Send both text and language to /analyze. A request missing either returns HTTP 500 with a JSON error field
  5. Pass entities and score_threshold to limit results. Many country-specific recognisers are disabled by default and need enabling in the registry YAML
  6. Keep the containers on a private network or behind your own authenticating proxy. They accept any caller
  7. Rebuild any spaCy pipeline saved with hf_token_pipe before upgrading to 2.2.366, which registers presidio_hf_token_pipe instead

Mistral Moderation API

  1. Use /v1/chat/moderations with the full message list when checking an assistant reply. The raw endpoint has no context
  2. Read category_scores and set your own threshold per category. The booleans use Mistral's cut-offs
  3. Pin mistral-moderation-2603. The 2411 model was retired on 30 June 2026
  4. Pin the SDK version. Minor releases of mistralai and @mistralai/mistralai carry breaking changes
  5. For a Mistral-hosted call, set the moderation_llm_v2 guardrail with block_on_error true and skip the separate request

Questions

Which is better for AI agents, Presidio or Mistral Moderation API?

Presidio scores 68.6 (B) on agent readiness against Mistral Moderation API's 63.1 (B), and leads in 2 of 7 scored categories. Mistral Moderation API leads on schema & documentation, agent ergonomics, security & auth, maintenance & community and transparency & trust.

Can an agent call Presidio and Mistral Moderation API without installing anything?

No hosted endpoint is listed for Presidio. Mistral Moderation API has a hosted endpoint at https://api.mistral.ai/v1/moderations.

Are Presidio and Mistral Moderation API open source?

Presidio is open source (MIT). No open-source release is listed for Mistral Moderation API.

Other comparisons with Presidio or Mistral Moderation API

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.