Tokscale Tokens
Display the total AI token consumption for a Tokscale user.
Show the total number of tokens consumed across all AI coding agents.
GET/tokscale/tokens/:username.svg
Path Parameters
required


URL format
/tokscale/tokens/{username}.svg/tokscale/{username}.svgBoth formats return the same badge. The default endpoint shows token count.
Examples
Default variant
Branded variant
Secondary variant
Outline variant
Copy-paste examples
Default — total token consumption
Branded — Tokscale blue background
Data source
Uses the Tokscale User API. Returns all-time total token count. Cached 10 minutes.