Softwr

Logging · head to head

Loki vs Stackdriver

Loki logo

Loki

Logging

Like Prometheus but for Logs

From
Free
Rated
-
Stackdriver logo

Stackdriver

Logging

Google Cloud Operations - Monitoring and Logging

From
Free
Rated
-

The short version

  • Each has a real cost: Loki the Grafana Cloud free tier caps log ingestion at 50 GB a month with 14 day retention; Stackdriver stackdriver is now branded Google Cloud Observability and cloud.google.com/stackdriver redirects to the Observability product page
  • They diverge on capability: Loki covers Log aggregation, Stackdriver covers Log management.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which Loki and Stackdriver actually diverge.

Attributes where Loki and Stackdriver differ
AttributeLokiStackdriver
Pricing modelopen-sourceusage-based
Founded20142006

Identical on both: starting price (Free), free tier (Yes), platforms (Web, Api), user rating (Not yet rated), category (Logging).

What each one covers

Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Loki

  • Log aggregation
  • Label-based indexing
  • Real-time log streaming
  • LogQL query language

Only in Stackdriver

  • Log management
  • Metrics collection
  • Real-time monitoring
  • Error reporting

Both cover

  • API
  • Webhooks
  • REST
  • Web support
  • Api support

What people use each for

The jobs each tool is most often brought in to do.

Loki

  • Aggregating application and infrastructure logs with label based indexingnot Stackdriver
  • Querying logs alongside metrics in Grafananot Stackdriver

Stackdriver

  • Application performance monitoringnot Loki
  • Log aggregation and analysisnot Loki
  • Cloud infrastructure observabilitynot Loki
  • Distributed trace analysisnot Loki

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Loki

  • The Grafana Cloud free tier caps log ingestion at 50 GB a month with 14 day retention
  • Paid log pricing is split across three separate meters, at $0.050 per GB processed, $0.400 per GB written and $0.100 per GB retained
  • Retaining logs is billed separately from ingesting them, so keeping data costs on an ongoing basis rather than once
  • The Pro plan carries a $19 a month platform fee before any usage charges

Stackdriver

  • Stackdriver is now branded Google Cloud Observability and cloud.google.com/stackdriver redirects to the Observability product page
  • Cloud Logging charges $0.50 per GiB ingested, with only the first 50 GiB per project per month free
  • Logs kept beyond 30 days cost an extra $0.01 per GiB per month on top of the ingestion charge
  • Monitoring metric ingestion starts at $0.2580 per MiB, with only the first 150 MiB per billing account free
  • Alerting policies are billed at $0.35 per month for each metric reference in the policy
  • Uptime checks cost $0.30 per 1,000 executions and synthetic monitors $1.20 per 1,000 executions, with only 100 synthetic executions per billing account free
  • Monitoring read API calls cost $0.50 per million time series returned beyond the first million per billing account
  • Log volume is measured before indexing on the actual size of log entries, so verbose logging directly drives cost

Pricing, plan by plan

Loki

Free
  • FreeFree
    • Log aggregation
    • Label-based indexing
    • Real-time log streaming

Stackdriver

Free
  • FreeFree
    • Log management
    • Metrics collection
    • Real-time monitoring

Which should you pick?

Choose Loki if

  • You need log aggregation.
  • You want to start without paying.
  • You work on Web, Api.
  • You also want label-based indexing.

Choose Stackdriver if

  • You need log management.
  • You want to start without paying.
  • You work on Web, Api.
  • You also want metrics collection.

Questions people ask

Is Loki or Stackdriver better?
Neither clearly leads. Loki starts at Free and Stackdriver at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, Loki or Stackdriver?
Loki starts at Free and Stackdriver at Free.
Does Loki or Stackdriver run on more platforms?
Both run on Web, Api, so platform support will not decide this one for you.
Can I use Loki for free?
Both have a free tier, so you can try either at no cost before committing.
What is Loki best used for?
Loki is most often used for aggregating application and infrastructure logs with label based indexing, querying logs alongside metrics in grafana. Of those, aggregating application and infrastructure logs with label based indexing and querying logs alongside metrics in grafana are not what Stackdriver is typically brought in for.
What can Loki do that Stackdriver cannot?
Loki covers Log aggregation, Label-based indexing, Real-time log streaming, LogQL query language. Stackdriver covers Log management, Metrics collection, Real-time monitoring, Error reporting. Both handle API, Webhooks, REST, Web support.

Answered from the vendors’ own pages

Loki: What does it cost to use Grafana Loki?

Loki is open source and free under the AGPLv3 license for self-hosted deployments. Grafana's managed Cloud Logs service includes a free tier up to 50GB of logs at no cost.

Source
Stackdriver: How much does Google Cloud Observability (Stackdriver) cost?

Google Cloud Observability does not publish fixed subscription prices. The service uses a usage-based pricing model where you pay for actual consumption. Specific rates require visiting the individual pricing pages for Cloud Logging, Cloud Monitoring, Cloud Trace, and Cloud Profiler.

Source
Loki: Are there paid options for Loki beyond the free tier?

Yes. Grafana Cloud Logs offers paid tiers for teams and enterprises, and Enterprise Logs provides self-managed options with expert support for organizations with data localization or privacy requirements.

Source
Stackdriver: What is the pricing model for Cloud Logging?

Cloud Logging uses usage-based pricing charged per GB of logs ingested and per GB stored, with monthly free tiers included. Storage charges vary by retention period and location.

Source
Loki: What license does open source Loki use?

Loki is released under the AGPLv3 license, which requires you to share modifications and publish your source code if you deploy modifications publicly.

Source
Stackdriver: How is Cloud Monitoring billed?

Cloud Monitoring charges per custom metric time series per month, with a monthly free tier for metrics. Standard monitoring includes basic default metrics at no extra charge.

Source
Share

Related pages

Other head to heads