OpenTelemetry does not make Datadog cheaper by itself. Sent unfiltered, it often makes it dearer, because Datadog counts application OTel metrics as custom metrics. The savings come from putting an OpenTelemetry Collector tier between your services and any vendor. There, you tail-sample traces, cap metric cardinality and drop or demote low-value logs before anything is billed. Do that first. Only then compare backends: in our worked example below, controls cut the modelled bill by about 80%, and switching vendor on top of that was roughly cost-neutral.
This post is for the people who own that bill. It covers where observability cost actually comes from, a reference Collector architecture with working config, head versus tail sampling, cardinality control, a cost worksheet you can fill in, and a decision matrix for when leaving Datadog is worth the migration.
All prices below are public list prices at the time of writing. Your contract almost certainly differs. Use the structure, and plug in your own rates.
01Where does a Datadog bill actually come from?
Before touching config, find out which meter is running. Datadog bills each signal on a different unit, and the units reward different fixes.
| Signal | Datadog billing unit (list) | What makes it grow | The lever |
|---|---|---|---|
| Hosts | Infrastructure Pro $15/host/month, APM $31/host/month, annual (pricing) | Node count, short-lived nodes | Bigger nodes, fewer agents, right-sized autoscaling |
| Custom metrics | $5 per 100 per month above the allotment of 100 per host on Pro, 200 on Enterprise (billing docs) | Unique metric name × tag-value combinations | Cardinality budgets, attribute drops, SDK views |
| Ingested spans | $0.10/GB beyond 150 GB per APM host (APM billing) | Request rate × spans per request × span size | Sampling before export |
| Indexed spans | $1.27 per million, 7-day retention, annual (pricing); $1.70 at 15-day retention, the rate Datadog's APM billing examples use; 1M included per APM host | Retention filters | Index only what you query |
| Log ingestion | $0.10/GB | Verbosity, health checks, duplicate pipelines | Drop at source or in the Collector |
| Log indexing | $1.06 per million events (3-day) to $2.50 per million (30-day), annual | Indexing everything by default | Index a small slice, archive or use Flex for the rest |
Three things in that table catch teams out.
Custom metrics are counted per series, not per metric name. Datadog's own definition: a custom metric is "uniquely identified by a combination of a metric name and tag values (including the host tag)". A histogram counts as five custom metrics per tag combination. A distribution with percentiles counts as ten (source). One http. histogram, tagged by route, method, status and pod, can quietly become thousands of billable series.
OTel metrics are custom metrics. Datadog treats any metric "not submitted from one of the more than 1,000 Datadog integrations" as custom (source). That covers the metrics your OpenTelemetry SDKs emit. The same signal from a native Datadog integration may sit inside the host fee. So a straight swap from the Datadog agent to OTel SDKs can raise the metrics line before it lowers anything. Infrastructure metrics from Collector receivers such as hostmetrics and kubeletstats are less clear-cut. Datadog says the extra metrics its OTel mapping creates "do not affect Datadog billing" (source), but its docs don't say whether the receiver metrics themselves count as custom. Check the top custom metrics on your Usage page after a pilot, before you roll the Collector out widely.
Ingested span bytes are cheap; host fees and indexing are not. At $0.10/GB, ingesting spans is the cheapest meter on the list, until you send every span from every request. Then volume makes up for the low unit price.
Datadog also offers a newer Metric Name pricing model by contract. It bills unique metric names plus datapoint volume instead of series count. If your bill is mostly cardinality, ask about it at renewal. It changes which of the fixes below matters most.
02Head vs tail sampling: which should you use?
Sampling is the biggest single lever for traces. (If you want a refresher on how one trace is stitched together across hops, see distributed tracing explained hop by hop.) There are two places to decide.
Head sampling decides when the root span starts, in the SDK, before anyone knows whether the request will fail. It costs nothing to run and cuts network and Collector load at the source. Its weakness: it drops interesting traces at the same rate as boring ones. At 5% head sampling you keep 5% of your errors.
Tail sampling decides after the trace has finished, in a Collector that has buffered every span of that trace. You can keep 100% of errors, 100% of slow requests and 2% of everything else. It costs memory and needs a routing tier, because every span of a trace must reach the same Collector instance.
| Head (SDK sampler) | Tail (Collector tail_sampling) | |
|---|---|---|
| Decision point | Root span start | After decision_ |
| Keeps all errors | No | Yes |
| Infra cost | None | Stateful gateway tier, memory-bound |
| Network egress from app | Reduced | Full |
| Works across async/queue hops | Only if context propagates | Only if spans arrive within the wait window |
| Failure mode | Silent loss of rare events | OOM or late spans if undersized |
What we'd actually do: tail sampling at a gateway tier for any service where you debug from traces. Add light head sampling (say 25–50%) only on very high-volume, low-value paths, where even shipping spans to the Collector costs real money in egress or CPU. Stack the two only if your backend understands sampling probability, or your counts will be wrong.
That last point is where the spec is moving. OpenTelemetry's TraceState probability sampling records the rejection threshold in tracestate (ot=th:...), so downstream stages and backends can compute an adjusted count. A 1% sample carries th:fd70a4. The spec is still marked Development. The Collector's probabilistic_ already supports proportional and equalizing modes that write it. Check that your backend reads it before relying on it.
Compute RED metrics before you sample
If you sample traces and then derive request-rate and latency metrics from what is left, your dashboards are wrong by the sampling factor, and wrong in a biased way under tail sampling. Generate span metrics from 100% of spans, then sample. Datadog's own OTel guide recommends this exact split: one pipeline feeds a span_ connector, a second does the sampling.
The catch on Datadog: span metrics sent over OTLP are custom metrics too. Budget them like any other metric (see the worksheet below).
03Reference architecture: a two-tier OpenTelemetry Collector
┌─────────── per node (DaemonSet) ───────────┐
│ │
│ apps ──OTLP──▶ agent collector │
│ • memory_limiter │
│ • k8s_attributes │
│ • filter (noise) │
│ • transform (cardinality) │
│ • load_balancing exporter │
└────────────────────┬───────────────────────┘
│ routed by trace ID
▼
┌───── gateway (Deployment, N replicas) ─────┐
│ │
│ traces ──▶ span_metrics ──▶ metrics │
│ └─▶ tail_sampling ──▶ traces │
│ │
│ metrics/logs ──▶ transform ──▶ backend │
│ │
│ headless Service for pod discovery │
└────────────────────────────────────────────┘The agent tier is stateless and cheap. It enriches, drops obvious noise, and routes traces by trace ID with the load_ exporter. The gateway tier is stateful for traces. That is where tail sampling and span metrics live. Metrics and logs can skip the trace-ID routing and go to the gateway through an ordinary Service, or straight to the backend.
A note on naming: the Collector has spent 2026 renaming components to snake_case. loadbalancing is now load_, spanmetrics is span_, k8sattributes is k8s_, resourcedetection is resource_, and the otlp/otlphttp exporters are otlp_grpc/otlp_http. The old names still work as deprecated aliases (contrib changelog, core changelog). The configs below use the new names and target otelcol-contrib v0.162.0, released 29 September 2026. Batching now lives in the exporter's sending_. The legacy batch processor is being replaced by queue_batch.
Agent collector (DaemonSet)
receivers:
otlp:
protocols:
grpc: { endpoint: 0.0.0.0:4317 }
http: { endpoint: 0.0.0.0:4318 }
processors:
memory_limiter:
check_interval: 1s
limit_percentage: 80
spike_limit_percentage: 20
k8s_attributes: {}
resource_detection:
detectors: [env, system]
# Drop noise that is never queried. Conditions are OR-ed; a match drops the item.
filter/noise:
error_mode: ignore
trace_conditions:
- span.kind == SPAN_KIND_SERVER and span.attributes["url.path"] == "/healthz"
- span.kind == SPAN_KIND_SERVER and span.attributes["url.path"] == "/readyz"
log_conditions:
- log.severity_number < SEVERITY_NUMBER_INFO
# Strip attributes that explode cost on every signal.
transform/hygiene:
error_mode: ignore
trace_statements:
- delete_key(span.attributes, "http.request.header.cookie")
- truncate_all(span.attributes, 2048)
- limit(span.attributes, 64, [])
log_statements:
- truncate_all(log.attributes, 2048)
exporters:
load_balancing:
routing_key: traceID
protocol:
otlp:
timeout: 2s
resolver:
k8s:
service: otel-gateway-headless.observability
ports: [4317]
otlp_grpc/gateway:
endpoint: otel-gateway.observability:4317
sending_queue:
batch: {}
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, k8s_attributes, resource_detection, filter/noise, transform/hygiene]
exporters: [load_balancing]
metrics:
receivers: [otlp]
processors: [memory_limiter, k8s_attributes, resource_detection]
exporters: [otlp_grpc/gateway]
logs:
receivers: [otlp]
processors: [memory_limiter, k8s_attributes, resource_detection, filter/noise, transform/hygiene]
exporters: [otlp_grpc/gateway]Dropping health-check spans at the agent is safe because they are root spans with no children. Do not filter non-root spans here. You will create broken traces that the tail sampler then judges on partial evidence.
Gateway collector (tail sampling and span metrics)
receivers:
otlp:
protocols:
grpc: { endpoint: 0.0.0.0:4317 }
connectors:
forward/sample: {}
span_metrics:
aggregation_temporality: AGGREGATION_TEMPORALITY_DELTA
histogram:
exponential:
max_size: 160
dimensions:
- name: http.route
- name: http.response.status_code
# Hard ceiling on series; excess is folded into otel.metric.overflow="true".
aggregation_cardinality_limit: 5000
processors:
memory_limiter:
check_interval: 1s
limit_percentage: 75
spike_limit_percentage: 15
tail_sampling:
decision_wait: 10s
num_traces: 200000
expected_new_traces_per_sec: 2000
decision_cache:
sampled_cache_size: 500000
non_sampled_cache_size: 1000000
policies:
- name: keep-errors
type: status_code
status_code: { status_codes: [ERROR] }
- name: keep-slow
type: latency
latency: { threshold_ms: 1500 }
- name: keep-critical-routes
type: string_attribute
string_attribute:
key: http.route
values: [/checkout, /payments/confirm]
- name: baseline
type: probabilistic
probabilistic: { sampling_percentage: 5 }
exporters:
otlp_http/traces:
endpoint: https://traces.example-backend.com
sending_queue:
batch: {}
otlp_http/metrics:
endpoint: https://metrics.example-backend.com
sending_queue:
batch: {}
service:
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter]
exporters: [forward/sample, span_metrics]
traces/sample:
receivers: [forward/sample]
processors: [tail_sampling]
exporters: [otlp_http/traces]
metrics/span:
receivers: [span_metrics]
exporters: [otlp_http/metrics]Policies are evaluated together. A trace is kept if any policy says sample, unless a drop policy says otherwise. All options and policy types are in the tail_ README. The processor is beta and ships only in the contrib and k8s distributions. The two decision_ sizes matter more than they look. Without them, a span that arrives after its trace was decided gets judged as a new trace. That is how you end up with half-kept traces.
Sizing the gateway: a worked calculation
Tail sampling memory is roughly:
working set ≈ new traces/s × decision_wait × average trace size in memoryAssume 2,000 new traces per second, decision_, 20 spans per trace and about 1 KB per span in memory. That gives 2,000 × 10 × 20 KB ≈ 400 MB of live trace data across the gateway tier, before decision caches, Go runtime overhead and burst headroom. Plan for two to three times that, spread across at least three replicas so losing one is not an incident. Set num_traces comfortably above traces/ (20,000 here). The 200,000 above gives headroom for bursts and slow traces. Watch otelcol_ metrics and the memory limiter's refusals. Refusals mean you are dropping data before it is sampled.
Failure modes we plan for
- Scaling the gateway reshuffles traces. When the backend list changes, the load-balancing README warns that about R/N of routes move to a different instance. Traces in flight during an autoscale get split, and both halves are judged on partial data. Scale the gateway on a schedule or with slow, conservative HPA settings, not aggressively on CPU.
- Async work that outlives
decision_. A consumer that picks up a message 30 seconds later produces spans for a trace that was already decided. The decision cache covers this if it is big enough. Otherwise, link the consumer span to a new trace rather than parenting it.wait - The Collector becomes the outage. Every signal now flows through it. Run it with a
memory_, PodDisruptionBudgets, and its own telemetry scraped by something that does not depend on it.limiter - Sampling hides a slow regression. If p99 latency drifts from 900 ms to 1,400 ms, a 1,500 ms latency policy never fires. Your span metrics still see it, which is why you compute them before sampling.
04How to control metric cardinality in OpenTelemetry
Cardinality is the product of the distinct values of every attribute on a metric. Four attributes with 50, 4, 8 and 200 values make 320,000 possible series. Price that as a histogram on Datadog (×5) and it becomes the largest line on the invoice.
Fix it in this order. Earlier is cheaper.
- In the SDK, with Views. The metrics SDK spec defines a cardinality limit per metric stream, default 2,000. Excess measurements fold into a single series tagged
otel.(spec, stable). Use Views to keep only the attributes you need, and setmetric. overflow= true aggregation_deliberately. The limit applies after attribute filtering, so the View does the real work.cardinality_ limit - Never put unbounded values in metric attributes. User IDs, request IDs, raw URLs, email addresses, container IDs on business metrics. Use
http.route(the template), neverurl.path. If you need per-user detail, that is what traces and wide events are for. - In the Collector, re-aggregate; don't just delete. Deleting an attribute from cumulative metrics with
transformleaves several data points with identical identity. Most backends then reject them or show garbage. Usemetrics_withtransform aggregate_to sum them back into one series:labels
processors:
metrics_transform/cardinality:
transforms:
- include: http.server.request.duration
action: update
operations:
- action: aggregate_labels
label_set: [service.name, http.route, http.request.method, http.response.status_code]
aggregation_type: sumOnly sum is supported for histograms, which is the one you want anyway.
- At the backend. Datadog's Metrics without Limits lets you choose which tags stay queryable. You then pay for ingested series at $0.10 per 100 and indexed series at your contract rate. Grafana Cloud's Adaptive Metrics aggregates away labels nobody queries. Both work, but you are still shipping the data. Treat them as a safety net, not the plan.
05Logs: the quiet majority of most bills
Logs are rarely the most interesting signal and often the most expensive one, because the default is to index everything for 15 or 30 days. The fixes are dull and they work:
- Drop DEBUG in production at the Collector (the
filter/rule above), and give engineers a feature flag to raise verbosity per service when they need it.noise - Drop access logs that duplicate what your span metrics already count.
- Index a small, deliberate slice: errors, security-relevant events, audit trails. Send the rest to cheap storage. On Datadog that means Flex Logs at $0.05 per million events stored per month (annual), plus a compute tier for querying it that Datadog prices on request (pricing). Below about 2 billion events a month, Flex Logs Starter bundles compute at $0.60 per million events stored. Or use archives to your own object storage.
- If a log line is really a structured event about a request, emit it as a span event or span attribute instead. One fewer pipeline, and it gets sampled with its trace. On Honeycomb, though, each span event counts as a billable event (docs).
Do not sample security and audit logs. Your SOC, your auditors and possibly your regulator will want all of them, at a retention that has nothing to do with debugging. Route them to their own pipeline and their own storage tier.
06The observability cost worksheet
This is the asset we'd hand any team before a renewal or a migration. Fill in the inputs from your own traffic, then apply each backend's units. Every number in the worked example is an illustrative assumption, not a measurement from any real system.
Inputs
| Input | Symbol | Illustrative value |
|---|---|---|
| Hosts running agents (APM + infra) | H | 40 |
| Average requests per second (all services) | R | 2,000 |
| Spans per request | S | 20 |
| Average span size on the wire | B | 1 KB |
| Seconds per month | – | 2,592,000 (30 days) |
| Billable custom metric series (after histogram multipliers) | M | 60,000 |
| Log volume per month | L | 3,000 GB |
| Average log event size | – | 1 KB |
| Trace keep rate after tail sampling | k | 8% (errors + slow + 5% baseline) |
| Indexed span fraction | i | 1% of unsampled volume |
Formulas
spans/month = R × S × 2,592,000
span GB/month = spans/month × B ÷ 1e6 (KB to GB, decimal)
log events/month = L × 1e6 ÷ event size in KB
DD span ingest = max(0, span GB − 150 × H) × $0.10
DD indexed spans = max(0, indexed spans − 1M × H) ÷ 1e6 × $1.27
DD custom metrics = max(0, M − 100 × H) ÷ 100 × $5
DD logs = L × $0.10 + indexed events ÷ 1e6 × $2.50 (30-day)Worked example: Datadog, before and after controls
Spans: 2,000 × 20 × 2,592,000 = 103.7 billion spans/month ≈ 103,680 GB.
| Line (list price, monthly) | Before: everything sent and indexed | After: Collector controls |
|---|---|---|
| Infrastructure Pro, 40 × $15 | $600 | $600 |
| APM, 40 × $31 | $1,240 | $1,240 |
| Custom metrics: 60,000 → 15,000 series, 4,000 included | 560 × $5 = $2,800 | 110 × $5 = $550 |
| Log ingest: 3,000 GB → 1,800 GB (drop DEBUG and health checks) | $300 | $180 |
| Log indexing, 30-day: 3.0B events → 15% of 1.8B (270M) | $7,500 | $675 |
| Flex storage for the remaining 1.53B events (storage only; Flex compute is priced on request and not included) | – | $77 |
| Span ingest: 103,680 GB → 8,294 GB (k = 8%), 6,000 GB included | $9,768 | $229 |
| Indexed spans: ~1,037M, 40M included | $1,266 | $1,266 |
| Total | $23,474 | $4,817 |
That is a 79% reduction without changing vendor, under these assumptions. Notice where it came from: log indexing and span ingest, then cardinality. Host fees did not move. If your bill is mostly hosts, sampling will not save you. Consolidating nodes will, and so might asking whether you need Kubernetes at all.
Same post-control volumes on Grafana Cloud
Using Grafana Cloud Pro list prices: $19 platform fee; metrics $6.50 per 1,000 active series beyond 10,000; logs and traces $0.05 process + $0.40 write + $0.10 retain per GB beyond 50 GB each.
| Line | Calculation | Monthly |
|---|---|---|
| Platform fee | – | $19 |
| Metrics: 15,000 app series + an assumed 40,000 infra series that Datadog included in host fees | (55,000 − 10,000) ÷ 1,000 × $6.50 | $293 |
| Logs: 1,800 GB | (1,800 − 50) × $0.55 | $963 |
| Traces: 8,294 GB | (8,294 − 50) × $0.55 | $4,534 |
| Total | $5,808 |
This counts all three per-GB charges, so treat it as an upper bound. Grafana's billing docs say retention is billed "for each additional retention increment beyond the minimum", and the minimum on paid plans is 30 days (logs, traces). If the retain charge doesn't apply at 30-day retention, logs and traces cost $0.45/GB and the total falls to about $4,810, level with Datadog after controls. Grafana also applies automatic volume discounts, which we have not modelled. Check both against a real quote.
On these numbers Grafana Cloud is no cheaper than a disciplined Datadog setup, because its per-GB trace price is higher than Datadog's $0.10/GB ingest. The comparison flips if you sample traces harder (at k = 3%, the traces line falls to about $1,680, or about $1,380 without the retain charge) or if your host count is large relative to your data volume. That is the real lesson. Controls are vendor-independent. Price per unit matters only after volume is under control.
Honeycomb and ClickHouse in the same model
- Honeycomb bills events, not bytes. Each span, span event and span link is one event (docs). Pro starts at $150 for 50M events a month and goes up to 750M; Enterprise starts at 10 billion events a year (pricing). Our post-control 8.3 billion spans a month is well into Enterprise territory, so on Honeycomb you would sample harder, and dynamically. Its model rewards wide spans with many attributes and penalises chatty instrumentation with many tiny spans. Put the effort into fewer, richer spans.
- ClickHouse-based stacks (ClickStack, which bundles the OTel Collector, ClickHouse and the HyperDX UI, or SigNoz) turn the bill into infrastructure plus people. Storage is the small part. ClickHouse says it compresses logs and traces "on average up to 14x" (source). The real ratio depends on your data, so assume a more cautious 10×: 10.1 TB a month of post-control logs and traces at 30-day retention is about 1 TB on S3 Standard at $0.023/GB-month (AWS), roughly $23. Compute and operations dominate. With an assumed $2,000 a month for a three-node cluster and gateways, plus a quarter of an engineer at an assumed $200,000 loaded annual cost ($4,167 a month), you land near $6,200 a month. That is not cheaper at this scale. It gets cheaper fast as volume grows, because the marginal cost per GB is close to storage cost.
07When should you leave Datadog?
Leave when the product no longer fits how you debug, or when your volume makes per-unit prices dominate. Do not leave just because the bill is high. Most high bills are a configuration problem, and the configuration problem follows you to the next vendor.
| Signal from your own data | Lean towards |
|---|---|
| Bill is mostly host fees; data volume is modest | Stay; consolidate nodes; negotiate |
| Bill is mostly log indexing | Stay or move logs only; fix indexing first |
| Custom metrics dominate after cardinality work | Ask about Metric Name pricing; otherwise Grafana/Mimir-style per-series pricing or self-hosted Prometheus-compatible storage |
| You debug from high-cardinality traces, not dashboards | Honeycomb, or ClickHouse-based tooling |
| Post-control volume in the tens of terabytes a month, so per-GB prices dominate the bill (a judgement call, not a hard line), and a platform team with on-call capacity | Self-hosted ClickHouse or the Grafana LGTM stack |
| You rely heavily on Datadog-only products (RUM, Security, Workflow Automation, Synthetics) | Stay for those; route OTel traces/metrics wherever is cheapest |
| No one owns the observability platform | Stay on a managed vendor. Self-hosting needs an owner |
The quiet benefit of the Collector tier is that this stops being a one-way door. (A vendor move that does stay hard to reverse deserves an architecture decision record.) With all telemetry in OTLP flowing through gateways you control, you can dual-ship one service to a second backend for a month, compare query experience and cost on real traffic, and decide with evidence. Do that before any renewal conversation. It changes the negotiation.
A migration order that keeps you able to debug
- Deploy the two-tier Collector, still exporting to Datadog. Change nothing else. Confirm parity.
- Turn on cardinality controls and log filtering. Measure the bill for one full cycle.
- Turn on tail sampling with span metrics computed beforehand. Watch error-trace retention and late-span rates.
- Dual-export one non-critical service to the candidate backend. Rebuild its dashboards and alerts there.
- Move signal by signal, usually logs first, then traces, then metrics and alerting last. Alerting is where migrations go wrong.
- Cancel or shrink the Datadog commitment at renewal, not before.
08Where this crosses other layers
Observability cost is rarely just a DevOps problem. The cardinality you pay for is set by how software teams name routes and tag metrics. The logs you cannot drop are set by security and audit requirements. A ClickHouse-based stack is, in practice, a data platform with its own capacity planning, retention and access control. The renewal is a commercial negotiation that goes better with dual-shipping evidence in hand. LLM features add their own line: token and cost attribution on spans, which the OpenTelemetry GenAI conventions standardise, and a model bill that needs its own LLM cost engineering. Fix one layer in isolation and the cost reappears in another. That is why we treat the Collector config, the instrumentation standards and the vendor contract as one piece of work.
09FAQ
Does switching from the Datadog agent to OpenTelemetry reduce cost on its own?
No. Application metrics sent over OTLP are billed as Datadog custom metrics, and unsampled OTel traces raise span ingestion. The saving comes from the Collector controls: sampling, cardinality limits and log filtering. OpenTelemetry makes those controls portable and makes leaving possible.
Will tail sampling break my APM dashboards and SLOs?
Only if those dashboards are computed from sampled spans. Generate RED metrics with the span_ connector before the tail_ processor, as in the gateway config above, and base SLOs on those metrics. Traces are then for investigation, not counting.
How many gateway Collector replicas do I need for tail sampling?
Size from memory, not CPU: new traces per second × decision_ × average trace size, then two to three times that for overhead and bursts. Run at least three replicas behind a headless Service, and scale them slowly. Every membership change reroutes some traces.
Head or tail sampling for a small team?
If you run fewer than a handful of services and debug mostly from logs and metrics, head sampling at 10–25% in the SDK is fine and needs no new infrastructure. Move to tail sampling when you start missing the error traces you needed. That usually happens around the time you add asynchronous work.
What is a sensible metric cardinality budget per service?
Start from your backend's unit price and work backwards. Agree a series budget per service, enforce it per metric with SDK Views (the default limit is 2,000 series per metric stream), and alert when otel. appears. That marker means a service has hit its limit and is losing attribute detail. Raise the budget deliberately, in review, not by accident.
Should we self-host Grafana, ClickHouse or SigNoz to save money?
Only if you have the volume and someone who will own it on-call. At modest scale, the people cost of running storage, upgrades and query performance outweighs the vendor margin. As post-control volume grows into tens of terabytes a month, the economics swing towards self-hosting, because the marginal cost approaches object-storage pricing. The same build-versus-buy arithmetic applies to self-hosting open-weight LLMs against API prices.