What Loki costs to own, and whether to build the estimate in-house or with a partner
The license is not the cost driver. Grafana Loki is licensed under AGPLv3, so there is no per-seat or per-volume license fee to pay for the open-source build. The costs that move your budget are object storage for compressed chunks and the index, compute for the write, read and backend components, retention periods that decide how much data sits in storage at any time, the people who build and run the stack, and support for the parts you cannot staff yourself. Grafana Enterprise Logs and hosted logging services change that mix, since they add a commercial fee or a per-volume charge on top of the same underlying storage and compute questions. Before comparing totals, confirm current Enterprise Logs pricing and hosted vendor terms in writing, because neither figure is established here.
A team that already runs Kubernetes, object storage and Grafana usually builds the estimate itself. The inputs are measurable from its own environment: average and peak daily log volume, the deployment mode that volume requires under Loki's documented modes, the retention period for each log class, and the hours its platform engineers will spend on installation, upgrades and on-call. Teams also tend to build it in-house when they expect to change volume or retention often and want to rerun the model themselves. Confirm with your own storage provider what replication, request and egress charges apply, since those lines are easy to miss.
A partner is more useful when the estimate has to be defended to a CISO, CFO or assessor and no one on the team has run a comparable stack. A fixed-scope cost model from DeployOpen covers the sizing inputs, the one-time build costs, the recurring run costs and the options for support or retainers, with each assumption written down. Ask any provider, including us, to show which items are one-time and which recur, how retention and volume growth change the totals, and which people or licenses are excluded. Note that Loki's simple scalable mode is being deprecated and removed with the Loki 4.0 release, so any model that assumes it for the next several years needs a migration line.
What a Loki cost of ownership engagement includes
A cost of ownership engagement turns a Loki decision into numbers your finance, security and platform leads can review. Each deliverable below answers one question: what it costs, how much log data it must handle, how long data is kept, which edition fits, and which skills your team must have before the stack goes live.
One-time and recurring cost model
The model separates one-time costs (design, installation, Grafana and shipper setup, migration of collection pipelines, and security review) from recurring costs (object storage, compute, network egress, backups, licenses or support, and internal operations time). Each line names who is paid: your staff, DeployOpen, your cloud provider or a software vendor. Ask for every assumption behind each line so you can change volume or retention and see the effect.
Daily volume sizing by deployment mode
We measure or estimate your daily log volume, then match it to a Loki deployment mode. Loki documents monolithic mode for up to about 20 GB of logs per day, simple scalable mode approaching 1 TB per day, and microservices mode for very large clusters. Simple scalable mode is being deprecated and will be removed with Loki 4.0, so the sizing must also account for a future mode change.
Deployment modes docsRetention and storage estimate
Loki keeps logs indefinitely until retention is enabled, so the estimate starts with an explicit retention decision for each tenant and stream. We model compressed chunk and index storage in your object store, the compactor's load, and growth over the retention period. The model also flags sensitive log classes that need shorter retention, since retention rules apply per tenant or per stream selector with a minimum of 24 hours per rule.
Retention docsEdition comparison
We compare open-source Loki, licensed under AGPLv3, with Grafana Enterprise Logs, which adds token authorization, label-based access control and cross-tenant queries. For each option the comparison lists license terms, support boundaries, the features you need, and what you must build yourself. Hosted logging tools are compared on ingestion and retention pricing, data residency and exit effort. Confirm license obligations with your legal team before you decide.
- GEL end of life
- 2029
Internal skills to budget
The deliverable lists the roles your team needs to run Loki after go-live: object storage and cloud administration, Kubernetes or Linux operations, a Grafana and LogQL owner, a shipper owner for Grafana Alloy, and someone who manages the authenticating reverse proxy and tenant mapping. For each role we estimate the recurring hours and name the gaps that need training or a retainer. Promtail reached end of life on March 2, 2026, so any shipper work should start on Alloy.
What drives Loki cost and how to keep each item down
This table lists the main cost drivers for a self-hosted Loki stack, why each one moves spend or effort, and what to change to keep it down. Read each row against your own log volumes and compliance obligations before comparing quotes or editions.
| Driver | Why it moves cost | How to keep it down |
|---|---|---|
| Daily log volume | Ingest volume sets write capacity, object storage growth and query load. Every extra gigabyte per day adds storage and compute that recur each month. | Measure ingest by source before sizing. Drop debug noise and health-check lines in the shipper, and ask for volume figures per team before committing to a size. |
| Deployment mode | Monolithic mode runs as one binary and suits smaller volumes. Simple scalable mode splits read, write and backend targets, which adds nodes but handles more volume. Microservices adds the most components to run. | Pick the smallest mode that fits current volume. Simple scalable mode is being deprecated and will be removed with Loki 4.0, so plan a move to microservices or another supported layout before that release. |
| Object storage choice | Chunks and the index live in object storage, so storage and request charges recur. Managed object stores bill for capacity, requests and egress, and self-hosted S3-compatible stores shift that cost to your hardware and operations. | Use a supported production store such as S3, Google Cloud Storage or Azure Blob Storage. Confirm request and egress pricing with your provider and set lifecycle rules where appropriate. |
| Retention periods | Retention is disabled by default, so logs are kept indefinitely until it is enabled. Longer retention multiplies stored volume, and every stored gigabyte recurs. | Set retention per tenant or per stream selector rather than one global value. Each stream rule must be at least 24 hours, so match periods to legal and operational needs and confirm them with your compliance team. |
| Number of tenants | With multi-tenancy enabled, each tenant is identified by X-Scope-OrgID. More tenants add per-tenant limits, configuration, access mapping and retention rules to maintain. | Group teams into a small number of tenants where isolation needs allow. Document the tenant model so changes do not turn into ongoing configuration work. |
| Log shippers | Grafana Alloy is the supported shipper. Promtail reached end of life on March 2, 2026, so keeping it adds unsupported risk and a migration later. Each shipper runs as agents that consume node resources. | Standardize on Grafana Alloy now. Confirm which other shippers, such as Fluent Bit, Fluentd or the Docker logging driver, your estate already runs before adding new ones. |
| Grafana access and authentication | Loki has no built-in authentication layer, so an authenticating reverse proxy and identity integration must be built and operated. Grafana seats and access tooling may also be licensed separately. | Reuse existing identity provider and reverse proxy components where possible. Ask any implementation partner to price this work as a separate line item. |
| Edition choice | Loki is licensed under AGPLv3, so there is no license fee for the open-source edition. Grafana Enterprise Logs adds token authorization, label-based access control and cross-tenant queries under a commercial agreement, with long-term support to February 1, 2029. | Compare the features you need, such as label-based access control, against the open-source edition. Ask Grafana Labs for current GEL pricing and terms in writing before deciding. |
| Compliance evidence | Assessors expect access records, retention settings, encryption and change history. Producing and keeping this evidence takes ongoing internal or partner time, and it recurs with each assessment cycle. | Build audit logging, retention configuration and access reviews into the platform from the start. Confirm the evidence list with your auditor before work starts, since DeployOpen prepares evidence but does not issue audit reports. |
AGPLv3 Loki, Grafana Enterprise Logs or hosted logging
Grafana Loki is licensed under AGPLv3, so there is no license fee to pay for running it. The cost moves to the infrastructure and the people who operate it. Object storage, compute for the read, write and backend components, and the internal platform time to keep ingestion, retention and upgrades healthy all become your budget lines. AGPLv3 also carries obligations: if you modify Loki and make it available to users over a network, you must offer those users the corresponding source. Confirm with your legal team how that applies to your internal use and any internal tooling you build around it.
- Recurring infrastructure: object storage capacity grows with retention and daily volume, and compute scales with query load and ingestion rate.
- One-time build: deployment design, shipper configuration, Grafana access and the initial retention policy.
- Internal time: on-call, version upgrades, index and schema changes, and patching are staff hours that recur every month.
- Support: community channels are available, but production incident response and fixes on your timeline are your responsibility or a partner's.
- License terms: AGPLv3 obligations apply to modifications, so record any changes you make.
Check which deployment mode fits your volume, and confirm with your legal team how AGPLv3 applies to your use before you rely on the free license.
Grafana Enterprise Logs (GEL) is Grafana Labs' commercial product based on Loki. It adds token authorization, label-based access control and cross-tenant queries, which matter when several teams or business units share one logging platform and need different visibility. GEL entered long-term support with version 3.6 and reaches end of life on February 1, 2029, so the support window is fixed and can be planned against. Pricing is not published here, so the commercial price has to be obtained from Grafana Labs against your scope, volume and support level.
- Access control: label-based access control and token authorization reduce the need for custom proxy logic to separate tenants.
- Cross-tenant queries: useful for central security or operations teams that need to search across tenants, with the access model defined in the product.
- Support term: long-term support runs to February 1, 2029, which gives a known horizon for upgrade planning.
- Licence cost: a recurring commercial fee on top of infrastructure, obtained from Grafana Labs in writing.
- Lock-in check: confirm how easily a GEL deployment can move back to open-source Loki and what the contract says about renewal.
Ask Grafana Labs for a written quote tied to your daily volume, retention period, deployment model and support terms, and confirm which features you need before comparing it with the AGPLv3 option.
A hosted logging service bills you through a subscription, usually priced on ingested or stored volume, on user seats, or on a mix of both. This moves operations to the vendor and gives predictable onboarding, but the bill rises with log volume, and verbose services can make cost hard to forecast. Data residency is the other major trade-off: logs often contain personal data, credentials and internal network detail, so you need to know which regions store them, who can access them and how deletion works. Pricing models differ widely, so ask for the unit price, the overage terms and the retention charges in writing.
- Volume-based pricing: cost grows with ingestion and retention, so reducing noisy logs at the source has a direct effect.
- Seat-based pricing: adds cost as more engineers and auditors need access, which can offset savings on volume.
- Data residency: confirm the storage region, backup regions, support access locations and subprocessors.
- Exit terms: check export formats, deletion certificates and the cost of moving historical data out.
- Control gap: access settings, retention rules and encryption keys are set by the vendor's model, not your own.
Request the price schedule, data residency commitments and deletion terms in writing, then model your own daily volume and retention against them before you decide.
How the cost model is built, phase by phase
The sequence turns a vague budget question into a written cost model that separates one-time build effort from recurring storage, compute, people and support spend, with each phase producing an input the next one depends on.
Inventory log sources and daily volume
Your platform or operations lead lists every system that will ship logs, including servers, containers, Kubernetes clusters, network devices, applications and SaaS audit exports. For each source, the team estimates average and peak daily volume, log format and how often the data is queried. DeployOpen works through this list with your engineers and checks estimates against a sample of real ingestion from a pilot host where one exists. The step is done when every source has a volume estimate, an owner and a note on whether its logs contain regulated or sensitive data.
Choose the deployment mode and sizing basis
Using the volume inventory, the team matches the workload to a Loki deployment mode. The Loki documentation places monolithic mode at up to about 20 GB of logs per day and simple scalable mode at approaching 1 TB per day, and it states that simple scalable mode is being deprecated and will be removed with Loki 4.0, so a cost model that assumes it for a long-lived platform needs a planned migration line. Microservices mode is for very large clusters. The output is a written mode decision, a sizing assumption for read and write capacity, and a list of the ingestion and query paths your team will operate.
Model object storage and retention
Retention drives most of the recurring storage cost, so the team writes retention periods per tenant, per team and per stream selector, not one global number. Loki keeps logs indefinitely until retention is enabled, so the model must state the retention setting explicitly and the minimum period for each stream rule, which the docs set at least 24 hours. The team then applies a compression assumption and a replication or redundancy assumption from your chosen object store, and asks each object storage vendor for its current per-GB storage, request and egress rates. The output is a storage table by tenant and retention period, with a monthly growth line.
Decide edition and access model
This is the point where the open-source and commercial paths diverge. AGPLv3 Loki is licensed under AGPLv3, which was announced on April 20, 2021 as the license change for Loki and other core Grafana Labs projects. Grafana Enterprise Logs adds token authorization, label-based access control and cross-tenant queries, and it entered long-term support with version 3.6 and reaches end of life on February 1, 2029. Loki has no built-in authentication layer, so an authenticating reverse proxy is required in either path. The team records which access controls are needed, who will query across tenants, how license obligations apply to your modifications, and which support contract, if any, covers each option. The output is a edition decision with its license and access-control rationale, plus a list of items to confirm with Grafana Labs.
Price compute, network and tooling lines
The team adds the compute for ingesters, queriers, compactors and gateways in the chosen mode, the load balancers, the reverse proxy, the Grafana instance, the log shippers and backups of configuration and access records. Log shipper choice matters here: Grafana Alloy is Grafana's supported shipper, Promtail reached end of life on March 2, 2026 with no further updates or commercial support, and Fluent Bit, Fluentd and the Docker logging driver are also accepted. Each line gets an owner and a note on whether it is one-time setup or recurring. Ask your cloud or data center team for current rates and a reserved-capacity option. The output is a compute and tooling table with recurring and one-time totals kept separate.
Estimate people, support and migration effort
The largest line in many models is internal platform time, not infrastructure. The team estimates the roles needed to build, run and upgrade the stack, including on-call coverage, schema and version upgrades, Helm chart changes and query testing. It also adds a line for any migration the platform forces, such as Promtail to Alloy or moving off older index stores, and for any source migration from an existing stack. Where a partner is involved, the scope is written as a fixed-scope statement of work, and recurring support is a separate retainer line. The output is a people table with named roles, one-time and recurring hours or cost, and a list of what each support tier includes.
Produce the written cost model and handover
The team assembles the one-time build cost, the recurring run cost by month and the assumptions behind each figure into a single document, with sensitivity notes showing which inputs move the total most, such as daily volume and retention. Each assumption is marked as confirmed, estimated or open. DeployOpen reviews the model with your finance, security and platform leads, then hands over the workbook, the sizing notes and the open-item list. The step is complete when each open item has an owner and each cost line can be traced to an input.
How the cost lines connect across the Loki stack
The diagram starts at the log shippers on each host, which are Grafana Alloy, Fluent Bit, Fluentd or OpenTelemetry senders, and follows their traffic through the reverse proxy into the Loki write path. Chunks and the index land in object storage, which is where the largest recurring storage line sits. The compactor then applies retention to that same store, and Grafana reads back through the proxy and the read path. Cost lines are marked in the labels: the object storage, the compute running Loki and the proxy, and the people who operate them recur every month. Check that each recurring line has an owner and a sizing assumption before you request a quote.
Log flow and recurring cost lines across a self-hosted Loki stack.
Recurring costs after Loki goes live
This table lists the costs that keep arriving once a self-hosted Loki stack is in production, with who pays for each and what drives it up or down. Read it as a checklist for budgeting and for the questions to put to any partner or vendor quote, since most running costs scale with log volume and retention rather than with the initial build.
| Recurring item | What it covers | What drives it, and what to ask for in a quote |
|---|---|---|
| Object storage capacity and requests | Compressed log chunks and the index kept in the object store you choose, plus read and write requests to it | Daily ingest volume and retention periods, since retention is disabled by default and logs are kept until you set it. Ask for storage tier, request estimates and how the quote treats egress. |
| Compute for read, write and backend targets | Nodes or pods that run the ingest path, the query path and the compactor, sized for your deployment mode | Deployment mode and peak query load. Monolithic mode suits small volumes; simple scalable mode is being deprecated ahead of Loki 4.0, so ask how the quote plans for that change. |
| Reverse proxy and TLS | The authenticating reverse proxy Loki requires in front of it, certificate issuance and renewal, and the ongoing configuration upkeep | Choice of proxy and identity integration. Ask who owns certificate renewal and proxy patching after handover. |
| Upgrades and testing | Planned Loki version upgrades, Helm chart updates, query checks and retention checks after each change | Release cadence and how many environments you test in. Ask for the number of upgrade cycles included in the support scope. |
| Promtail to Alloy migration effort | One-time migration work that becomes recurring if new hosts or log shippers are added | Promtail reached end of life on March 2, 2026 with no further updates, so budget for the move to Grafana Alloy. Ask whether shipper configuration maintenance is covered. |
| Grafana Enterprise Logs subscription | Commercial license and support for Grafana Enterprise Logs, if you choose it over self-managed AGPLv3 Loki | Only applicable if you need token authorization, label-based access control or cross-tenant queries. GEL is supported through February 1, 2029. Ask Grafana Labs or a reseller for the license quote. |
| Internal platform time | Staff hours for on-call response, capacity reviews, access requests and tenant onboarding | Number of teams and tenants and how many people hold Loki operations skills. Ask a partner what ongoing support retainer covers and what stays with your team. |
Which parts of the cost model teams keep in-house and which they outsource
The cost of a Loki stack is set by decisions that only the owner can make, such as how much data to keep and who may see it. Partner work sits around those decisions: modeling, benchmarking, edition comparison and documentation. The cards below separate the two so each side knows what it must bring to the table.
Log volume and retention decisions
Your team decides how many gigabytes per day each source produces, which streams matter, and how long each class of logs must stay. Loki applies retention through the compactor, and it is disabled by default, so logs are kept indefinitely until retention is switched on. Confirm the retention periods with compliance owners before any sizing work starts, because they drive object storage growth for the life of the stack.
Loki retention docsData classification and access rules
Your security and privacy teams decide which logs contain personal, payment or health data, and which teams may query each tenant. Loki has no built-in authentication, so an authenticating reverse proxy and tenant mapping must reflect those rules. Partners can implement the controls, but the classification itself must be signed off internally.
Budget approval and cost ownership
Finance and the platform owner approve the storage, compute and staffing budget and decide who carries the recurring cost. Ask a partner for a quote that splits one-time work from monthly object storage, compute and support costs, so the approved figure can be checked against actual usage later. The approver should also decide the hosting model, since it changes which costs appear.
Sizing, benchmarking and modeling
A partner can model ingest rate, index and chunk sizes, query load and the deployment mode that fits the volume, then benchmark a representative sample before you commit. This work needs storage administration skills and some Kubernetes or Helm experience to run realistic tests. Ask for the assumptions and test data so your team can rerun the model when volumes change.
Edition and licensing comparison
Compare AGPLv3 Loki with Grafana Enterprise Logs, which adds token authorization, label-based access control and cross-tenant queries. The AGPLv3 terms carry obligations that your legal team should review for your use case. A partner can document the feature gap and the support lifecycle for each edition, and your team confirms the licensing position with counsel.
Grafana licensingRunbooks and handover documentation
A partner can write the architecture record, cost model, sizing assumptions and operating runbooks, and train the people who will run the stack. Your team keeps the documents current, owns the Grafana administration tasks and the on-call rota, and reviews changes to deployment mode or retention. Agree on who updates the cost model after each upgrade or volume change.
How the cost model changes by starting point
Moving from a hosted or commercial logging product replaces a per-volume or per-seat subscription with infrastructure and staff time you carry yourself. The one-time costs grow because you must rebuild dashboards, alerts, saved queries and shipper configuration in Grafana and LogQL, and run both systems in parallel while teams verify results. Recurring costs shift from the vendor invoice to object storage, compute for the write and read paths, and the people who operate the stack.
- Parallel running: Keep the old tool receiving logs until dashboards and alerts are verified, which adds a temporary double cost on both sides.
- Query rewrite: Saved searches written in another query language need translation, and that effort scales with the number of alerts and dashboards.
- Retention reset: Loki keeps logs indefinitely until retention is enabled, so set retention on day one or storage costs will grow without a limit.
- Shipper replacement: Agents tied to the old vendor must be replaced, typically with Grafana Alloy, Fluent Bit or Fluentd.
- Recurring support: Ask whether your vendor or partner will carry the operating load, since the subscription line disappears but the on-call line does not.
Ask for a quote that separates the migration effort from the steady-state run cost and names the subscription you are replacing so the comparison is like for like.
An existing Loki deployment on an older release or a deprecated index store carries migration work that a new install would not. Loki recommends TSDB as the index store for version 2.8 and newer, and it documents older stores such as DynamoDB, Bigtable and Cassandra as deprecated. Upgrading the schema and index is a planned operation that consumes engineering time, test capacity and a maintenance window, and it is a cost you pay even though the logs themselves are not moving.
- Index migration: Moving from a deprecated index store to TSDB requires schema configuration changes and verification that queries still return the same results.
- Version path: The latest release line is the reference point, so the number of intermediate upgrades affects test effort more than storage does.
- Deployment mode change: The simple scalable mode is being deprecated and will be removed with Loki 4.0, so a stack on that mode will need a move to another mode before that release.
- Shipper change: Promtail reached end of life on March 2, 2026, so a Promtail fleet needs migration to Grafana Alloy as part of the same plan.
- Stored data: Existing object storage contents stay in place, but the cost of retaining old chunks you no longer need is recurring and should be reviewed.
Check whether the current stack has retention, tenant and authentication settings documented, because undocumented configuration adds discovery time to every line above.
Running Loki on Kubernetes changes the cost mix toward platform time. The chart, persistent volumes, service mesh or ingress, and the monitoring of the cluster itself become part of the run cost, and the cluster's own upgrade cycle now affects the logging stack. Object storage remains the main data cost, but compute reservations for the write, read and backend components can be higher than they look on paper because pods request resources that the cluster must keep available.
- Chart and values maintenance: Helm chart updates are recurring work that must be tested against the Loki version in use.
- Deployment mode fit: Monolithic mode suits smaller volumes, while simple scalable or microservices modes add components and therefore more reserved capacity.
- Cluster overhead: Shared clusters may already carry monitoring and ingress costs, so ask which lines are new and which are reallocated.
- Shipper footprint: Grafana Alloy or other agents run on every node, which adds a per-node cost that grows with the cluster.
- Skills: The team needs Kubernetes operations skills, which is often the largest hidden people cost.
Ask the partner or your own platform team to list every component with its requested resources, persistent volumes and the team that owns each one before agreeing to a budget.
In an air-gapped network, object storage is usually S3-compatible on infrastructure you run, such as MinIO. Loki supports S3-compatible stores, but its documentation notes they are not typically recommended for production, and the recommended production stores are Amazon S3, Google Cloud Storage and Azure Blob Storage. The cost model therefore moves from a managed storage bill to hardware, storage operations, and the engineering time needed to test and support a less common setup, plus the cost of any access-control work the network requires.
- Storage hardware: Capacity, redundancy and replacement cycles become capital and operating costs you own.
- Storage operations: Someone must run, monitor and back up the S3-compatible store, which is a recurring people cost.
- Testing burden: Because the store is not the recommended production option, plan extra verification for compaction, retention deletion and recovery.
- Updates by transfer: Loki releases, container images and chart updates must be moved across the boundary, which adds lead time and handling cost to every upgrade.
- Access and audit: Authentication in front of Loki, tenant separation and audit records remain necessary and have their own build and review effort.
Confirm with your storage vendor and with the Loki storage documentation how the chosen store behaves under production load before you commit to a cost model.
What the client needs to provide before a cost model can be built
Start with the inputs that move the estimate most. The first is an inventory of current log sources and their volumes: which hosts, containers, applications, network devices and cloud services emit logs, and how many gigabytes per day each produces at peak and on average. Daily volume decides the deployment mode. Loki's documentation places monolithic mode at up to about 20 GB of logs per day and simple scalable mode approaching 1 TB per day, so the same ingest rate can point to very different compute and operations work. Ask the team to pull at least a few weeks of volume data from the current logging tool, because a single average hides the spikes that set write capacity. Also ask for the number of distinct label combinations you expect to query, since high label cardinality raises index cost and slows queries regardless of volume.
Next, collect retention requirements by data class. Loki keeps logs indefinitely until retention is enabled in the compactor, so an undefined policy is itself a cost decision. Separate application debug logs, security and audit logs, and logs that fall under a legal hold or a contractual period, then record a retention period for each. Retention is set globally, per tenant or per stream selector, with each rule at least 24 hours, so the number of classes you need determines how many tenants and rules to configure. Longer periods multiply stored volume and the object storage bill. Confirm with legal and compliance owners who must approve deletion, since deleting sensitive logs early can break an evidence obligation.
Then document the cloud or data center constraints and the object storage choice. State where logs may be stored, which regions or sovereign zones apply, whether the environment is air-gapped, and which storage service is approved. Loki's recommended production stores are Amazon S3, Google Cloud Storage and Azure Blob Storage, while S3-compatible stores such as MinIO are supported but not typically recommended for production, so an on-premises requirement changes the storage and operations plan. Ask for the existing storage contracts, egress rules and encryption standards. Finally, make two decisions in writing: the edition, meaning the AGPLv3 open-source build or Grafana Enterprise Logs with its added access controls and long-term support, and the access model for people who query logs. Name one budget owner who approves spend and one operations owner who accepts the on-call and upgrade work. Without these names, the estimate cannot separate one-time build cost from recurring run cost.
Questions buyers ask about Loki cost and editions
Does Grafana Loki itself cost money to use?
Loki is licensed under AGPLv3, so there is no license fee to run the open-source edition in your own infrastructure. Grafana Labs announced on April 20, 2021 that Loki and its other core projects would move from Apache License 2.0 to AGPLv3, which matters if you modify Loki and offer it to users over a network, since the license then requires you to make your modified source available. Your legal team should review that obligation against your use. The money you spend goes to the infrastructure the stack runs on, the people who operate it, and any external help you buy. Confirm the license terms on the Grafana Labs licensing page before you rely on them.
What drives the total cost of a self-hosted Loki stack?
Total cost is driven by five components, each with a different payer and rhythm:
- Object storage for compressed chunks and the index, which recurs monthly and grows with daily volume and retention.
- Compute for the chosen deployment mode, including write, read and backend capacity, which recurs.
- Retention settings, since retention is disabled by default and logs are kept indefinitely until you configure it.
- Internal platform time to design, install, shipper setup, Grafana access and runbooks, which is one-time with ongoing operations time.
- Support, upgrades and any vendor or partner contract, which may be one-time or recurring.
Ask any quote to split these lines out so you can see which costs change with volume and which stay fixed.
How long does it take to build a Loki cost model?
The time depends on how much of your environment you already know. A usable model needs your daily log volume, the deployment mode you expect to run, your retention periods, the object store you plan to use, and the number of log sources and Grafana users. Collecting those inputs is usually the longest step, because volume figures are often missing or come from different systems. The Loki documentation gives approximate daily ceilings for each deployment mode, which helps narrow the options, but it does not give a timeline for your project. Ask any partner to state the duration and effort in the written scope before work starts.
Can our own team build and run Loki without an outside partner?
Yes, a capable platform team can deploy Loki alone, since it is open source and the documentation covers installation, storage, retention and multi-tenancy. The harder work is the surrounding stack: an authenticating reverse proxy, because Loki has no built-in authentication layer, log shippers such as Grafana Alloy, TLS between components, access control for people who query logs, and tested backup and restore. Promtail reached end of life on March 2, 2026, so any team starting now should plan on Grafana Alloy. Decide whether your staff can own those pieces for the life of the system, not only the first deployment.
What does the work need from our team during an engagement?
DeployOpen works inside your own cloud accounts, data centers or air-gapped networks, so your team provides access, decisions and sign-off. In practice that means named owners for the platform, security and compliance requirements, a list of log sources with expected volumes, decisions on retention by data class, access to identity systems for Grafana and the reverse proxy, and a change window for cutover. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts. Ask for that written scope to list every dependency on your side so that delays can be traced to a named item.
When is Grafana Enterprise Logs worth comparing with open-source Loki?
Compare Grafana Enterprise Logs (GEL) when you need features that the open-source edition does not provide, such as token authorization, label-based access control or cross-tenant queries. GEL is Grafana Labs' commercial product based on Loki. It entered long-term support with version 3.6 and reaches end of life on February 1, 2029, which is a useful date to put in a multi-year plan. Its license fee is set by Grafana Labs, so request a quote from them. Weigh that fee against the engineering time to build the same controls yourself, and confirm which features your access model actually requires.
How does hosted logging compare with self-hosted Loki on cost?
Hosted logging usually replaces the storage, compute and operations lines with a subscription that scales with ingest and retention, so cost is more predictable in exchange for less control over where logs live. Self-hosted Loki moves those costs to your infrastructure and your staff, which suits organizations that must keep logs in their own accounts or regions. Compare the two on the same inputs: daily volume, retention by data class, number of users and the compliance evidence you must produce. Ask each hosted vendor for its pricing model in writing, and ask your own team to cost the operations time in the same period.
Which Loki costs are one-time and which recur?
One-time costs include the initial design, installation, shipper and Grafana integration, the reverse proxy and identity setup, and the first migration of any existing logging tool. Recurring costs include object storage, compute, the people who run the platform, version upgrades, and any support or retainer agreement. Retention is the setting that most changes recurring storage, because logs kept indefinitely grow without a limit. Ask for the quote to separate these two groups so you can plan the budget for each year.
How DeployOpen scopes and hands over a Loki cost model
DeployOpen is a Chainscore Labs company that plans, implements and supports self-hosted open-source platforms inside the client's own infrastructure, including cloud accounts, data centers and air-gapped networks. For a Loki cost model, that means the cost model is built from your environment: your daily log volume, the object store you already run or will buy, the retention periods your compliance owners require, the Grafana access your people need, and the internal platform time your team can actually give. Most engagements are fixed-scope, so the cost model is written as a scoped deliverable rather than an open-ended estimate.
Before any work starts, scope, deliverables and timelines are agreed in writing. For this topic, the written scope should name each cost line it covers: object storage capacity and request costs, compute for the chosen deployment mode, retention settings and the storage they imply, log shipper choices, Grafana access, and the one-time build effort separated from recurring operations. A quote follows from that written scope, so the more precisely you define the environment and the questions you need answered, the more usable the quote. Ask for the assumptions behind every line, including which figures come from your own measurements and which are planning assumptions to be validated during discovery.
Handover is where the cost model either holds up or drifts. The deliverable should be a document your finance, platform and security teams can each check: the one-time items, the recurring items with their drivers, and the triggers that would change them, such as a jump in daily volume, a longer retention rule, or a move to a different edition. Retainers are available for ongoing support, upgrades and continuous review of those assumptions after go-live. Ask whether the retainer covers re-running the cost model when volume or retention changes, because that is the point at which an unmanaged estimate usually becomes outdated.

