[Bug]: Usage cost ignores Fast mode pricing
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 23k
- Forks
- 5.9k
- Avg merge
- 11h 14m
- Merged PRs (30d)
- 357
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Enable Fast mode for a Codex or Claude provider session in T3 Code.
- Run one or more turns that are served in Fast mode.
- Open the Usage page.
- Compare the displayed raw token cost with the provider’s Fast/Priority token rates.
Expected behavior
Fast mode should use the provider’s applicable Fast/Priority rates.
Standard responses should use standard rates, including when the provider falls back to standard processing.
Actual behavior
The Usage page prices all transcript usage at the base rate, so Fast mode price is under-reported
Impact
Cosmetic issue
Version or commit
main @ 5a8461480
Environment
All T3 Code server environments using Fast mode for Codex or Claude
Logs or stack traces
Screenshots, recordings, or supporting files
No response
Workaround
Ignore as inconsequential, or use the provider dashboard if the real number is important
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in apps/server and trace how transcript usage is priced for the Usage page, focusing on Codex and Claude sessions and their Fast-mode metadata. Compare the provider’s Fast/Priority and standard rates, including fallback behavior. Done means Fast-mode usage uses the applicable rates while standard processing remains on standard pricing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100