by muttled · 3y ago · 0 comments
Running the fine-tuned versions of OpenAI models are approximately 6x more expensive per token. If you were running a fine-tuned model on local commodity hardware, the economies would start to tilt in favor of doing something like this if the load was predictable and relatively constant.
And that's not even taking into account the gigantic markup cloud services have.
So it's not correct to only modify OpenAI's prices to account for the ratio of context tokens to output tokens. Both of them get multiplied by 20 (if that's what your ratio is).
>Metric: generation throughput (token/s) = number of the generated tokens / (time for processing prompts + time for generation).
(Though they're doing batching, so this is an unfair comparison. Would be interesting to get single batch speed.)
And a homelab with 3090s/4090s is one or two orders of magnitude cheaper than GCP, if you use them continuously.
I don't think 200gb ram is actually required, that's just what that cloud vm was spec'd with. Though the 175b model should see benefit with ram even beyond 200gb.