StarCoder2 models

2 StarCoder2 models from bigcode on Hugging Face, from 3.0B to 7.2B parameters, published by bigcode in F32 and BF16, with a 16K-token context. The smallest official model, starcoder2-3b, needs about 13.5 GB of VRAM at its published precision; the cheapest live fit is V100 at $0.110/hr.

Pick a size

One row per official StarCoder2 size: the VRAM it needs at each precision, the cheapest GPU that holds it today, and the KV cache for a 32K-token context.

ModelParametersNative VRAMFP8 VRAMINT4 VRAMLive GPU fit (native)Est. $/hrKV cache at 32K
starcoder2-3b3.0B13.5 GB3.4 GB1.7 GBV100$0.110/hrnot published for this architecture
starcoder2-7b7.2B16.0 GB8.0 GB4.0 GBRTX A5000$0.176/hrnot published for this architecture

VRAM is weights times a flat 1.2 overhead; the KV cache is a separate per-model figure at 16-bit, shown where the architecture is published. See the methodology.

Official models (2)

ModelParametersPublished asVRAM neededLive GPU fitEst. $/hr
starcoder2-3b3.0BF3213.5 GBV100$0.110/hr
starcoder2-7b7.2BBF1616.0 GBRTX A5000$0.176/hr

VRAM is for the precision the model is published in: the weights times a flat 1.2 overhead, with the KV cache not included. See the methodology. The fit shown is the lowest-priced single GPU type that holds the model at that precision, or the lowest-priced multi-GPU set (up to 8) when none does.

More from bigcode

Start ComfyUI on a rented GPU.

© 2026 Aquanode. All rights reserved.

All trademarks, logos and brand names are the property of their respective owners.