Self-Hosting & Operations

Billing & Usage

Updated Jun 5, 2026 · 1 min read

webAgent tracks usage so you can meter or bill for it if you want to. Every agent turn
records how many tokens it used (in and out) and an estimated provider cost, and the app
supports usage strategies like free, credit-based, per-token, and per-message, plus
trial allowances (a pool of remaining tokens or messages).

For most personal/self-hosted setups you don't need to think about this — it's there for
when you run webAgent as a service for others. Payment processing itself is pluggable
(processors are drop-in files; see Adding a Plugin).

Related: Models & Providers, App Config Overview.

#billing#usage#tokens#credits