Enter input/output token counts and model to estimate the cost of an OpenAI API call, using up-to-date public pricing.
Did this tool save you some time? A quick testimonial helps a lot.
Enter input/output token counts and model to estimate the cost of an OpenAI API call, using up-to-date public pricing. Common questions — like how accurate are the token counts — are answered in the FAQ below.
Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.
OpenAI Pricing Calculator runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.
A few worked examples so you know what to expect before you paste in your own input.
Input
(paste your ai / llm input above)
Output
Enter input/output token counts and model to estimate the cost of an OpenAI API call, using up-to-date public pricing.
How tokens map to cost and context limits for GPT and Claude — and how to estimate spend before you ship a prompt-heavy feature.
Related Tools