The Extreme Cost of Training AI Models.
The Extreme Cost of Training AI Models.
![](https://lemmy.world/pictrs/image/7cdb6b99-c095-46d5-94da-f75b577de75a.jpeg?format=webp&thumbnail=128)
![](https://lemmy.world/pictrs/image/7cdb6b99-c095-46d5-94da-f75b577de75a.jpeg?format=webp)
The Extreme Cost of Training AI Models.
The source didn’t have this detail - google training gemini “cloud” vs “own hardware”. Does Google Cloud not count as “own hardware” for google?
Does Google Cloud not count as “own hardware” for google?
That's why the bars are so different. The "cloud" price is MSRP
This is an accounting trick as well, a way to shed profit, and maximize deductions, by having different units within a parent company purchase services from each other.
I realize that my sentence long explainer doesn't shed any light on how it gets done, but funnily enough, you can ask an LLM for an explainer and I bet it'd give a mostly accurate response.
Edit: Fuck it, I asked an LLM myself and just converted my first sentence into a prompt, by asking what that was called, and how it's done. Here's the reply:
This practice is commonly referred to as "transfer pricing." Transfer pricing involves the pricing of goods, services, and intangible assets that are transferred between related parties, such as a parent company and its subsidiaries.
Transfer pricing can be used to shift profits from one subsidiary to another, often to minimize taxes or maximize deductions. This can be done by setting prices for goods and services that are not at arm's length, meaning they are not the same prices that would be charged to unrelated parties.
For example, a parent company might have a subsidiary in a low-tax country purchase goods from another subsidiary in a high-tax country at an artificially low price. This would reduce the profits of the high-tax subsidiary and increase the profits of the low-tax subsidiary, resulting in lower overall taxes.
However, it's worth noting that transfer pricing must be done in accordance with the arm's length principle, which requires that the prices charged between related parties be the same as those that would be charged to unrelated parties. Many countries have laws and regulations in place to prevent abusive transfer pricing practices and ensure that companies pay their fair share of taxes.
From the source:
Our primary approach calculates training costs based on hardware depreciation and energy consumption over the duration of model training. Hardware costs include AI accelerator chips (GPUs or TPUs), servers, and interconnection hardware. We use either disclosures from the developer or credible third-party reporting to identify or estimate the hardware type and quantity and training run duration for a given model. We also estimate the energy consumption of the hardware during the final training run of each model.
As an alternative approach, we also calculate the cost to train these models in the cloud using rented hardware. This method is very simple to calculate because cloud providers charge a flat rate per chip-hour, and energy and interconnection costs are factored into the prices. However, it overestimates the cost of many frontier models, which are often trained on hardware owned by the developer rather than on rented cloud hardware.
https://epochai.org/blog/how-much-does-it-cost-to-train-frontier-ai-models
I don't care how they estimate their cost in dollars. I think the cost to all of us in environmental impact would be more interesting.
Unless they're finding exciting new and efficient ways to generate electricity, I imagine its a linear comparison. Maybe some are worse than others. I know Grok's datacenter in Mississippi is relying exclusively on portable gas powered electric generators that are wrecking havoc on the local environment.
I want to see what the long term economic cost was after they fired tens of thousands of tech workers hoping to replace us with AI. It feels like workers are always the ones who suffer the most under capitalism.
It depends if they fire them and AI can't actually do the job, then it would suck.
If they are fired and the ai can do it, then it's great, it's like having that many new people.
They'll fire more than that when the AI bubble busts and they stop pushing so hard into that development as it stagnates.
Assume it is equivalent to burning 200 million $ of gasoline
Considering the hype and publicity GPT-4 produced, I don't think this is actually a crazy amount of money to spend.
Yeah, I'm surprised at how low that is, a software engineer in a developed country is about 100k USD per year.
So 40M USD for training ChatGPT 4 is the cost of 400 engineers for one year.
They say cost of salaries could make up to 50% of the total, so the total cost is 800 engineers for one year.
That doesn't seem extreme.
100k USD per engineer assumes they're exclusively hiring from US and Switzerland, that's not a general "developed country" thing. US is an outlier.
This is just the estimates to train the model, so it's not accounting for the cost to develop the system for training, collecting the data, etc. This is just pure processing cost, which is staggeringly large numbers.
Comparitively speaking, a lot less hype than their earlier models produced. Hardcore techies care about incremental improvements, but the average user does not. If you try to describe to the average user what is "new" about GPT-4, other than "It fucks up less", you've basically got nothing.
And it's going to carry on like this. New models are going to get exponentially more expensive to train, while producing less and less consumer interest each time, because "Holy crap look at this brand new technology" will always be more exciting than "In our comparitive testing version 7 is 9.6% more accurate than version 6."
And for all the hype, the actual revenue just isn't there. OpenAI are bleeding around $5-10bn (yes, with a b) per year. They're currently trying to raise around $11bn in new funding just to keep the lights on. It costs far more to operate these models (even at the steeply discounted compute costs Microsoft are giving them) than anyone is actually willing to pay to use them. Corporate clients don't find them reliable or adaptable enough to actually replace human employees, and regular consumers think they're cool, but in a "nice to have" kind of way. They're not essential enough a product to pay big money for, but they can only be run profitably by charging big money.
The latest releases ChatGPT 4o costs $600/hr per instance to run based on the discussion I could find about it.
If OpenAI is running 1k of those models to service the demand (they're certainly running more since queries can take 30+ seconds) then that's 200M/yr just keeping the lights on.
How in the hell is Gemini both two and a half times more expensive and vastly inferior to GPT?
Some claim due to it was trained on too much data with too little intervention
Maybe we donnot understand what its objective function actually wants?
Maybe it is impeding its users intentionally.
Google sucks
bro who the fuck is google paying to do cloud compute for them? Google cloud??
I assume they've come up with some generic cost if someone was training each model using cloud compute.
Eeit: below comments confirm this, from the source.
It's obvious that Google didn't pay the crazy AWS prices to train Gemini, seeing how many servers they have in gcp.
They mean that they used creative accounting to pay themselves crazy gcp usage bills to deduct from taxes?
Geez, you’d think Gemini would be better than it is if they spent that much on it…
Base model =/= Corpo fine tune
and gemini is still hot ass
trueee
because this entire model of AI as an idea is garbage to begin with
Only 80 million dollars for gpt4? Cheaper than expected
The AI industry could stop right there, we won the jackpot already. They just need to stop while they're ahead ! It is very unlikely that we will have as much as 1/10 the leap we have already seen.
How is Inflection-2 cheaper to train in the cloud than own hardware?
That probably indicates a problem with the estimates.
Now imagine if they had to pay for the content they're training the models off of.
All that shit needs to be just down and not revisited again.
“It cost a lot, so it absolutely should be allowed!”
Is an even dumber excuse to keep it going.
We must consider the benefits of AI as such and how they can contribute to our life. I can assure you prices of such while AI may seem like a game or useless thing for others. It’s actually a useful tool able to help others understand complex concepts that most people have a hard time explaining or won’t. Many more things too.
If we assume this is already as good as it's going to get and we don't throw another 7 trillion into that fire.
For 100 million, a open source openweight release of gpt4 into the public domain will have been a good deal and releasing it into the public domain and preventing enclosure of our intellectual commons would make the enterprise as a whole a worthwhile endeavor.
Humanity: develops nuclear fusion
AI:
It's like the south park "Now we can finally play the game" but for AI. First we get infinite energy and then we can train an AI to calculate how we can create infinite energy.
All a huge waste of money.
This isn't ai.
It's a "Smarter Search"
AI is a broader term than you might realize. Historically even mundane algorithms like A* pathfinding were considered AI.
Turns out people like to constantly redefine artificial intelligence to “whatever a computer can’t quite do yet.”
I hope you complained all these years when games used "AI" for computer controlled enemies, because otherwise your post would be super awkward
It is AI though. AGI, which is a subcategory of AI and what many people seemingly imagine AI to mean, it's not—but AI, yes.
Something was needed, tradsearch has sucked dick at anything other than finding a wiki article for an extremely broad topic for over a decade. Just make electricity sustainably. 🤷♂️