Skip to main content
Optimizing usage

Checking Usage and Quota

Overview

Qoder CLI CN's capability consumption is measured in Credits. Use /usage to see your plan and quota usage for the current billing cycle, plus the current session's duration and code-change statistics — helping you stay on top of usage and avoid running over.

Checking usage

Type in an interactive session:
/usage
Qoder opens the usage panel showing your current plan and quota information.
Checking usage requires valid account authentication. If you haven't signed in or set an access token, /usage prompts you to authenticate first. For authentication methods, see Sign-in and Authentication.

What the usage panel shows

The usage panel includes the following:
ItemDescription
PlanThe current account's plan type
Plan expiryThe current plan's expiration date
Plan Credits UsedUsed / total credits within the plan
Add-on Credits UsedUsed / total credits in add-on packs
Org Resource PackageUsage of the organization resource package
Total Duration APICumulative time spent in model API calls
Total Duration wallReal elapsed time since the session started
Total Code ChangesLines added and deleted in this session
The plan, expiry, and quota figures come from your account; API duration, wall-clock duration, and code changes come from the current session's statistics.

How to read it

  • Quota usage is shown as "used / total." As usage approaches the limit, the panel color-codes it: 80% shows as a warning color, 95% as an error color, helping you notice remaining quota in time.
  • Total Duration API reflects actual model compute time, while Total Duration wall reflects the overall session time including your thinking and typing — the two usually differ.
  • Total Code Changes counts the lines added and deleted by Qoder within the current session.
  • To analyze your session history and usage patterns further, see Usage Insights.
  • To check the CLI's overall status (version, model, account, connectivity), use /status — see Slash Commands.