corehu

OPEN MODELS

distilgpt2 vs opt-125m

distilgpt2 and opt-125m need about the same GPU memory (2 GB). Cheapest way to run them today: distilgpt2 from $0.07 per hour on Quadro P2000, opt-125m from $0.07 per hour on Quadro P2000.

distilgpt2opt-125m
Developerdistilbertfacebook
Parameters90M130M
WeightsF32—
Licenseapache-2.0—
GPU memory needed≈ 2 GB≈ 2 GB
Memory at 4-bit≈ 2 GB≈ 2 GB
Cheapest GPU that fitsQuadro P2000 · $0.07Quadro P2000 · $0.07
Speed (est.)≈ 455 tok/s · $0.04/1M≈ 315 tok/s · $0.06/1M
Downloads1,362,5124,817,259

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.

Questions

Which needs less GPU memory, distilgpt2 or opt-125m?
distilgpt2 and opt-125m need about the same GPU memory (2 GB).
Which is cheaper to run, distilgpt2 or opt-125m?
Cheapest way to run them today: distilgpt2 from $0.07 per hour on Quadro P2000, opt-125m from $0.07 per hour on Quadro P2000.