NULLBIT
NULLBIT
Blog
Author: ALFRED

SLO vs SLA: The Difference and How to Set Both

An SLO is an internal reliability target, an SLA is a contract with consequences. Learn how SLIs, SLOs and SLAs fit together, with examples and a setup routine.

SLO vs SLA: The Difference and How to Set Both

SLO vs SLA: The Difference and How to Set Both

Hand-drawn service reliability title card

An SLO (service-level objective) is a reliability target your team sets for itself. An SLA (service-level agreement) is a contract with a customer that attaches consequences, usually money, to missing a target. The quickest test comes from Google’s SRE book: ask what happens if the target is missed. If nothing explicit happens, it is an SLO. If a credit, refund or penalty follows, it is an SLA.

The distinction matters most when you are commissioning software. A vendor who quotes an uptime number without saying whether it is an objective or a commitment leaves you guessing about who carries the risk. At Nullbit we build custom software, AI solutions and cloud infrastructure, and we treat reliability targets as part of the design brief, not a footnote added at launch.

Nullbit
Build Reliability Into Your Software
Nullbit develops custom software and AI solutions, with reliability targets treated as part of the design brief rather than a launch afterthought.
Visit

TL;DR

  • SLI is what you measure, SLO is the target you aim for internally, SLA is the promise you make to a customer, with consequences attached.
  • Your SLO should be tighter than your SLA, so you notice and fix problems before you owe anyone a credit.
  • Never set an SLO of 100%. Pick a target users can feel, and use the gap (the error budget) to decide when to ship and when to stabilize.
  • Do not copy a cloud provider’s SLA percentage as your own target. Your code, dependencies and processes change the math.
  • Define SLIs and SLOs before you sign an SLA, and write the SLA from real measurement data.

Table of Contents

The three terms in plain language

The three acronyms form a chain. Each one builds on the one before it.

SLI (service-level indicator). A carefully defined measurement of some aspect of service quality. The Google SRE book names request latency, error rate and throughput as typical examples, often expressed as a rate, average or percentile over a time window.

SLO (service-level objective). A target value or range for an SLI. “Average search request latency under 100 ms” is the book’s own example. It is a goal for engineering and product teams, not a legal promise.

SLA (service-level agreement). An explicit or implicit contract with users that includes consequences for missing the SLOs it contains. Most often the consequence is financial: a rebate, a service credit or a penalty.

The three terms in plain language

AWS puts the same split in one line in its performance testing guidance: SLIs are what you measure, SLOs are what you target internally, and SLAs are what you promise externally.

SLO vs SLA side by side

SLO SLA
Audience Your engineering, product and operations teams Your customer, and your lawyers
Nature Internal target Contractual commitment
If missed Internal action: investigate, slow releases, fix Credits, refunds, penalties, possibly a breach claim
Flexibility Can be tightened or loosened as you learn Changes need agreement from both sides
Typical level Stricter Looser, with a safety margin
Written from Measurement and user expectations The SLOs you already meet, plus scope and exclusions

The last two rows are where most confusion lives. AWS notes that SLOs are always tighter than SLAs, which is why load tests should validate against SLOs. If you only test against the SLA number, you have no margin left when something goes wrong.

Why people mix them up

In everyday conversation, “SLA” has become a catch-all. An engineer says “we breached the SLA” when a dashboard dipped below 99.9%, even though no contract was involved. The HLD Handbook makes the point that people usually say SLA when they mean SLO, and that a real SLA violation could end in a dispute over breach of contract.

For a business buyer, this has a practical effect. When a proposal says “99.9% SLA”, ask three questions:

  1. Is there a credit or penalty if it is missed? If not, it is an objective, not an agreement.
  2. What counts as downtime, and over what window is it measured?
  3. What conditions must be met on your side for the commitment to apply?

Microsoft’s guide to reading a service-level agreement notes that SLAs apply only when preconditions are met (configuration, topology, operational behavior) and spell out exactly what counts as a failure. The fine print is the agreement.

How the three work together: a worked example

Take a customer portal that your clients use to submit orders.

  • SLI: the share of valid order-submission requests that succeed, measured at the load balancer.
  • SLO: 99.95% of those requests succeed, measured over four weeks.
  • SLA: the contract promises 99.9% monthly availability, with a service credit if it falls short.

