HL7 vs FHIR in 2026: Architecture, Payloads & Integration Cost
HL7 publishes both pipe-delimited HL7 v2 feeds and RESTful FHIR R4 APIs. Compare wire-level payloads, SMART on FHIR auth, ONC (g)(10) and CMS-0057-F mandates, and real $15k to $75k integration costs.

On this page

HL7 vs FHIR isn't a contest between two standards bodies. HL7 (Health Level Seven International) is the ANSI-accredited standards organization that publishes all three clinical exchange families running inside healthcare: HL7 v2.x (event-driven, pipe-delimited ASCII messages pushed over persistent MLLP/TCP sockets), HL7 CDA / C-CDA (document-centric XML clinical summaries from the v3 family), and HL7 FHIR (R4 / R5, modular RESTful JSON resources over HTTPS with OAuth 2.0 / OpenID Connect SMART on FHIR). When CTOs and hospital IT directors search "fhir vs hl7" or "HL7 vs FHIR", they're making an architectural and budget call: integrate via HL7 v2 feeds ($18,000 to $38,000 per hospital site), standardized SMART on FHIR R4 APIs (from $15,000 over 4 to 8 weeks), or a hybrid dual-rail canonical adapter ($40,000 to $75,000 over 8 to 14 weeks).
The wrong rail is expensive to back out of. FHIR R4 didn't replace HL7 v2 inside hospitals: real-time admission (ADT), lab (ORU), and scheduling (SIU) triggers still run over pipe-delimited HL7 v2 sockets behind IPSec VPNs, which is easy to miss if your team grew up on web APIs. The opposite mistake costs money too. In our modeled 5-hospital case, defaulting to per-site HL7 v2 builds or a $5,500/month integration broker costs $110,000+ more over three years than an owned adapter, even though federally mandated 45 CFR 170.315(g)(10) FHIR R4 endpoints already expose many of the resources those teams need.
At Idealogic, our healthcare software development squads build and run both HL7 v2 pipelines and FHIR R4 REST APIs in live HIPAA and GDPR deployments, including bidirectional EMR sync on AddMed. Below: the wire payloads, SMART on FHIR auth, the US and EU regulatory deadlines, and 5-hospital TCO math.
The short version
- HL7 v2 pushes floor events, FHIR R4 queries state. Use HL7 v2 for sub-second hospital events ("Patient admitted to Bed 4B"), C-CDA for HIE encounter summaries, and FHIR R4 for discrete clinical objects (
Patient,Observation,MedicationRequest) over HTTPS and OAuth 2.0. - Regulation locked in FHIR R4.0.1, and HL7 v2 stayed. ONC
45 CFR 170.315(g)(10)requires US Core FHIR R4 and SMART on FHIR in certified EHRs (in 2024, 70% of US hospitals enabled FHIR app access, 83% among hospitals on market-leading EHRs), andCMS-0057-Frequires payer, provider and prior-authorization FHIR APIs by January 2027. - SMART on FHIR scales near
O(1), HL7 v2 scalesO(N)per site. One SMART on FHIR R4 sprint starts from $15,000 (worked 300 hours: $21,000 CEE vs $49,500 US). An HL7 v2 MLLP interface costs $18,000 to $38,000 per site, mostly because of customZ-segmentsand IPSec VPNs. - Most multi-hospital products end up pairing both in a hybrid adapter ($40,000 to $75,000). An HL7 v2 Mirth/NextGen engine plus SMART on FHIR R4 and Bulk
$exportbrings modeled 3-year, 5-hospital TCO down to $124,000, against $235,400 for per-site HL7 v2 and $242,400 for managed iPaaS.
HL7 vs FHIR: four HL7 interoperability lanes coexisting inside hospitals in 2026
The difference between HL7 and FHIR is that HL7 v2 pushes event messages while FHIR exposes REST resources. Hospitals kept the older standards running as newer ones arrived, so four lanes now sit side by side:
- HL7 Version 2.x (
v2.3tov2.5.1+, in use since the late 1980s): Compact pipe-and-hat delimited (|^~\&) messages over persistent TCP sockets using Minimal Lower Layer Protocol (MLLPbytes0x0Bstart,0x1C 0x0Dend). Still carries most internal hospital event traffic (ADTadmissions/discharges,ORM/ORUorders/results,SIUscheduling,DFTcharges). - HL7 CDA / Consolidated CDA (
C-CDA R2.1) (v3 family): Document-centric XML clinical summaries (Continuity of Care Document,Discharge Summary) exchanged at very large scale across Carequality, CommonWell, and TEFCA networks. - HL7 FHIR R4 (
Release 4.0.1) + SMART App Launch: Modular web resources (Patient,Encounter,Condition,Observation,MedicationRequest) exposed via RESTfulGET/POST/PUTHTTPS calls in JSON, secured via OAuth 2.0 and OIDC. - FHIR Bulk Data (
$export) & HL7 FHIR R5 Subscriptions: Async NDJSON cohort exports ($export) for population health and payer transfers, plusR5topic-based subscriptions and the Subscriptions Backport IG forR4/R4B, which bring HL7 v2's push model into FHIR.
10-dimension architectural matrix: HL7 v2 vs C-CDA vs FHIR R4
Wire-level payload comparison: the exact same blood pressure observation in HL7 v2 vs FHIR R4
Take one clinical observation (blood pressure 128/82 mmHg for patient MRN-90421 during encounter ENC-7710, plus a hospital fall-risk score) and serialize it twice: first as an HL7 v2.5.1 ORU^R01 message, then as an HL7 FHIR R4 US Core Observation JSON resource.
1. HL7 v2.5.1 ORU^R01 payload (pipe-delimited MLLP stream)
The ORU^R01 message is a pipe-delimited stream of MSH, PID, PV1, OBR, and two OBX segments, plus a custom ZPV segment carrying the fall-risk score. It has three traps:
- Positional fragility: Fields resolve by 1-based pipe index (
PID-3holdsMRN-90421,PV1-7holds attending NPI1409928371,OBX-5holds128). If a regional hospital places the clinic MRN inPID-2or sends local codeVS_SYSinstead ofLOINC8480-6inOBX-3, unguarded parsers drop clinical values. - No historical query: HL7 v2 is a stream of events with no query interface. You can't ask an MLLP socket for "six months of blood pressures"; you only capture events after your listener connects.
- The
Z-segmenttax (ZPV): CustomZ-segmentsare valid HL7 v2 syntax with no international schema. Mapping and testing each hospital's undocumentedZPVorZINfields is a big part of why HL7 v2 builds cost $18,000 to $38,000 per hospital.
2. HL7 FHIR R4 US Core Observation payload (RESTful JSON over HTTPS)
Ask a FHIR server for the same reading with GET /fhir/R4/Observation?patient=pat-90421&code=85354-9 and you get back one US Core blood-pressure Observation resource in JSON. It carries the same values as the ORU^R01, but each one sits under a named key instead of a pipe position:
Four things change in the FHIR version:
- Explicit vocabulary URIs: Every code carries its namespace (
http://loinc.org,http://unitsofmeasure.org, or NIH NLM RxNorm onMedicationRequestresources), ending positional guesswork. - Addressable REST references:
Patient/pat-90421andEncounter/enc-7710are fetchable URLs rather than duplicated strings inside every lab packet. - Isolated
extensionURLs instead ofZ-segments: Custom fields (fall-risk-score) sit inside typedextensionobjects without mutating standard US Core blood-pressure keys. - Scoped OAuth 2.0 tokens: SMART on FHIR restricts bearer tokens to scopes like
patient/Observation.rsoruser/MedicationRequest.crudsplus verified clinicianfhirUseridentity.
Why hospitals still run HL7 v2 alongside FHIR in 2026
Polling REST APIs for floor events doesn't scale well in a hospital. When an ED registers a trauma patient (ADT^A04), transfers an ICU bed (ADT^A02), or posts a critical troponin lab (ORU^R01), the internal subsystems that depend on it (pharmacy cabinets, PACS radiology, dietary, billing DFT routers) expect the event pushed to them within a fraction of a second. We design for sub-200 ms delivery.
HL7 publishes R5 Topic-Based Subscriptions and a Subscriptions Backport IG for R4, but vendor support varies by EHR and site, so confirm it per target, whether that's open.epic.com or Oracle Health (our Epic vs Cerner comparison covers both). Coverage is uneven on the query side too. ASTP Data Brief No. 79 (2024 data) reports that 70% of US non-federal acute care hospitals let patients access their data through apps configured to FHIR specifications: 83% of hospitals on a market-leading EHR versus 56% on other EHRs, and 64% in outpatient settings (69% inpatient). Smaller independent and Critical Access hospitals still lag, and real-time floor triggers remain predominantly HL7 v2. So we treat HL7 v2 (or FHIR Subscriptions) as the event trigger and FHIR R4 REST as the state query. (See EHR vs EMR and EHR integration for how certification splits hospital targets.)
MLLP vs SMART on FHIR: transport and security
Payload syntax aside, the two protocols fail in different ways during production incidents, and that shapes DevOps staffing and monitoring budgets:
- HL7 v2 MLLP socket lifecycle and
MSAacknowledgements: MLLP (Minimal Lower Layer Protocol) is the framing layer that wraps each HL7 v2 message between start byte0x0Band trailer bytes0x1C 0x0Don a TCP socket. An MLLP interface holds open a single long-lived socket inside a site-to-site IPSec VPN tunnel. After sending one message, the hospital's outbound queue blocks until your Mirth listener returns anACKsegment containingMSA|AA(Application Accept). If your downstream database slows down or returnsMSA|AE(Application Error), the hospital's FIFO channel backs up or halts delivery for every patient behind that message. So production listeners should decouple socket ingestion from business logic: validate syntax, persist the raw payload to an encrypted durable queue, returnMSA|AAfast (we target under 50 milliseconds), and process transformations asynchronously. - SMART on FHIR v2 OAuth 2.0, PKCE, and Backend Services JWTs: FHIR R4 runs statelessly over TLS 1.2+ using three OAuth 2.0 profiles. Clinician EHR Launch passes an
issserver URL and temporarylaunchparameter from Epic Hyperspace or Oracle PowerChart, exchanging an authorization code with PKCE for a short-lived access token carrying activepatient,encounter, andfhirUserOIDC claims. Patient Standalone Launch delegates login to MyChart or another patient portal; Epic's public FHIR APIs carry no per-call fee, though production terms vary by health system. Headless Backend Services integrations register a public JSON Web Key Set (JWKS) endpoint and signRS384orES384client-assertion JWTs to obtainsystem/*.rstokens for nightly Bulk Data$exportcohorts without human logins.
2026 US and EU regulatory mandates shaping your HL7 vs FHIR roadmap
In 2026, ONC's (g)(10) rule and CMS-0057-F make FHIR R4 the required API in US healthcare, while HL7 v2 remains unregulated plumbing inside hospitals. Four regulatory regimes shape which interface your healthcare customers expose in 2026 and 2027:
- ONC / ASTP
45 CFR 170.315(g)(10)& HTI-1: Under 45 CFR 170.315, every Certified EHR Technology (CEHRT) vendor must expose FHIR R4.0.1 APIs conforming to HL7 US Core, SMART App Launch v2, and Bulk Data ($export), mapped to USCDI (45 CFR 170.213). Separately, the information blocking rules in 45 CFR Part 171 carry civil penalties of up to $1 million per violation for certified developers under 42 U.S.C. 300jj-52. - CMS Interoperability & Prior Authorization Final Rule (
CMS-0057-F): Under CMS-0057-F, Medicare Advantage, Medicaid, and CHIP plans must return prior-authorization decisions within 72 hours (expedited) or 7 calendar days (standard) from January 1, 2026, for medical items and services, not drugs. QHP issuers on the federal exchanges sit outside that timeframe requirement but inside the API one: by January 1, 2027, impacted payers must run production FHIR R4 Provider Access, Payer-to-Payer, and Prior Authorization APIs, and add prior-authorization data to the Patient Access API they already operate. CMS recommends, but doesn't mandate, the Da VinciCRD,DTR, andPASguides for that last API. - HIPAA Security Rule (
45 CFR 164.312): Under 45 CFR Part 164 Subpart C, both HL7 v2 MLLP sockets (inside IPSec/TLS tunnels) and FHIR HTTPS calls need access controls, unique user identification, audit controls, and transmission security. Encryption is an addressable specification there, not a flat requirement. We keep audit logs for six years as a design choice that matches HIPAA's documentation retention period in164.316(b)(2)(more in our HIPAA compliant software development guide). - European Health Data Space (
EHDS, Regulation(EU) 2025/327): The European Health Data Space Regulation (Regulation (EU) 2025/327, applying from 26 March 2027) requires EHR systems to support the European electronic health record exchange format (EEHRxF) for priority categories: patient summaries, ePrescriptions and eDispensations, medical images and reports, lab results, and discharge reports. HL7 Europe FHIR Implementation Guides are the expected technical basis, but the law doesn't mandate them by name, so check each Commission implementing act.
HL7 v2 vs FHIR R4 integration cost and effort matrix (2026)
A single SMART on FHIR sprint costs from $15,000, an HL7 v2 MLLP interface $18,000 to $38,000 per site, and a hybrid adapter $40,000 to $75,000. We benchmark HL7 FHIR integration cost at two rate anchors: a senior CEE healthtech squad at $70/hr blended ($2,800/wk) and a US onshore clinical integration agency at $165/hr blended ($6,600/wk), in line with Idealogic's healthtech pricing bands:
Path 1: Single SMART on FHIR R4 sprint (From $15,000 | 4 to 8 weeks)
When targeting ONC-certified hospitals on Epic, Oracle Health, or athenahealth for standalone patient access or clinician EHR launch, our AI and system integration team delivers a 4 to 8 week sprint from $15,000. Standardized .well-known/smart-configuration OAuth 2.0 PKCE flows and US Core profiles (unpacked step by step in our SMART on FHIR engineering guide) mean later certified hospital activations need minimal code changes.
Path 2: Point-to-point HL7 v2 MLLP interface ($18,000 to $38,000 per site | 5 to 9 weeks)
Connecting to community hospitals, diagnostic LIMS software platforms, or uncertified specialty EMRs over HL7 v2 MLLP (ADT, SIU, ORU) via Mirth Connect / NextGen Connect runs $18,000 to $38,000 per site in CEE. Every site requires its own IPSec VPN tunnel, MSH-4 facility routing, local OBX-3 vocabulary lookup tables, Z-segment mapping, and analyst sign-off.
Path 3: Hybrid dual-rail clinical sidecar and canonical adapter ($40,000 to $75,000 | 8 to 14 weeks)
For B2B startups and provider networks scaling across multiple health systems, a hybrid dual-rail sidecar and canonical adapter via Idea to Product ($40,000 to $75,000 in CEE) pairs embedded SMART on FHIR workflows with an HL7 v2 event engine (see EHR implementation cost and telemedicine app development cost for full platform budgets).
Inside those 820 hours ($57,400 CEE / $135,300 US):
- SMART on FHIR R4 UI, OAuth2 & US Core (30% / 246 hrs / $17,220 CEE): Clinician iframe launch, Backend Services
RS384JWT auth, Bulk$export, and idempotentDocumentReference/Observationwrites withProvenance. - HL7 v2 MLLP & Mirth / NextGen channels (25% / 205 hrs / $14,350 CEE): HA MLLP listeners,
ACK/NAKhandling, and transformers convertingADT,SIU,ORU, andZ-segmentsinto internal JSON events; see legacy system modernization. - Canonical clinical map & dead-letter queues (20% / 164 hrs / $11,480 CEE): EMPI
(system, value)resolution, LOINC/SNOMED/RxNorm normalization, durable retry queues, and drift checks; see api-integration and system integration. - HIPAA
164.312audit logs, KMS & IPSec VPNs (15% / 123 hrs / $8,610 CEE): Automated IPSec/TLS tunnels, KMS encryption, RBAC, and WORM PHI logs kept for six years (our design choice, in line with HIPAA documentation retention). - Sandbox harnesses & hospital security QA (10% / 82 hrs / $5,740 CEE): Epic/Oracle sandbox test suites, MLLP disconnect chaos tests, and hospital InfoSec evidence packs.
3-year 5-hospital TCO: HL7 v2 vs FHIR hybrid adapter vs managed iPaaS
Over 36 months and five hospitals, an owned hybrid adapter built in CEE comes to about $124,000 in our model, roughly half the cost of per-site HL7 v2 builds or a managed iPaaS. Redox-style integration platforms and Health Gorilla-style data networks sell fast first connections at quote-based prices with no public list; our model assumes $5,500/month. Per-site HL7 v2 builds multiply maintenance linearly instead. Here's how 5 hospital deployments over 36 months add up:
One caveat on the $0 toll line: it excludes any Mirth license. Mirth Connect 4.5.2 was the last open-source release, and version 4.6 and later are commercially licensed, so add a NextGen quote to this model if you run a current version.
A managed integration platform gets your first hospital live quickly, and by the fifth hospital its monthly fee is a real line in your gross margin. Owning a canonical FHIR R4 domain layer paired with a Mirth/NextGen Connect HL7 v2 adapter lets you onboard certified Epic sites over SMART on FHIR without a new build per site, and absorb legacy MLLP feeds without the $66,000 annual broker bill in our model.
Decision framework and shipped Idealogic HL7 + FHIR proof
Four rules cover most HL7 vs FHIR selection calls in discovery:
- Pure SMART on FHIR R4 (
From $15,000): Patient-authorized mobile apps, clinician-launched tools inside Epic/Oracle Health, andCMS-0057-Fpayer prior-authorization workflows. - HL7 v2 MLLP (
$18,000 to $38,000/site): Single uncertified EMRs lacking FHIR APIs, or inpatient workflows that needADT/SIU/ORUbroadcasts pushed in well under a second where FHIR Subscriptions aren't available. - C-CDA / Facilitated FHIR over TEFCA: Direct-treatment providers pulling nationwide longitudinal summaries across HIEs without bilateral VPNs.
- Hybrid Dual-Rail Canonical Adapter (
$40,000 to $75,000): Multi-hospital B2B products using HL7 v2ADT/SIUevents to trigger background workers that hydrate structured state via FHIR R4 REST APIs.
AddMed runs both rails in regulated clinical production, and Chaindoc covers the audit-trail side:
- Bidirectional HL7 v2 and FHIR R4 EMR sync (AddMed): Engineered end to end for our healthtech practice, AddMed pairs an elderly-accessible patient medication app with a clinician adherence dashboard and predictive drift alerts. AddMed imports and writes back medication schedules across both HL7 v2 streams and FHIR R4 REST APIs using durable retry queues, idempotent external keys (preventing duplicate medication orders), and full audit logs across HIPAA and GDPR clinical pilots with zero data incidents.
- Regulated e-signatures & SHA-256 healthcare audit trails (Chaindoc): Shipped in 22 weeks via custom software development, delivering eIDAS/ESIGN-qualified consent signatures and tamper-evident audit timelines across 10,000+ signed agreements at 99.9% uptime.
Teams scaling across more hospital networks, Da Vinci PAS endpoints, or EU EHDS profiles can also embed a HIPAA-trained Idealogic dedicated development team from $18,000/month. Whichever way your FHIR vs HL7 decision lands, verify (g)(10) CHPL certification on day one and freeze your minimum USCDI data classes. Then wrap every vendor edge behind a canonical FHIR/Mirth adapter, so a hospital upgrade is less likely to stall your clinical roadmap. For the wider product picture, see our guide to medical practice management software.

