WeSearch

Open Source AI Harness Profiler – discover where tf your tokens are going

·2 min read · 0 reactions · 0 comments · 24 views
#open#source#harness#profiler#discover
Open Source AI Harness Profiler – discover where tf your tokens are going
TL;DR · WeSearch summary

Token Profiler A transparent proxy for the Anthropic and OpenAI APIs that records token usage and shows it in a dashboard. Point your client at it, keep working as normal, and see per-request tokens, reconstructed sessions, tool-level attribution, and estimated cost. Built on Cloudflare Workers, D1, Hono, and React.

Key facts
Original article
GitHub
Read full at GitHub →
Opening excerpt (first ~120 words) tap to expand

Token Profiler A transparent proxy for the Anthropic and OpenAI APIs that records token usage and shows it in a dashboard. Point your client at it, keep working as normal, and see per-request tokens, reconstructed sessions, tool-level attribution, and estimated cost. Built on Cloudflare Workers, D1, Hono, and React. A hosted instance runs at tryrekon.com. Features Zero added latency — responses stream straight through; recording happens off the critical path. Keys never stored — auth headers are forwarded, never held, so usage is always spent on the caller's own key or subscription. Session trees — the chat APIs are stateless, so the proxy rebuilds each conversation from client signals, forks and all. Tool-level attribution — see which tools actually burn the tokens.

Excerpt limited to ~120 words for fair-use compliance. The full article is at GitHub.

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from GitHub