Opaline is a self-hostable CLI giving PostHog-style session analytics — token cost and usage — for Claude Code and Codex.
Yes, Opaline is open source under the MIT license.
Opaline is free to use.
Yes, Opaline can be self-hosted (the source is available under the MIT license).
Opaline is an MIT-licensed CLI that gives PostHog-style session analytics — token cost and usage — for Claude Code and Codex, and is self-hostable. It is a mature project (created February 2026, 298 stars), not a brand-new drop; the recent event is its rename and relaunch from rudel to Opaline. It has been maturing since February 2026.
As a team standardizes on coding agents, the spend and usage go dark — you know the seats cost money but not which sessions burned which tokens. Opaline gives that PostHog-style session view for Claude Code and Codex: cost and usage per session, self-hosted so the telemetry stays yours. For a lead deciding whether the agent budget is paying off, that observability is the difference between a gut feeling and a usage curve. The honest read: this is not a hot new tool riding a launch — it is a February-2026 project (298 stars) that just rebranded from rudel to Opaline, so evaluate it as a maturing option, and expect docs to reference both names during the transition.