The SLO sits above the SLA by design. If the SLI starts trending toward 99.92%, the team is already in action mode while the customer is still well inside the contract.

Turning a percentage into minutes

Percentages hide how little room you have. Over a 30-day month there are 43,200 minutes:

Availability target Allowed downtime per 30 days
99% about 7.2 hours
99.5% about 3.6 hours
99.9% about 43 minutes
99.99% about 4.3 minutes

Each extra nine cuts the allowance by a factor of ten and usually raises cost sharply. That is a business decision, not just an engineering one.

SLI examples and SLA metrics that work

Good SLIs describe what a user experiences. The Google SRE book lists request latency, error rate, throughput and availability as common choices. Practical pairings:

Service type SLI Example SLO
Web app or API Proportion of successful requests 99.9% of requests succeed over four weeks
Web app or API Proportion of requests faster than a threshold 99% of requests complete in under 900 ms
Data pipeline Proportion of records processed within a freshness window 99% of records available within 15 minutes
Storage Proportion of reads that return correct data 99.999% of reads return the stored value

The Google SRE book recommends using several percentile targets when the shape of the latency curve matters, for example 90% under 1 ms, 99% under 10 ms and 99.9% under 100 ms, because an average hides the slow tail. It also advises specifying how a target is measured and under what conditions it holds, such as averaged over one minute and measured across all backend servers.

For an SLA, pick the metrics a customer can verify and a lawyer can define: uptime, response time for support tickets, time to restore service, and data durability. Keep the list short. Every metric you add is another way to owe a credit.

How to calculate an SLI and set an SLO

The Google SRE Workbook gives a clear method. Treat the SLI as the ratio of good events to total events, which gives a value between 0 and 100%. The error budget is then 100% minus the SLO.

The workbook’s worked example looks at an API that received 3,663,253 requests over four weeks with a 97.123% success rate and a 99th-percentile latency of 891 ms. From that it proposes SLOs of 97% availability, 90% of requests under 450 ms and 99% of requests under 900 ms. The matching error budgets are 109,897, 366,325 and 36,632 allowed failures.

You can follow the same routine in five steps:

  1. Choose what users care about. Pick one or two journeys, such as checkout or login, not every endpoint.
  2. Define the SLI as good events over valid events. Decide up front what counts as valid and what counts as good.
  3. Measure for several weeks. Use real traffic, in a window of whole weeks. The workbook recommends integral weeks so every window holds the same number of weekends.
  4. Propose a target. Use the data as a starting point, then adjust for what users need, not only what the system currently does. The SRE book warns against choosing targets purely from current performance.
  5. Get stakeholder sign-off. The workbook says stakeholders should approve SLOs as fit for purpose.

Error budgets in numbers

A 99.9% SLO over four weeks on 3,000,000 requests allows 3,000 bad events, according to the HLD Handbook. A single outage producing 1,500 errors would use half of it. The budget turns reliability into a shared currency: when it is healthy, the team ships; when it runs low, the team stabilizes. Tooling that uses error budgets to balance reliability and change can make that decision visible to everyone.

Four-week SLO error budget and outage example

SLO best practices

These come mainly from Google’s SRE books, the most widely used reference on the subject.

  • Never target 100%. The workbook explains that even redundant systems have a nonzero chance of simultaneous failure, each extra nine costs more while the benefit to users shrinks, and a 100% target blocks updates, which are the leading cause of outages.
  • Keep SLIs simple and SLOs few. The SRE book advises as few SLOs as possible, avoiding absolutes, and starting with a loose target you can tighten.
  • Pair availability with latency. A service that is up but slow still fails the user.
  • Review on a schedule. Targets should change as the product, traffic and customer expectations change. SLOs are flexible by nature, while SLAs need renegotiation.
  • Define SLOs first, then write the SLA. The SLA should be derived from SLO data you already hold, with a margin.

Using a provider’s SLA to inform your SLO

