Usage - Complete API Reference Track token usage, estimate costs, and analyze AI consumption across sessions and users. --- Chat Commands View Usage Detailed Breakdown Management --- TypeScript API Reference Create Usage Service Record Usage Get Session Usage Get User Usage Get Total Usage Usage by Model Format Footer Format Summary Estimate Cost --- Model Pricing (per 1M tokens) | Model | Input | Output | |-------|-------|--------| | claude-3-opus | $15.00 | $75.00 | | claude-3-sonnet | $3.00 | $15.00 | | claude-3-haiku | $0.25 | $1.25 | | gpt-4 | $30.00 | $60.00 | | gpt-4o | $5.00 | $15.00…