replicate-python
replicate-python copied to clipboard
Token usage tracking
Is there any api or function for calculate token i have used for every request and cost for that request for any model
@zeke how can we track usage / billing information? It's a bit of a dealbreaker for us if we can't get insight into the spend of an individual user of our system.