CTO and Co-founder at Idealogic. Directing engineering, systems architecture, security, and full-stack delivery across web, mobile, and blockchain.
Frequently asked questions
HL7 is the standards organization (Health Level Seven International), and FHIR is one of the standards it publishes. In practice, the difference between HL7 and FHIR comes down to HL7 v2 versus FHIR: HL7 v2 pushes pipe-delimited event messages over MLLP sockets inside a VPN, while FHIR exposes JSON resources through REST APIs over HTTPS with OAuth 2.0. Most hospitals run both.
All three standards are published by Health Level Seven International (HL7) for different clinical paradigms. HL7 v2 transmits event-driven, pipe-delimited ASCII segments (such as MSH, PID, PV1, and OBX) over persistent TCP sockets framed with Minimal Lower Layer Protocol (MLLP) inside IPSec VPN tunnels. HL7 C-CDA packages longitudinal clinical summaries as XML documents exchanged over SOAP or Direct secure messaging. HL7 FHIR R4 exposes modular JSON or XML clinical resources over RESTful HTTPS endpoints secured by OAuth 2.0 and OpenID Connect SMART on FHIR.
FHIR R4 excels at synchronous request-and-response queries and third-party app launches, whereas hospital floors rely on sub-second internal event broadcasts whenever a patient is admitted (ADT A01), discharged (ADT A03), scheduled (SIU S12), or resulted by an analyzer (ORU R01). Because decades of laboratory, radiology, pharmacy, and billing engines subscribe reliably to existing HL7 v2 MLLP feeds and FHIR R5 Topic-Based Subscriptions are only gradually entering certified EHRs, hospitals operate both rails in parallel.
With a senior Central and Eastern European healthtech squad billing $70 per hour, a single read-and-launch SMART on FHIR R4 integration sprint against Epic, Oracle Health, or athenahealth starts from $15,000 ($15,000 to $28,000 over 4 to 8 weeks; worked 300-hour midpoint: $21,000 CEE versus $49,500 at $165 per hour in the US). A point-to-point HL7 v2 MLLP interface (ADT, SIU, and ORU via Mirth/NextGen Connect plus site-to-site VPN) runs $18,000 to $38,000 per health-system site over 5 to 9 weeks (worked 400-hour midpoint: $28,000 CEE versus $66,000 US).
HL7 v2 gives hospitals wide flexibility over optional fields, local vocabulary pickup codes, and custom Z-segments, and every connection requires a dedicated IPSec VPN tunnel plus analyst mapping at each health system, making rollout cost scale linearly at O(N) per hospital. Standardized FHIR R4 endpoints certified under ONC 45 CFR 170.315(g)(10) enforce HL7 US Core profiles, LOINC/SNOMED/RxNorm terminologies, and OAuth 2.0 SMART App Launch over TLS, letting one adapter scale near O(1) across certified EHRs after app-gallery listing.
ONC/ASTP 45 CFR 170.315(g)(10) and HTI-1 require certified US EHRs to expose standardized HL7 FHIR R4.0.1 APIs, HL7 US Core profiles, SMART App Launch v2, and Bulk Data NDJSON $export mapped to USCDI. The CMS Interoperability and Prior Authorization Final Rule (CMS-0057-F) sets 72-hour expedited and 7-calendar-day standard prior-authorization decision timeframes from January 1, 2026 for Medicare Advantage, Medicaid, and CHIP plans (medical items and services, not drugs). By January 1, 2027, impacted payers, including QHP issuers on the federal exchanges, must run FHIR R4 Provider Access, Payer-to-Payer, and Prior Authorization APIs and add prior-authorization data to the Patient Access API they already operate.
Commercial healthcare integration platforms are quote-based and publish no price list. Our model assumes $5,500 per month, which comes to about $242,400 over 36 months across five hospital customers once setup and cloud costs are added. An owned canonical adapter that combines SMART on FHIR R4 queries with a Mirth/NextGen Connect HL7 v2 event engine runs $40,000 to $75,000 in CEE ($57,400 worked 820-hour core build) and totals about $124,000 over three years across the same five hospitals. That's $118,400 less, and the vendor mappings stay yours. Budget separately for a NextGen Connect license if you run version 4.6 or later.
In HL7 v2, any segment beginning with the letter Z (such as ZPV or ZIN) holds custom site-specific fields with no machine-readable schema, forcing engineers to parse PDF implementation guides per hospital. In FHIR R4, custom attributes use structured Extension objects pointing to a canonical StructureDefinition URL while preserving every standard US Core element intact, allowing parsers to validate payloads automatically without breaking downstream consumers.
Building a HIPAA-aware hybrid clinical sidecar or middleware platform combining an embedded SMART on FHIR clinician UI, HL7 v2 MLLP event ingestion, and Bulk FHIR $export runs $40,000 to $75,000 over 8 to 14 weeks in CEE (worked 820-hour midpoint: $57,400 CEE versus $135,300 US). Ongoing BAA cloud infrastructure, high-availability Mirth/NextGen clusters, and security maintenance run $900 to $2,200 per month, or teams can retain a dedicated Idealogic healthtech squad starting from $18,000 per month.
More from the journal

EHR Implementation Cost in 2026: SaaS Rollout vs Custom Build
Commercial EHR rollouts hide chart migration, HL7/FHIR interfaces, and clinician productivity loss behind per-seat quotes. Here is EHR implementation cost in 2026 across SaaS clinics, hospitals, SMART on FHIR sidecars, and custom specialty EHRs.

Nylas vs Cronofy in 2026: Calendar Sync, CASA & TCO
Nylas vs Cronofy vs Aurinko and owned Google Workspace + Microsoft Graph sync in 2026: public per-account pricing, which Google scopes need CASA Tier 2, a PostgreSQL KMS token vault, and 36-month TCO math at 6,000 accounts.

PostHog vs Mixpanel vs Amplitude: 2026 SaaS TCO Guide
Engineering and 36-month TCO teardown of PostHog vs Mixpanel and Amplitude vs Mixpanel in 2026: ClickHouse HogQL vs Arb storage, session replay, feature flags, HIPAA BAAs, first-party PII reverse proxies, and warehouse stacks.