Skip to content

feat: add versioned pricing and budget tracking#4

Merged
MukundaKatta merged 1 commit intomainfrom
codex/tokenwise-pricing-and-budgeting
Apr 20, 2026
Merged

feat: add versioned pricing and budget tracking#4
MukundaKatta merged 1 commit intomainfrom
codex/tokenwise-pricing-and-budgeting

Conversation

@MukundaKatta
Copy link
Copy Markdown
Owner

Summary:

  • move model pricing into a versioned package data catalog
  • attach pricing version metadata to usage and budget reports
  • add a BudgetTracker for multi-step token and cost breakdowns
  • document the pricing update workflow and multi-step budgeting usage
  • add regression tests for catalog loading and budget reporting

Closes #2
Closes #3

Testing:

  • python3 -m py_compile src/tokenwise/config.py src/tokenwise/core.py
  • python3 -m pytest /tmp/TokenWise-fix/tests

@MukundaKatta MukundaKatta merged commit ea676b0 into main Apr 20, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add token budgeting and prompt-cost breakdown workflow for multi-step AI tasks Replace static model pricing with a versioned pricing data source

1 participant