Skip to main content

Module usage

Module usage 

Source
Expand description

The usage counter: the requests of the last 24 hours, in a file shared by every process on the machine, so the CLI and the MCP server keep to the limits together.

  • At most PER_MINUTE requests per minute, all endpoints together.
  • At most plan_daily_limit plan requests per 24 hours, with a warning from WARN_PERCENT percent on.

Only requests that reach the server count: cached answers do not.

Structs§

Usage
The counter file and the limits.

Enums§

Endpoint
An endpoint of the API.

Constants§

PER_MINUTE
WARN_PERCENT