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

# View usage

> What usage data is available in LangSmith, what each metric means, and what differs for self-hosted deployments.

LangSmith provides several views into your [organization's](/langsmith/administration-overview) usage, depending on your [plan](/langsmith/pricing-plans) and [deployment type](/langsmith/platform-setup). This page explains what data is available, what each metric means, and what limitations apply to [self-hosted](/langsmith/self-hosted) deployments.

## Usage views

| View                                    | Where to find it                                                                                           | Who can see it                          | Plan availability     |
| --------------------------------------- | ---------------------------------------------------------------------------------------------------------- | --------------------------------------- | --------------------- |
| [Usage graph](#usage-graph)             | **Enterprise**: Settings > Usage > Usage graph<br />**Self-serve**: Settings > Billing > Usage graph       | All org members                         | All plans             |
| [Granular usage](#granular-usage)       | **Enterprise**: Settings > Usage > Granular usage<br />**Self-serve**: Settings > Billing > Granular usage | All org members                         | All plans             |
| [Contract burndown](#contract-burndown) | **Enterprise**: Settings > Usage > Contract usage<br />**Self-serve**: Settings > Billing > Contract usage | Org admins only (`organization:manage`) | Enterprise only       |
| [Invoices](#invoices)                   | Settings > Billing > Invoices                                                                              | All org members                         | Self-serve cloud only |

## Usage graph

The usage graph shows aggregate trace consumption for your organization, broken down by workspace. It covers the current billing period and does not show spend—for spend, refer to the invoice.

Navigate to **Settings** → **Billing and Usage** → **Usage Graph**.

### Billable metrics

| Metric                                                  | What it counts                                                                                                                                                                                                                  |
| ------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **LangSmith Traces (Base Charge)**                      | Every trace sent to LangSmith during the billing period, regardless of data retention tier.                                                                                                                                     |
| **LangSmith Traces (Extended Data Retention Upgrades)** | Traces upgraded to extended retention (400 days by default, [customizable for Enterprise customers](/langsmith/data-purging-compliance#customize-extended-retention-policy)). These are charged in addition to the base charge. |
| **LangSmith Deployment Runs**                           | End-to-end invocations of deployed LangGraph agents. See [LangSmith Deployment billing](/langsmith/billing#langsmith-deployment-billing) for pricing details.                                                                   |
| **LangSmith Fleet Runs**                                | End-to-end invocations of [Fleet](/langsmith/fleet) agents. Tracked separately for cloud-hosted and self-hosted deployments.                                                                                                    |
| **LangSmith Deployment Nodes Executed**                 | Individual LangGraph node executions across deployed agents. Each step in a deployed agent's graph counts as one node execution. Tracked separately for cloud-hosted and self-hosted deployments.                               |

For more details on trace retention tiers, refer to [Data retention](/langsmith/administration-overview#data-retention).

<Note>
  The usage graph uses the term `tenant_id` interchangeably with workspace ID.
</Note>

## Contract burndown

Enterprise customers with prepaid commitments can view how much of their contract has been consumed.

Navigate to **Settings** → **Usage Configuration** → **Contract Usage**.

This view shows:

* **Usage summary**: Total usage, total credits, and any overages. Overages occur when usage exceeds your total prepaid commitment.
* **Commitment progress bars**: Visual indicators for each commitment showing percentage consumed and dollar amounts for used vs. remaining. Contracts can have multiple commitments that apply to different time periods (e.g., year 1 and year 2 of a multi-year contract) or different products.
* **Monthly usage chart**: Bar chart showing usage amounts for each month within your contract period.
* **Product rates**: Table of your entitled products and their pricing.

<Note>
  Contract burndown requires the [`organization:manage` permission](/langsmith/organization-workspace-operations) and is only available to Enterprise customers with prepaid commitments.
</Note>

## Invoices

Invoices are available on **self-serve cloud plans only**. Enterprise cloud organizations have a separate usage view for tracking spend.

Navigate to **Settings** → **Billing and Usage** → **Invoices** to see how your usage translates to spend. The first invoice shown is a draft of your current month's invoice, reflecting your running spend to date.

## Granular usage

Granular usage gives you trace counts broken down by a dimension you choose (workspace, project, user, or API key) over a time range you select. This is useful for internal chargebacks, identifying high-usage teams, or auditing trace activity.

Navigate to **Settings** → **Billing and Usage** → **Granular Usage**, or use the [granular usage API](/langsmith/granular-usage).

### What "traces" means here

The granular usage view counts **traces**: root-level runs and all their child spans counted as a single unit. This is the same unit used for [billing](/langsmith/billing). It does not count individual spans, tokens, or model calls separately.

### When usage is recorded

Granular usage records traces by **insertion time** (when the trace was received and stored by LangSmith), not by when it ran in your application. In practice this difference is usually negligible, but traces sent with significant delay (e.g., buffered SDK uploads) may appear in a later time bucket than expected.

For grouping options, time bucket sizes, and API reference, refer to [Granular billable usage](/langsmith/granular-usage).

## Self-hosted limitations

[Self-hosted](/langsmith/self-hosted) LangSmith [deployments](/langsmith/deployment) have a different set of usage views available compared to [Cloud](/langsmith/cloud), due to differences in billing infrastructure.

| **Feature**                        | **Self-hosted availability**                         |
| ---------------------------------- | ---------------------------------------------------- |
| Granular usage (trace attribution) | Available with feature flags or version ≥ 0.13.12    |
| Usage graph (aggregate traces)     | Available on Helm chart 0.9.5 and later              |
| Contract burndown                  | Available when Beacon phone-home is enabled          |
| Invoices and payment management    | Not available (billing is handled outside LangSmith) |

### Granular usage on self-hosted

Granular usage is available on self-hosted deployments but requires explicit opt-in:

* On **LangSmith 0.13.12 and later**, granular usage collection is enabled by default.
* On **earlier versions**, enable it by setting both of the following environment variables:

  ```env theme={"theme":{"light":"catppuccin-latte","dark":"catppuccin-mocha"}}
  DEFAULT_ORG_FEATURE_ENABLE_GRANULAR_USAGE_REPORTING=true
  GRANULAR_USAGE_TABLE_ENABLED=true
  ```

<Warning>
  Data collection begins from the moment the feature is enabled. There is no backfill of historical usage data prior to enabling it. Plan accordingly when choosing when to enable this feature.
</Warning>

### Aggregate usage on self-hosted

The usage graph is available on self-hosted deployments running Helm chart 0.9.5 or later. LangSmith automatically generates and syncs organization usage charts, available under **Settings** → **Usage and billing** → **Usage graph**:

* **Usage by Workspace**: trace counts (root runs) per workspace
* **Organization Usage**: total trace counts across the organization

Charts refresh every 5 minutes to include new workspaces and are not editable.

For programmatic access to trace counts, see [View trace counts across your organization](/langsmith/self-host-organization-charts).

## Related resources

* [Granular billable usage API reference](/langsmith/granular-usage)
* [Manage billing](/langsmith/billing)
* [Data retention and usage limits](/langsmith/administration-overview#data-retention)
* [Organization and workspace operations](/langsmith/organization-workspace-operations)

***

<div className="source-links">
  <Callout icon="terminal-2">
    [Connect these docs](/use-these-docs) to Claude, VSCode, and more via MCP for real-time answers.
  </Callout>

  <Callout icon="edit">
    [Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/langsmith/view-usage.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
  </Callout>
</div>
