
What is AiPrice - AI Token Pricing Calculator API?
AiPrice is an API service that allows you to calculate the estimated cost of your prompt that will be sent to the OpenAI API. It counts the tokens and applies the pricing according to the OpenAI pricing plans. All costs are just an estimate.
How to use AiPrice - AI Token Pricing Calculator API?
To use AiPrice, sign up with your email to receive your API key. Then, make a POST request to 'https://api.aiprice.dev/chat' with the following parameters: 'model' (select the OpenAI model), 'content' (enter your prompt). The API will return the calculation of the prompt token count and the corresponding pricing.