How to price an AI feature
Start with a realistic prompt and response length for one request, multiply by requests per active user, then multiply by monthly active users. Input and output tokens are billed at different rates on almost every provider, so keep them separate rather than using a single blended figure.
Step-by-step guide with the AI API pricing calculator