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. 1

    Start it

    Postgres and the service, with Docker Compose.

  2. 2

    Check the prices

    Prices for thousands of models come built in. Add a CSV only for prices you negotiated.

  3. 3

    Connect the collectors

    Point tc and your agents' telemetry at your own URL.

Your network, your regionLaptopsClaude Code mod, tcCIGitHub ActionTelemetryClaude Code, Codex, …Token Controllerone containerone Postgresthe price tableFinancethe check, CSVManagersplans, deviationsbills by API
# 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

Start alone in minutes. Add your team later.

Solo is free forever and needs no card.