What each call consumes
Deep scan quota waterfall
A deep run claims quota in this order:- Active subscription (Radar Pro, etc.) - decrements your monthly subscription scan counter.
- Lifetime plan (Lifetime Pro / Business) - decrements your monthly lifetime scan counter (10 or 20 scans/month). When the monthly counter is exhausted, the run falls back to tokens if you have any.
- Tokens - deducts 1 token from your balance, recorded in the transaction ledger.
402 INSUFFICIENT_TOKENS - the run fails before any analysis starts, and nothing is charged.
Safety nets
- Automatic refunds: if a run fails before the analysis actually starts (service disabled, dispatch failure, …), whatever it claimed - token, lifetime scan, subscription scan, free scan - is refunded.
- Idempotent retries: re-POSTing a
clientRunIdwhose run failed before dispatch retries it without double-spending. A run that started always returns its stored outcome. - Explicit
scanType: agents cannot spend paid quota by accident; deep is always an explicit choice. - Failed modules never consume the per-module cap; only a successful generation does.
Rate limits
Rate limits key on the API key, not the caller IP, so IP rotation does not widen any window.