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

# view usage and quota

<div id="overview">
  # Overview
</div>

Qoder CLI usage is metered in Credits. Use `/usage` to view your Plan and Credits usage for the current billing cycle, along with the duration and code change statistics for the current session. This helps you monitor your usage and avoid overages.

<div id="view-usage">
  # View Usage
</div>

In an interactive session, enter:

```shell theme={null}
/usage
```

Qoder will open the Usage Panel, displaying your current Plan and Credits information.

> Viewing usage requires valid account Authentication. If you are not signed in or have not set an Access Token, `/usage` will prompt you to complete Authentication first. For Authentication methods, see [Sign-in and Authentication](/en/cli/01-getting-started/auth).

<div id="fields">
  # Usage Panel Contents
</div>

The Usage Panel includes the following information:

| Field                | Description                                    |
| :------------------- | :--------------------------------------------- |
| Plan                 | The Plan type of the current account           |
| Plan Expiration Date | The expiration date of the current Plan        |
| Plan Credits Used    | Used / total Plan Credits                      |
| Add-on Credits Used  | Used / total Add-on Credits                    |
| Org Resource Package | Usage of the Org Resource Package              |
| Total Duration API   | Cumulative time spent on Model API calls       |
| Total Duration wall  | Actual elapsed time since the session started  |
| Total Code Changes   | Lines added and deleted in the current session |

The Plan, expiration date, and various Credits are derived from your account quotas; API duration, wall clock duration, and code changes are statistics from the current session.

<div id="reading">
  # How to Interpret
</div>

* **Credits usage** is displayed as "used / total". When the usage ratio approaches the limit, the panel uses color cues: reaching 80% displays a warning color, and reaching 95% displays an error color, helping you stay aware of your remaining Credits.
* **Total Duration API** reflects the actual computation time of the models, while **Total Duration wall** reflects the overall session duration, including your thinking and input time. The two are usually different.
* **Total Code Changes** counts the lines added and deleted by Qoder within the current session.

<div id="related">
  # Related
</div>

* To further analyze your Session History and usage patterns, see [Insights](/en/cli/03-using-qoder-cli/05-optimizing-usage/insights).
* To check the overall Status of the CLI (version, Model, account, connectivity), use `/status`. See the Slash commands reference.
