Live data from Hacker News

Why is Chat GPT so expensive to operate?

news.ycombinator.com

11–20 of 54 posts

Re: Why is Chat GPT so expensive to operate?

#11
All these answers are good, but I can share more concrete numbers…

Meta released their OPT model which they claim is comparable to the GPT-3 model. Guidance for running that model [1] suggests a LOT of memory - at least 350GB of gpu memory which is roughly 4 A1000s, which are pricy.

Running this on AWS with the above suggestion would cost $25/hr - just for one model running. That’s almost $0.50 a minute. If you imagine it takes a few seconds to run the model for one request… easily you’ll hit $0.05 per request once you factor in the rest of the infra (storage, CDN, etc) and the engineering cost, and the research cost, and the fact that they probably have a scale to hundreds of instances for heavy traffic and that may mean less efficient purchased servers.

OpenAI has a sweetheart deal with Azure, but this is roughly the cost structure for serving requests. And this doesn’t include the upfront cost of training.

https://alpa.ai/tutorials/opt_serving.html

Re: Why is Chat GPT so expensive to operate?

#12
post #4
post #2

The gpu required to run it (A100) is said to cost about $150k. If each query is said to cost about 3 cents, then that means the card could execute the model about 5 million times before it makes profit. Maybe a bit more if we include the electricity bill, and even more if Microsoft charges extra for the service since they want to make profit. I don't think these numbers sounds very out of line. It would be easier to…

an 80gb A100 is not $150k, more like $10-15k.

But model need about 350gb so I'm not sure one A100 with 80gb will be enough?

Re: Why is Chat GPT so expensive to operate?

#14

All these answers are good, but I can share more concrete numbers… Meta released their OPT model which they claim is comparable to the GPT-3 model. Guidance for running that model [1] suggests a LOT of memory - at least 350GB of gpu memory which is roughly 4 A1000s, which are pricy. Running this on AWS with the above suggestion would cost $25/hr - just for one model running. That’s almost $0.50 a minute. If you imagi…

Really makes you appreciate the brain, which presumably operates with some sort of similar demand.

Re: Why is Chat GPT so expensive to operate?

#18

All these answers are good, but I can share more concrete numbers… Meta released their OPT model which they claim is comparable to the GPT-3 model. Guidance for running that model [1] suggests a LOT of memory - at least 350GB of gpu memory which is roughly 4 A1000s, which are pricy. Running this on AWS with the above suggestion would cost $25/hr - just for one model running. That’s almost $0.50 a minute. If you imagi…

Really makes you appreciate the brain, which presumably operates with some sort of similar demand.

Hard to tell. Similar to how it takes a lot of resources for a human to hang from monkey bars but for a sloth it takes basically no resources at all, because the sloth comes out of the box designed for it.

Re: Why is Chat GPT so expensive to operate?

#19

All these answers are good, but I can share more concrete numbers… Meta released their OPT model which they claim is comparable to the GPT-3 model. Guidance for running that model [1] suggests a LOT of memory - at least 350GB of gpu memory which is roughly 4 A1000s, which are pricy. Running this on AWS with the above suggestion would cost $25/hr - just for one model running. That’s almost $0.50 a minute. If you imagi…

Really makes you appreciate the brain, which presumably operates with some sort of similar demand.

Another mind-boggling thing about brain is how little power it uses to do all the complex things it does.

Re: Why is Chat GPT so expensive to operate?

#20

Earlier quoted context omitted.

Really makes you appreciate the brain, which presumably operates with some sort of similar demand.

Hard to tell. Similar to how it takes a lot of resources for a human to hang from monkey bars but for a sloth it takes basically no resources at all, because the sloth comes out of the box designed for it.

Human babies come out of the box designed for hanging from monkey bars as well.

https://youtu.be/jXJLaGguQiU

Post reply on HN