AiPrice - API for calculating OpenAI LLM tokens and pricing
AiPrice allows anyone using any HTTP client to calculate how much a prompt to the OpenAI API will cost and how many tokens are included. All models and types are supported and pricing is always up to date.