← Back to Optelly
OPTELLY
Integration
Claude Code Monitoring & Cost Tracking
Claude Code has the richest telemetry of any AI coding CLI. Optelly captures per-request cost, token breakdowns with cache hits, tool calls, lines changed, commits, and PRs — all in a live 3D workspace.
What You Get
Per-Request Cost Tracking
Claude Code reports cost per API call — not estimates, real numbers. See exactly what each session, tool use, and model switch costs you.
Token Analytics with Cache Hits
Track input tokens, output tokens, and cache read tokens per request. See how much prompt caching is saving you across sessions.
Tool Call Timelines
See every Read, Edit, Bash, Grep, and Glob call with success/failure status and duration. Spot slow tool calls and blocked operations.
Productivity Metrics
Track lines of code added/removed, commits created, and PRs opened — unique to Claude Code. See how much your agent actually ships.
Setup in 30 Seconds
1. Install
Run npx optelly setup in your terminal. This configures Claude Code's OTel exporter to send telemetry to Optelly.
2. Code
Start a Claude Code session as usual. Telemetry flows automatically — no changes to your workflow.
3. Watch
Open
optelly.com and see your agent appear in the office. Track costs, tokens, and activity in real time.
Get Started — Free
npx optelly setup