# TikTokenCost
TikCost module is designed to provide users with estimated costs for inference and training using OpenAI's public models. Leveraging a combination of tiktoken and a comprehensive dictionary that reflects the latest OpenAI API pricing, this module offers a straightforward solution for managing and forecasting your OpenAI-related expenses.


## Features
- Tiktoken Support: Utilize tiktoken for accurate token number calculation.
- Cost Estimation: Calculate the estimated costs for using various OpenAI models for inference and training purposes, based on the model and the token number on the given text.
- Updated Pricing Dictionary: Access a fixed dictionary that is regularly updated to reflect the most current OpenAI API pricing.
