Parse OpenAI's native cache_write_tokens (chat prompt_tokens_details / responses input_tokens_details), bill it at the cache-creation ratio, and clamp the uncached prompt remainder at zero since cached + cache-write can exceed prompt_tokens. Propagate the field through chat/responses/claude format conversions and tiered expression billing (cc variable).
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| columns | Loading commit data... | |
| dialogs | Loading commit data... | |
| common-logs-filter-bar.tsx | Loading commit data... | |
| common-logs-header-actions.tsx | Loading commit data... | |
| common-logs-stats.tsx | Loading commit data... | |
| compact-date-time-range-picker.tsx | Loading commit data... | |
| logs-filter-toolbar.tsx | Loading commit data... | |
| model-badge.tsx | Loading commit data... | |
| task-logs-filter-bar.tsx | Loading commit data... | |
| timing-metrics-cell.tsx | Loading commit data... | |
| usage-logs-mobile-card.tsx | Loading commit data... | |
| usage-logs-provider.tsx | Loading commit data... | |
| usage-logs-table.tsx | Loading commit data... |