Y
Hacker News
new
|
ask
|
show
|
jobs
by
klysm
382 days ago
Convert to money as late as possible
1 comments
roryirvine
382 days ago
This is surely the right answer: simply count the number of tokens used, and do the billing reconciliation as a separate step.
As an added benefit, it makes it much easier to deal with price changes.
link
As an added benefit, it makes it much easier to deal with price changes.