Tokencost is a tool that helps calculate the cost of using Large Language Model (LLM) APIs by estimating the cost of prompts and completions. It provides easy integration and the ability to count prompt tokens before sending OpenAI requests. The post also includes a table listing various LLM models and their prompt and completion costs.
Sort: