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

> ## Agent Instructions
> Unkey is two separate products. Compute builds, deploys, and runs apps behind a gateway. API Management issues API keys, enforces rate limits, manages identities and permissions, and reports usage. Say which product a page belongs to; a reader can use either without the other.
> Every Unkey API endpoint is an HTTP POST to https://api.unkey.com/v2/{service}.{procedure} with a root key in the Authorization: Bearer header. Root keys are workspace scoped.
> Error codes have the form err:{system}:{category}:{specific} and each has a page at /errors/{system}/{category}/{specific}.
> The word environment means production or preview in Compute. Rate limiting has four meanings on this site; the glossary lists them.

# Usage

> Check what your workspace has used this month before the invoice arrives.

Find usage under **Settings > Usage**. It covers one calendar month (UTC), and you can switch between the current and previous month. Each product has its own total. Every workspace will have an API total. A Compute total will be visible once a Compute plan is active.

## API Management

Usage has two parts, **Key verifications** and **standalone rate limit operations**, metered against your monthly operations quota. Only successful calls count: invalid, expired, or over-limit requests aren't billed. These two are the billable operations that [Limits](https://www.unkey.com/docs/platform/billing/limits.md) caps and that a paid API tier prices.

![Usage page showing Compute cost per app and, below it, API Management requests this period split into key verifications and rate limit operations](https://mintcdn.com/unkeyed/G26f1hvrR4X5lwjz/images/dashboard/platform--billing-usage--api.png?fit=max\&auto=format\&n=G26f1hvrR4X5lwjz\&q=85\&s=6d235b1ed92227f0e18813c945532a5b)

## Compute

Compute usage totals cost for the period, broken down by project (A group of apps, usually one per codebase or product.), then app (A Compute app: a deployable service inside a project. Not 'your application' in general.), then environment (A production or preview environment of a Compute app, not the dashboard label on a key.). Each level shows the metered quantities and a cost.

![Usage page with a daily Compute cost chart and a project expanded to show spend by resource and cost per app](https://mintcdn.com/unkeyed/G26f1hvrR4X5lwjz/images/dashboard/platform--billing-usage--compute.png?fit=max\&auto=format\&n=G26f1hvrR4X5lwjz\&q=85\&s=bdff180cf206f0bef83ff1103f4ef2f0)

### What we meter

| Quantity | How it's billed |
| - | - |
| CPU (vCPU-hrs) | Average active virtual CPU per running instance. Billed on actual usage, not the vCPU ceiling you configured. Idle time waiting on I/O does not count as active CPU. |
| Memory (GiB-hrs) | Average memory used per running instance. Billed on actual usage, not the memory ceiling you configured. |
| Storage (GiB-hrs) | Ephemeral disk volume mounted per instance. Billed on the allocated size for as long as the instance runs, up to 10 GiB per instance. |
| Egress (GiB) | Outbound data sent to the public internet during the month. Traffic to private network addresses isn't billed. |
| Verified keys | Distinct keys with at least one verification during the month through a Key Auth policy on Compute. These bill to the project, not a keyspace, and appear on a **Gateway** row under each project. |

Runtime settings are ceilings and headroom. Most workloads never pin 100% of CPU or memory, so configuring 1 vCPU while averaging 0.5 vCPU bills the 0.5, not the 1. Preview deployments use the same rates as production.

Unit rates and the plan fee with included usage credit are on [unkey.com/pricing](https://unkey.com/pricing). Use the calculator at the bottom of that page to estimate a month. The plan fee and included credit are also summarized on [Plans](https://www.unkey.com/docs/platform/billing/plans.md).

Usage is what you consumed. [Limits](https://www.unkey.com/docs/platform/billing/limits.md) are the ceilings. Costs here are the metered part of the bill.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.