Use cases · Teams that keep data in-house
Self-hosting
One Docker image on your own Postgres, in your own region. Free under the AGPL.
What your security team asks
- Where does our cost data live?
- What leaves a person's laptop?
- What do we have to run?
One container, one database
- 1
Start it
Postgres and the service, with Docker Compose.
- 2
Check the prices
Prices for thousands of models come built in. Add a CSV only for prices you negotiated.
- 3
Connect the collectors
Point tc and your agents' telemetry at your own URL.
# compose.yaml, trimmed
services:
tokencontroller:
image: ghcr.io/tokencontroller/tokencontroller:1.0
environment:
DATABASE_URL: postgres://tc:secret@db/tc
TC_PUBLIC_URL: https://tc.example.com
TC_SECRET_KEY: change-me
db:
image: postgres:17
# then point the local tools at it
tc connect https://tc.example.com
What stays where
Prompts stay out
Prompts, responses, tool output and file contents are removed on arrival, unless your organization switches keeping them on.
What arrived is kept
Every usage endpoint stores what it received first, so it can be read again later. Org managers can delete it.
Open source
AGPL-3.0, with community support on GitHub.
Support when you need it
An Enterprise key adds OIDC, SCIM and an audit log.
In the docs
More use cases
- Finance and whoever pays the providersBill reconciliation
- Agency owners and account managersCost per client
- Project managersProject plans
- Engineering managers and heads of departmentCost per person
- Directors of delivery and account managersQuotes from past work
- Teams with support, security and other agentsNon-coding agents
Start alone in minutes. Add your team later.
Solo is free forever and needs no card.