> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Unit Costs

> Welcome to the Unit Costs learning track on Vantage University!

## <Icon size={24} color="#6742D6" iconType="solid" icon="lightbulb" /> What Are Unit Costs?

A **unit cost** is any metric that your business tracks, like users, requests, transactions, or customers. In Vantage, you can add unit costs as a visualization on Cost Reports to visualize your cloud infrastructure costs on a per unit basis.

A **business metric** is a unit of data from your business that's aggregated and combined with costs to produce a per unit cost—like cost per daily active user, cost per customer, or cost per million API requests. Business metrics can be solely related to business goals, like cost per user, or related to system metrics, like cost per API request.

## <Icon size={24} color="#6742D6" iconType="solid" icon="comment" /> Why Should I Use Them?

Most organizations already have key performance indicators, or KPIs, as a part of their company's goals. They help to measure efficiency and provide a better context for why you may be experiencing cost spikes. For example, some spikes may be justified based on adding a new user or increasing your customer base. Tracking per unit costs helps to provide some details as to why costs are changing.

## <Icon size={24} color="#6742D6" iconType="solid" icon="pen" /> Unit Costs Use Cases

<Tabs>
  <Tab title="Financial Analyst">
    You are a **financial analyst** at a SaaS company and use unit costs and business metrics to understand the cost per daily active user (DAU). By visualizing cloud infrastructure costs on a per unit basis, you can determine how changes in user activity impact overall costs. For example, if there's a spike in costs, you can correlate it with an increase in DAUs, justifying the expenditure and helping the company plan budgets more accurately.
  </Tab>

  <Tab title="DevOps Engineer">
    As a **DevOps engineer**, you can use business metrics to track the cost per million API requests for a microservices-based application. By visualizing these costs, you can pinpoint which services are driving up expenses. If a particular microservice shows a disproportionate cost increase per API request, you can investigate performance tuning, resource optimization, or architectural changes to reduce costs and improve efficiency without compromising on service quality.
  </Tab>
</Tabs>

## <Icon size={24} color="#6742D6" iconType="solid" icon="book-copy" /> Lesson 1: Understand Unit Costs and Business Metrics

<Frame>
  <iframe src="https://www.loom.com/embed/05b68da78f7c4d6ca376850956f2e820" className="w-full h-96" />
</Frame>

## <Icon size={24} color="#6742D6" iconType="solid" icon="book-copy" /> Lesson 2: Create Business Metrics

<Frame>
  <iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/KX3dhHnPrBQ?si=g3RHUBvXilU60HPz" title="Create Business Metrics" frameBorder="0" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerPolicy="strict-origin-when-cross-origin" allowFullScreen />
</Frame>

## <Icon size={24} color="#6742D6" iconType="solid" icon="book-open" /> Additional Resources

<Accordion title="Click to view resources">
  <Columns cols={2}>
    <Card title="Import from a CSV File" icon="file-csv" href="/per_unit_costs#import-from-a-csv-file" horizontal />

    <Card title="Import from Amazon CloudWatch" icon="cloud" href="/per_unit_costs#import-from-amazon-cloudwatch" horizontal />

    <Card title="Import from Datadog" icon="chart-line" href="/per_unit_costs#import-from-datadog" horizontal />

    <Card title="Import from Metronome" icon="chart-line" href="/per_unit_costs#import-from-metronome" horizontal />

    <Card title="Import via the Vantage API" icon="code" href="/per_unit_costs#import-via-the-vantage-api" horizontal />
  </Columns>
</Accordion>
