Skip to content

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:

Need to benchmark this model against another? Try the calculator or see where it ranks on the InferenceScore leaderboard.