Tokscale Cost

Display the estimated total AI cost for a Tokscale user.

Show the estimated total cost of AI token usage based on LiteLLM pricing data.

GET/tokscale/cost/:username.svg

Path Parameters

required
![badge](https://shieldcn.dev/tokscale/cost/junhoyeo.png)
badge preview

URL format

/tokscale/cost/{username}.svg

Examples

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

Copy-paste examples

tokscale cost

Default — estimated total cost

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

Branded — Tokscale blue background

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

Data source

Uses the Tokscale User API. Cost is estimated using LiteLLM pricing data. Cached 10 minutes.