Integrations · Agents
Codex CLI cost per feature
See what Codex CLI costs per project and feature, and check it against your OpenAI bill.
- Collectorstc, the GitHub Action
- Usage endpointsOpenTelemetry, token entries API
- Provider fromCodex's own session file
From session to feature
- 1
Push telemetry
Point Codex CLI's exporter at the OpenTelemetry endpoint. Each model call arrives with its tokens, model and person.
- 2
Read session files
tc adds the provider Codex names, the branch, the repository and the keys in your prompts. A session on two features gets a split.
- 3
Submit
Check your sessions and submit them.
# Codex CLI, in config.toml, ending in /v1/logs: point its OpenTelemetry exporter here
endpoint https://app.tokencontroller.com/api/v1/ingest/otlp
header Authorization: Bearer tc_org_…
# the organization token is under Settings in the web app
Alone or with your team
Works on your machine
With no service connected, tc keeps everything local and exports CSV.
Provider never guessed
Codex telemetry names no provider. tc sends the one from the session file; without it, a message is priced only when every provider charges the same for its model, and waits in the review list for its contract.
In the docs
Start alone in minutes. Add your team later.
Solo is free forever and needs no card.