Update costs-of-modern-most-expensive-quality-ai-by-openai.md
This commit is contained in:
parent
b189779dde
commit
e9af4b5c8e
@ -2,12 +2,16 @@
|
||||
|
||||
## Introduction
|
||||
How much AI costs is very confusing. It's a serious research for your applience. We can read the news, but all we read that it costs energy. Who cares. We can't calculate with that. Thanks like always, non-info fuckers. We should calculate the energy wasted with fake journalism some day.
|
||||
|
||||
The costs are content depended and it depends on how expensive the model is that you're using (DUHHH). Sorry, don't go back reading the news.
|
||||
In this article, I won't investigate the average costs, because we all know that YOUR usecase always will cost more somehow.
|
||||
Fine, this is why we're gonna calculate how much it costs using the most expensive and newest way possible for YOUR application.
|
||||
|
||||
Decide yourself based on this advanced pre-school mathematics if AI is affordable or a total scam.
|
||||
For the grammar nazi's, complain whatever you want. It's not my strongest thingy but at least it's genuine. Thanks to fuckers like you, people abuse GPT for this stuff.
|
||||
|
||||
On top of that, I probably outcode you using a CD and a magnetic needle anytime. Programming languages are way cooler.
|
||||
|
||||
One of the reasons that I didn't use AI for this article is that I need words like fuck(face) to emphasize stuff. I would like to emphasize the reader of this article btw.
|
||||
|
||||
This is a serious article dispide the choice of wording with real up-to-date data. The math is validated. Sources are listed at where you probably are in life; at the bottom.
|
||||
@ -64,24 +68,33 @@ So, if you tell openai api to send exactly back what you sent it, the transfer o
|
||||
## I love Star Wars and Harry Potter both! Let's convert the Harry Potter book to Klingon language!
|
||||
Ok, that's a joke. I know Klingon is the fictional language that is used by a certain alien species and is from Star Trek, not Star Wars.
|
||||
Let's calculate the price of how expensive it is to translate! Fun! Nerd.
|
||||
|
||||
Ok, we gonna figure out how much the language differs in word count on average. We will ask Claude (ChatGPT is down during writing this) how much words an average English sentence is when converted to Klingon sentence.
|
||||
|
||||
It says that it's impossible to answer that question. Fine. We will make up our own values. Something we can calculate with.
|
||||
From now on, every Klingon sentence is exactly the size of an English sentence on average. Well, I'm sure most people calculate this in no time, but that's not the point.
|
||||
The price is now:
|
||||
- $0.625 for sending the book.
|
||||
- $2.50 * 3 for translating and receiving the book.
|
||||
It costs thus $9.125 to translate the tickest Harry Potter book to Klingon! That's batshit cheap! I start right away!
|
||||
|
||||
I admire the enthousiasm, but I don't freaking think so. There's another factor holding you back.
|
||||
|
||||
## Convert time to money for certain task!
|
||||
You won't have a translated Harry Potter in Klingon book directly after paying the price of $9.125 directly.
|
||||
|
||||
It costs an LLM time to translate. This is were it gets interesting. We're gonna calculate how much an LLM costs per minute!
|
||||
How long will it take the LLM to convert the book? And why is that interesting since it doesn't change the price anyway?
|
||||
Well, with this info, we can calculate how much an LLM costs per minute for a certain task. In this case, translation task.
|
||||
|
||||
To calculate how much an LLM will cost for you, you will need a baseline.
|
||||
|
||||
I will translate 100 words from English to Klingon. I will devide the time taken by this process with 100 to calculate the time per word (so time per token.).
|
||||
|
||||
It took 60 seconds to translate 100 words from English to Klingon. So, 100 (words)/60 (seconds) = 1.66 words per second.
|
||||
|
||||
The Harry Potter book is 250.000 words (tokens). So the time to translate it would be 250.000*1.66/(60*60)=6916.67 minutes. 6916.67 minutes / 60 (minutes) = 115.27 hours..
|
||||
|
||||
It will take 115.27 hours to translate the book from English to Klingon. We know the costs, it was $10.50. $10.50 (total cost) / 115.27 (total time) = $0.09 dollar per hour. $0.09 (dollar) / 60 (seconds) = 0.0015 cents per minute.
|
||||
|
||||
## Conclusion
|
||||
@ -98,7 +111,7 @@ I had a huge fight with GPT about the accuracy of my article.
|
||||
- https://openai.com/api/pricing/
|
||||
3. It states that the price of the services are per token, not time.
|
||||
- No fuckface, that's the freaking point of the article! Even that not every token is the same price is tought of.
|
||||
ChatGPT confirmed that the math of this article is right if wasn't a big fat liar about the LLM costs. Ok, that's good enough.
|
||||
ChatGPT confirmed that the math of this article is correct if wasn't a big fat liar about the LLM costs. Ok, that's good enough.
|
||||
You can see that the costs I provided are correct easily and as promised, I chose the most expensive options available for sake of article.
|
||||
I did not take into account that:
|
||||
- Caching tokens that are cheaper exist.
|
||||
|
Loading…
Reference in New Issue
Block a user