corehu

OPEN MODELS

codegen2-16B_P vs StarCoder2-15B-GGUF

StarCoder2-15B-GGUF needs about 27 GB less GPU memory than codegen2-16B_P (13 GB vs 40 GB). Cheapest way to run them today: codegen2-16B_P from $0.52 per hour on Q RTX 8000, StarCoder2-15B-GGUF from $0.20 per hour on RTX A4000.

codegen2-16B_PStarCoder2-15B-GGUF
DeveloperSalesforcesecond-state
Parameters16B16B
Weights—GGUF
Licenseapache-2.0bigcode-openrail-m
GPU memory needed≈ 40 GB≈ 13 GB
Memory at 4-bit≈ 13 GB—
Cheapest GPU that fitsQ RTX 8000 · $0.52RTX A4000 · $0.20
Speed (est.)≈ 12 tok/s · $12.48/1M≈ 27 tok/s · $2.04/1M
Downloads49,5012,724

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, codegen2-16B_P or StarCoder2-15B-GGUF?
StarCoder2-15B-GGUF needs about 27 GB less GPU memory than codegen2-16B_P (13 GB vs 40 GB).
Which is cheaper to run, codegen2-16B_P or StarCoder2-15B-GGUF?
Cheapest way to run them today: codegen2-16B_P from $0.52 per hour on Q RTX 8000, StarCoder2-15B-GGUF from $0.20 per hour on RTX A4000.