---
schema_version: "1"
id: 0aeb3f0db8a1fa4fe9693d1dc6aaa9af0693e5a574dca698201f73081db1c8c0
title: Viewing Token Usage and Model Proxy Metrics
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/general/model-proxy-token-reports.md
canonical_url: https://docs.mulesoft.com/general/model-proxy-token-reports
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 8b232aea60c2bc82974fb49682a41b9c8788eb476669da678545934cedd85252
description: MuleSoft Documentation Site
latest: true
---
---
product: Getting Started
---

# Viewing Token Usage and Model Proxy Metrics

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Token Usage reports and API Manager insights help you monitor how your model proxies consume
resources and perform over time. Token Usage reports show the number of API tokens consumed per
model, broken down by business group or application. The API Manager LLM Summary page provides
hourly metrics including request volume, policy violations, errors, and average response time. For
deeper analysis, you can build custom dashboards in Anypoint Monitoring.

> [!NOTE] Automate token usage reporting using the MuleSoft MCP Platform Server. For details, see
> [fetch\_cost\_instances](https://docs.mulesoft.com/mulesoft-mcp-server/reference-mcp-tools-platform#fetch-cost-instances)
> and
> [fetch\_cost\_instance\_timeseries](https://docs.mulesoft.com/mulesoft-mcp-server/reference-mcp-tools-platform#fetch-cost-instance-timeseries)
> in the MuleSoft MCP Platform Server Tool Reference.

## View Token Usage Reports for Model Proxies

With Token Usage reports, you can view the amount of API tokens each Model Proxy uses for individual
models.

> [!NOTE] To limit token usage, apply the
> [LLM Token Based Rate Limit Policy](https://docs.mulesoft.com/gateway/latest/policies-included-llm-token-rate-limit) to
> your Model Proxy.

To view token usage reports:

1.  In Anypoint Platform, click your Anypoint Platform profile icon (with your initials).

2.  Click **Usage Reports**.

3.  Select **Model Proxy** for **Product**.

4.  Filter between **Usage by Business Group** and **Usage by Application** to see how tokens are
    consumed.

To learn more about Usage Reports, see [Usage Reports](https://docs.mulesoft.com/general/usage-reports).

> [!NOTE] Gemini models use reasoning tokens. This number is included in **Total tokens** but isn’t
> individually listed.

## View Model Proxy Metrics in API Manager

The API Manager LLM Summary page provides these metrics for your Model Proxy:

- Total requests per hour

- Total policy violations per hour

- Total errors per hour

- Average response time per hour

To view the LLM Summary page for a Model Proxy:

1.  From API Manager, click **Model Proxies**.

2.  Click the name of the Model Proxy you want to view.

To view more detailed metrics and build custom dashboards, click **View more metrics in Anypoint
Monitoring dashboard**.