If your system runs on a cloud platform, your reliability depends partly on theirs. Microsoft’s guidance is blunt on one point: do not simply adopt a provider’s SLA percentage as your workload’s target. You also have to account for your own code, dependencies, operational processes and users’ tolerance for downtime. Sometimes you need a stricter SLO than the combined provider SLAs; sometimes your workload can tolerate more downtime than the provider financially commits to.

This is also why the credit is not the same as protection. A 99.9% uptime SLA allows roughly 43 minutes of downtime a month, and a service credit rarely covers what an outage costs your business in lost orders. The SLA tells you what the provider owes you. Your SLO tells you what your customers should be able to count on.

That gap is an architecture question. Redundancy across zones, graceful degradation and sensible retry behavior all move your real availability above the provider’s number. Our cloud infrastructure services cover this layer on AWS, Azure and GCP, and a software architecture review is a good way to match the depth of risk analysis to what the system can lose.

What happens when you miss an SLO or an SLA

Missing an SLO triggers internal action. Typical responses include investigating the cause, pausing risky releases while the error budget recovers, and writing a post-incident review. No one outside the company is owed anything.

Missing an SLA triggers whatever the contract says: usually a service credit, sometimes a refund, termination rights or a claim. This is why the SLO should alert you well before the SLA is at risk. If you are drafting or signing an SLA, have your attorney review the definitions of downtime, exclusions and remedies.

SLOs for AI and data systems

The same logic applies to machine learning services, with different indicators. Instead of only uptime, you track prediction latency, the share of requests answered, and quality measures such as drift. If your business is adding AI to operations, write the SLO for the decision the model supports, not just for the server it runs on. Our guide to ML model monitoring maps monitoring steps across 90 days and shows where those indicators fit.

Our view: reliability targets belong in the build

Most reliability disputes we see described by teams come from the same root: the target was agreed after the system was built. The number gets negotiated in a contract, and engineering finds out what it means later.

We prefer the opposite order. Decide which user journeys matter, define the indicators, set internal objectives, and only then discuss what you would put in writing for a customer. That is consistent with how we work: we aim for stable, scalable and sustainable digital systems, with measurable business results and transparency as part of the relationship.

It is also why we build AI into the core of a solution rather than bolting it on. When automation or decision support sits in the middle of a process, its latency and accuracy become part of the service level, so they have to be measured from day one.

If you take one thing from this article: write the SLO first, give yourself margin, and let the SLA be the smaller promise.

Matija

Setting service levels with Nullbit

If you are building or upgrading a platform and want its reliability targets defined alongside the architecture, we can do that as part of delivery. Our system engineering and custom software development services cover the architecture, integration and infrastructure that the numbers depend on.

Engagements run as an agile time-and-materials model at 5,000 to 40,000 EUR per month, or as a fixed-price turnkey project at 5,000 to 60,000 EUR one-off. Both are described on our cooperation page.

Nullbit

Smaller solutions start from 15,000 EUR one-off, and a proof-of-concept starts from 5,000 EUR one-off if you want to validate an idea and its targets before a larger commitment.

FAQ

Is SLO the same as SLA?

No. An SLO is an internal target for a service level, such as 99.95% of requests succeeding. An SLA is a contract that includes consequences, usually financial, if the target is missed. If no explicit consequence exists, you are almost certainly looking at an SLO.

What is the difference between SLA, SLI and SLO?

The SLI is the measurement, for example the percentage of successful requests. The SLO is the target for that measurement. The SLA is the customer-facing contract built on one or more SLOs, with penalties or credits attached.

How do you calculate an SLI and an SLO?

Divide good events by total valid events to get the SLI as a percentage. Measure it over a window of whole weeks, then set the SLO at a level users will accept and the team can sustain. The error budget is 100% minus the SLO.

Should my SLO be the same as my SLA?

No. Set the SLO tighter than the SLA so you have time to react before a contractual breach. A tighter internal target is also what lets you test against a number with real margin.

Sources

Tags
slo vs sla
Stay ahead of the competition

Exclusive insights that drive change.

Get access to proven methodologies for digital growth, AI tool implementation, and AI product development.

  • Weekly digital strategy analyses
  • Advanced insights into AI trends and technology solutions

Your privacy is a priority. You can unsubscribe at any time.