Providers currently don't calculate cost (usageCost=Nothing). Need to add a pricing table for models and compute cost from token usage.
Timeline (4)
🔄[human]Open → InProgress1 month ago
💬[human]1 month ago
Added ModelPricing table with per-million token costs for Claude/GPT/Codex models. calculateCost function computes cost in cents from usage. Cost now shows in trace events and budget enforcement works.
Added ModelPricing table with per-million token costs for Claude/GPT/Codex models. calculateCost function computes cost in cents from usage. Cost now shows in trace events and budget enforcement works.