---
title: "Presidio vs Managed PII Detection APIs: Cost and Coverage"
description: "Presidio is free software you host. Google content inspection bills $3.00 per GiB past 1 GiB a month, Comprehend PII per 100 characters. 1M records worked."
url: https://sensitivedatadiscoverytools.com/compare/presidio-vs-managed-detection-apis/
canonical: https://sensitivedatadiscoverytools.com/compare/presidio-vs-managed-detection-apis/
reviewed: 2026-12-04
last_updated: 2026-12-04
---

# Presidio vs managed PII detection APIs: cost and coverage for a data pipeline

[Microsoft Presidio](/tools/presidio/) is MIT-licensed software that runs in your own environment. [Google Sensitive Data Protection](/tools/google-sensitive-data-protection/) content methods bill $3.00 per GiB after a free first GiB a month; Amazon Comprehend PII bills $0.0001 per 100 characters. For 1 million 550-character records the site's arithmetic gives $0 on Google and $600 on Comprehend.

Last reviewed December 4, 2026.

## Key facts

- In the site's [benchmark](/benchmark/), Presidio with default recognizers found none of the 620 organization spans in 500 records because it has no organization recognizer ([Presidio supported entities](https://presidio.dataprivacystack.org/supported_entities/)); the site did not measure either managed service.
- Google bills content methods by bytes with a 1 KB minimum per request, so 1 million small requests fit inside the free first GiB of the month ([Google pricing](https://cloud.google.com/sensitive-data-protection/pricing)).
- Comprehend PII redaction needs an asynchronous batch job, while locating PII has a real-time API ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html)).

## What each route is, side by side

[Microsoft Presidio](/tools/presidio/) is a library you run. The two managed routes are an API you call: the content methods of [Google Sensitive Data Protection](/tools/google-sensitive-data-protection/) (the API that takes data in the request, as opposed to its discovery and storage jobs) and the PII APIs of Amazon Comprehend. Amazon Comprehend has no record in the [register](/tools/); its cells come from its pricing page and developer guide.

Table: Presidio, Google content methods and Amazon Comprehend PII, facts as published, December 4, 2026

