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
![badge](https://shieldcn.dev/tokscale/tokens/junhoyeo.png)
badge preview

URL format

/tokscale/tokens/{username}.svg
/tokscale/{username}.svg

Both formats return the same badge. The default endpoint shows token count.

Examples

tokens
Default variant
tokens branded
Branded variant
tokens secondary
Secondary variant
tokens outline
Outline variant

Copy-paste examples

tokscale tokens

Default — total token consumption

![tokscale tokens](https://shieldcn.dev/tokscale/tokens/junhoyeo.svg)
tokscale tokens

Branded — Tokscale blue background

![tokscale tokens](https://shieldcn.dev/tokscale/tokens/junhoyeo.svg?variant=branded)

Data source

Uses the Tokscale User API. Returns all-time total token count. Cached 10 minutes.