Cost to run
CodeGen2 16B
salesforce/codegen2-16b
- Family
- CodeGen2
- Context
- 2,048 tokens
CodeGen2 16B can be run self-hosted (rent a GPU + run vLLM/TGI) or through a serverless API (pay per token). Live pricing comparisons:
Self-hosted
Rent a GPU from Lambda, RunPod, Vast.ai, CoreWeave. Full control.
Serverless
Pay per token via Together, Fireworks, DeepInfra, Groq.
Need to benchmark this model against another? Try the calculator or see where it ranks on the InferenceScore leaderboard.