| Item | Microsoft Presidio | Google Sensitive Data Protection, content methods | Amazon Comprehend, PII |
|---|---|---|---|
| What it is | A library or SDK rather than a service, meant to be customized ([FAQ](https://presidio.dataprivacystack.org/faq/)) | A fully managed service to discover, classify and protect data ([Google](https://cloud.google.com/security/products/sensitive-data-protection)) | An API that finds PII entity locations in text, or redacts them ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/pii.html)) |
| Stores it reads | No store connector documented; the analyzer takes a text string in the call ([analyzer](https://presidio.dataprivacystack.org/analyzer/)); Presidio Structured scans tabular and semi-structured datasets and redacts text, cells or columns ([FAQ](https://presidio.dataprivacystack.org/faq/)) | Content methods take the data in the request ([Google pricing](https://cloud.google.com/sensitive-data-protection/pricing)); inspection jobs read a BigQuery table, a Cloud Storage bucket or a Datastore kind ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview)); discovery profiles Cloud SQL, S3 and Azure Blob Storage data too ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/data-profiles)), with S3 open to Security Command Center Enterprise customers ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/discovery-for-amazon-s3)) | Text documents, one at a time in real time (up to 100 KB) or a collection in an asynchronous batch job ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html)) |
| Detectors | 99 distinct entity names on the supported-entities page by the site's count; regex, checksum, context words and a named-entity model; English only in the default configuration, other languages need another NLP engine and recognizers ([supported entities](https://presidio.dataprivacystack.org/supported_entities/), [languages](https://presidio.dataprivacystack.org/analyzer/languages/)) | Over 200 built-in infoTypes by Google's count, 214 by the site's count of the reference page ([Google docs](https://cloud.google.com/sensitive-data-protection/docs)); the reference lists country-specific infoTypes, for example Japan, Korea, Spain and Norway, and its passport detector names 27 countries ([infoTypes reference](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference)) | Universal and country-specific PII entity types such as ADDRESS, EMAIL and UK_NATIONAL_INSURANCE_NUMBER, in English or Spanish text ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html)) |
| Custom detectors | Pattern recognizers with regexes, context words and validation logic, or a model ([analyzer](https://presidio.dataprivacystack.org/analyzer/)) | Dictionaries, including large ones in Cloud Storage or BigQuery, and regular expressions ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/concepts-infotypes)) | Custom Comprehend entity models are priced separately, at $3 per hour of training; Custom Comprehend has no free tier ([AWS pricing](https://aws.amazon.com/comprehend/pricing/)) |
| Published accuracy | No figure for the default configuration; Presidio says vanilla results are not very accurate and a tuned configuration raises the F score by about 30% ([evaluation](https://presidio.dataprivacystack.org/evaluation/)) | No measured figure; the reference says built-in detectors are not perfectly accurate ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference)) | A score per entity that estimates the probability the span is that type ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html)) |
| Scan model | Scans only what the caller passes; no sampling mode ([analyzer](https://presidio.dataprivacystack.org/analyzer/)) | Billed on bytes inspected per request ([Google pricing](https://cloud.google.com/sensitive-data-protection/pricing)) | Billed in units of 100 characters per request ([AWS pricing](https://aws.amazon.com/comprehend/pricing/)) |
| Where compute runs, where data goes | Wherever you run the package or containers; data leaves only if you call an external recognizer such as Azure Health Data Services ([AHDS](https://presidio.dataprivacystack.org/ahds_integration/)) | In Google's managed service ([Google](https://cloud.google.com/security/products/sensitive-data-protection)) | In AWS's managed Comprehend service ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/pii.html)) |
| Published price | MIT licence; no price, support plan or SLA published ([FAQ](https://presidio.dataprivacystack.org/faq/)) | First 1 GiB free per month per account, then $3.00 per GiB to 1 TiB and $2.00 above; 1 KB minimum per request ([Google pricing](https://cloud.google.com/sensitive-data-protection/pricing)) | $0.0001 per unit for detect PII, $0.000002 per unit for contains PII, 3-unit minimum per request ([AWS pricing](https://aws.amazon.com/comprehend/pricing/)) |
| Output | JSON list of entity type, score, start and end; an anonymizer replaces, masks, redacts, hashes or encrypts ([analyzer](https://presidio.dataprivacystack.org/analyzer/), [anonymizer](https://presidio.dataprivacystack.org/anonymizer/)) | Content methods include inspect, deidentify, reidentify and image redact ([Google pricing](https://cloud.google.com/sensitive-data-protection/pricing)) | Entity type, score and character offsets; redaction only through an asynchronous batch job ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html)) |

Presidio is not owned by a company: its documentation says it moved from a Microsoft-owned project to a community-governed one and carries no warranty or SLA ([project transition](https://presidio.dataprivacystack.org/project_transition/), [FAQ](https://presidio.dataprivacystack.org/faq/)). Google's documentation says Cloud DLP is now part of Sensitive Data Protection and the API is still named the Cloud Data Loss Prevention API ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/discovery-for-amazon-s3)).

## What the site measured on Presidio

The site ran Presidio with its default recognizers and settings (presidio-analyzer 2.2.366), adding spaCy models for German and French so it could read those records, on 500 labeled synthetic finance records from the Apache-2.0 gretelai dataset: 300 English, 100 German and 100 French. Precision was 0.18, recall 0.39 and F1 0.25. On all 1,600 records the run used, precision was 0.18 and recall 0.40. Per type, on the 500: IBAN precision was 1.00 at recall 0.72, street addresses reached recall 0.09, and the driver license pattern fired on 568 strings that were not licenses. The [benchmark page](/benchmark/) has the match rule, per-language tables and limits: one synthetic dataset, default settings, no tuning.

Neither managed service was run, and Google's discovery page disclaims full accuracy without giving a measured figure ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/data-profiles)). Presidio's FAQ says SaaS PII services often have wider entity coverage or higher accuracy than Presidio ([FAQ](https://presidio.dataprivacystack.org/faq/)); that is the project's statement, not a result from this site.

## The price arithmetic for 1 million records

The figures are the site's arithmetic from list prices, with these inputs: one record per request, text in ASCII so that one character is one byte, one account, the whole 1 million records in one month, no Comprehend free tier and no Comprehend volume tier (the pricing page's worked examples price 0 to 10 million units at $0.0001 and the volumes here stay in that first step). Google rounds each request up to 1 KB, so 1 million requests are 1 billion to 1.02 billion bytes, 0.93 to 0.95 GiB, inside the free first GiB. Comprehend rounds a 550-character record up to 6 units and a 1,000-character record to 10. Comprehend's free tier, 50,000 units per API per month for 12 months from the first Comprehend request, covers Detect PII and Contains PII; it would take $5.00 off the detect PII rows in the first year ([AWS pricing](https://aws.amazon.com/comprehend/pricing/)).

Table: Cost to detect PII in 1 million records, list price, December 4, 2026

| Route | 1M records of 550 characters | 1M records of 1,000 characters | How worked |
|---|---|---|---|
| Google content inspection | $0 | $0 | billed 0.93 to 0.95 GiB, below the free 1 GiB |
| Amazon Comprehend detect PII | $600 | $1,000 | 6,000,000 or 10,000,000 units x $0.0001 |
| Amazon Comprehend contains PII | $12 | $20 | 6,000,000 or 10,000,000 units x $0.000002 |
| Presidio, your compute | about 19.2 hours at 2 vCPU | not worked | 1,000,000 x 69.2 ms |

The Presidio timing is the site's benchmark run: 110.7 seconds for 1,600 records on a shared 2 vCPU runner. Those records are not 550 characters long, and the site did not time Presidio on records of that size, so read the row as an order of magnitude. A compute price is not a published Presidio figure, so no dollar amount is attached; multiply the hours by what your own 2 vCPU capacity costs. The contains PII call answers whether a document holds the chosen PII, not where ([AWS pricing](https://aws.amazon.com/comprehend/pricing/)).

The free GiB is per account per month, so the Google row ends when the month's requests pass 1 GiB: 1 million requests of 5,000 bytes are 4.657 GiB and cost (4.657 - 1) x $3.00 = $10.97. The [Scan Price File](/scan-prices/) lists the full Google tiers, and the [scan cost calculator](/scan-cost-calculator/) runs the storage tiers on any volume.

## Three situations: pipeline, S3 audit, AI rollout

### An engineering team that wants detection inside its data pipeline

Presidio's REST API has no built-in authentication, so the FAQ says to put a gateway in front of it ([FAQ](https://presidio.dataprivacystack.org/faq/)). Presidio's samples run it over files in Azure Databricks and Microsoft Fabric notebooks, as user-written code and not as connectors ([Spark sample](https://presidio.dataprivacystack.org/samples/deployments/spark/)). Default Presidio covers English only and Comprehend PII covers English or Spanish, so the language of the records rules routes in or out before price does. Google's built-in infoTypes are not limited to English or Spanish: its reference lists country-specific detectors for, among others, Japan, Korea and Norway ([infoTypes reference](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference)).

### Two petabytes in Amazon S3 before a compliance audit

Presidio reads only what your code passes it; its FAQ lists sample deployments for Kubernetes, Azure Data Factory and Spark, not an S3 connector ([FAQ](https://presidio.dataprivacystack.org/faq/)), and the Google content method takes data in the request, not from a store. Google's S3 discovery is open only to Security Command Center Enterprise customers ([Google docs](https://cloud.google.com/sensitive-data-protection/docs/discovery-for-amazon-s3)). If you build the reader yourself and send every byte through the Google content method, the bill at list is $3,726,311, the site's arithmetic: 1,023 GiB x $3.00 + 1,861,621 GiB x $2.00, with the first GiB free and 2 PB equal to 1,862,645 GiB. That figure excludes the reader and AWS data transfer. Comprehend lists a rate for this volume in its price file: 2 PB of ASCII text is about 20 trillion units, and the rate over 100 million units a month is $0.000005 per unit ([AWS price file](https://b0.p.awsstatic.com/pricing/2.0/meteredUnitMaps/comprehend/USD/current/comprehend.json)). The site's arithmetic: 20 trillion x $0.000005 is about $100 million (graduated tiers give $100,003,750, since the first 100 million units cost $4,250 at the higher rates). The pricing page also says to contact AWS for volumes above 100 million units a month ([AWS pricing](https://aws.amazon.com/comprehend/pricing/)), so treat the figure as a list-rate estimate. The [Amazon Macie comparison](/compare/amazon-macie-vs-google-sensitive-data-protection/) works the same 2 PB through the S3 scanners.

### A security team preparing its data for an AI rollout

Microsoft's GenAI gateway reference architecture names Presidio as an option for an Azure function that detects PII and masks requests before they reach Azure OpenAI ([Microsoft](https://learn.microsoft.com/en-us/ai/playbook/solutions/genai-gateway/reference-architectures/apim-based)). Google lists a deidentify content method that is billed for inspection and transformation, at $2.00 per GiB transformed to 1 TiB and $1.00 above ([Google pricing](https://cloud.google.com/sensitive-data-protection/pricing)). To mask each request before a model call, Presidio and Google's deidentify method mask directly; with Comprehend in real time, your code masks from the returned offsets, because redaction runs only as an asynchronous batch job ([AWS docs](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html)).

## Other head-to-head comparisons

- [Amazon Macie vs Google Sensitive Data Protection](/compare/amazon-macie-vs-google-sensitive-data-protection/): costs and coverage.
- [Cyera vs Sentra](/compare/cyera-vs-sentra/): stores, scan model and published prices.
- [BigID vs Varonis](/compare/bigid-vs-varonis/): file shares, detection and price units.
- [Amazon Macie vs Cyera](/compare/amazon-macie-vs-cyera/): stores, scan model and published prices.

## Sources

1. [Presidio FAQ](https://presidio.dataprivacystack.org/faq/)
2. [Presidio analyzer](https://presidio.dataprivacystack.org/analyzer/)
3. [Presidio supported entities](https://presidio.dataprivacystack.org/supported_entities/)
4. [Presidio evaluation](https://presidio.dataprivacystack.org/evaluation/)
5. [Presidio languages](https://presidio.dataprivacystack.org/analyzer/languages/)
6. [Presidio anonymizer](https://presidio.dataprivacystack.org/anonymizer/)
7. [Presidio project transition](https://presidio.dataprivacystack.org/project_transition/)
8. [Presidio Spark sample](https://presidio.dataprivacystack.org/samples/deployments/spark/)
9. [Presidio AHDS integration](https://presidio.dataprivacystack.org/ahds_integration/)
10. [Microsoft GenAI gateway reference architecture](https://learn.microsoft.com/en-us/ai/playbook/solutions/genai-gateway/reference-architectures/apim-based)
11. [Sensitive Data Protection pricing](https://cloud.google.com/sensitive-data-protection/pricing)
12. [Sensitive Data Protection documentation home](https://cloud.google.com/sensitive-data-protection/docs)
13. [Sensitive Data Protection infoTypes reference](https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference)
14. [Sensitive Data Protection infoTypes concepts](https://cloud.google.com/sensitive-data-protection/docs/concepts-infotypes)
15. [Sensitive Data Protection data profiles](https://cloud.google.com/sensitive-data-protection/docs/data-profiles)
16. [Sensitive Data Protection overview](https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview)
17. [Discovery for Amazon S3](https://cloud.google.com/sensitive-data-protection/docs/discovery-for-amazon-s3)
18. [Amazon Comprehend pricing](https://aws.amazon.com/comprehend/pricing/)
19. [Amazon Comprehend price file](https://b0.p.awsstatic.com/pricing/2.0/meteredUnitMaps/comprehend/USD/current/comprehend.json)
20. [Amazon Comprehend: personally identifiable information](https://docs.aws.amazon.com/comprehend/latest/dg/pii.html)
21. [Amazon Comprehend: detecting PII entities](https://docs.aws.amazon.com/comprehend/latest/dg/how-pii.html)
