Experiment - Token counting and cost estimation
Problem:You want to estimate the cost of using a language model API by counting tokens in input and output texts. Currently, you do not know how to count tokens correctly or estimate the cost based on token usage.
Current Metrics:No token counting or cost estimation implemented yet.
Issue:Without token counting, you cannot predict or control the cost of API usage, which may lead to unexpected high expenses.