You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you had a Tokenizer class, where the init takes as input the model_type you could also conceivably calculate the cost of a single API call by using a lookup table for the price per input/ouput tokens