Stackness10 min read
Run your own LLM proxy to track token usage: LiteLLM in front of Claude Code and Codex
A local LiteLLM proxy logs one row per agent request with tokens, cost, key and session. Setup in about 15 minutes, tested on LiteLLM 1.106.0, October 2026.
By Sergei GordeichukStackness Blog

Read the full story
Originally published by Stackness Blog on Oct 19, 2026.
Comments
Sign in to join the discussion.