Calculate how much it will cost to generate a certain number of words using OpenAI GPT-4o, GPT-4o Mini, O1 Preview, and O1 Mini APIs.
Generating words using costs
As OpenAI bills you based on the number of tokens sent in your prompt plus the number of tokens returned by the API, I have also included the prompt field in the above calculator. You can enter the prompt length per 1000 words generated by the API.
For GPT-4o and GPT-4o Mini contexts, the prompt prices are $2.5/million tokens and $0.15/million tokens, respectively.
This calculator takes the information provided on the official OpenAI website to calculate the estimated price based on the number of words. The calculator assumes that 1000 tokens are about 750 words, as OpenAI recommends; but if you want to understand tokens better, you can look here.
A table that shows how much it will cost you to generate a certain number of words by using the OpenAI API. I have included estimations for GPT-4o, GPT-4o Mini, O1 Preview, and O1 Mini as well.
For all this, I am taking an assumption of a prompt length of 200 words per 1000 words generated by the API.
No. of words | GPT-4o | GPT-4o Mini | O1 Preview | O1 Mini |
---|---|---|---|---|
1,000 | $0.0140 | $0.0008 | $0.0840 | $0.0168 |
10,000 | $0.1340 | $0.0080 | $0.8040 | $0.1608 |
50,000 | $0.6673 | $0.0400 | $4.0040 | $0.8008 |
100,000 | $1.3340 | $0.0800 | $8.0040 | $1.6008 |
500,000 | $6.6673 | $0.4000 | $40.0040 | $8.0008 |
1,000,000 | $13.3340 | $0.8000 | $80.0040 | $16.0008 |
5,000,000 | $66.6673 | $4.0000 | $400.0040 | $80.0008 |
10,000,000 | $133.3340 | $8.0000 | $800.0040 | $160.0008 |
100,000,000 | $1333.3340 | $80.0000 | $8000.0040 | $1600.0008 |
📣 This calculator is independently developed and not affiliated with, endorsed, or authorized by OpenAI.
A script to connect Google Sheets with the OpenAI API without third-party tools like Zapier or Make. This “script” allows instant access to responses from GPT-4, GPT-3.5, and DALL-E 3 inside the spreadsheet itself.
🎉 starts at $20 (one time)
InvertedStone helps you navigate the fast-paced, ever-evolving world of artificial intelligence.
© 2024 All Rights Reserved.