corehu

OPEN MODELS / Language models (LLM)

Run codegen-350M-multi on a cloud GPU

codegen-350M-multi is an open model by Salesforce (category: Language models (LLM)). See how much GPU memory it needs, which GPUs it fits on today and what it costs to run it yourself, billed per second.

Parameters
≈ 350M
GPU memory needed
≈ 2 GB
License
bsd-3-clause
Downloads
2,660
Updated Jan 31, 2025
Library
Transformers

GPUs it fits on today

Our estimate is about 2 GB for inference with BF16 weights, including working memory. Real use depends on resolution, batch size and context length. With 4-bit quantization it needs about 2 GB.

GPUMemoryPer hour10 hoursSpeed (est.)
Quadro P20005 GB$0.07$0.70≈ 117 tok/s · $0.17/1MRent
GTX 10708 GB$0.13$1.30≈ 193 tok/s · $0.19/1MRent
GTX 16504 GB$0.13$1.30≈ 136 tok/s · $0.27/1MRent
GTX 1660 S6 GB$0.13$1.30≈ 277 tok/s · $0.13/1MRent
RTX 206012 GB$0.13$1.30≈ 267 tok/s · $0.14/1MRent

Live starting prices from our catalog. You pay per second while the machine runs. 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.

How to run codegen-350M-multi

  1. 01

    Rent a GPU

    Pick one of the GPUs above. Billing is per second; stop the machine and you stop paying.

  2. 02

    Open a terminal or Jupyter

    Connect over SSH or open Jupyter in your browser. PyTorch and CUDA are ready to use.

  3. 03

    Download and run the model

    Run the commands below. The weights download straight from Hugging Face to your machine.

pip install -U vllm
vllm serve Salesforce/codegen-350M-multi --host 0.0.0.0 --port 8000

Why run it yourself?

Your own LLM server has no per-token bill and no rate limit, and your data stays private. Pick a GPU by memory and serve the model with vLLM.

Questions

What is codegen-350M-multi?
codegen-350M-multi is an open model by Salesforce (category: Language models (LLM)).
How much GPU memory does codegen-350M-multi need?
By our estimate about 2 GB for inference (350M parameters). Higher resolution, longer context or bigger batches need more.
How much does it cost to run codegen-350M-multi?
From $0.07 per hour on Quadro P2000, billed per second. Ten hours cost about $0.70.
How fast does codegen-350M-multi run?
About 117 tokens per second for one request on Quadro P2000, which works out to about $0.17 per million generated tokens at today's price. Serving many requests at once raises total throughput and lowers the cost per token.
What license does codegen-350M-multi use?
codegen-350M-multi is published under the bsd-3-clause license. Check the model card for the full terms before commercial use.
Do I need a subscription?
No. You pay only for the time your machine runs, from your USD balance. Stop it whenever you are done.

Try it on your own GPU in minutes

Pick a GPU, open Jupyter or SSH and run any open model. You pay per second and can stop anytime; no subscription, no setup fee.

  • Per-second billing in USD
  • PyTorch and CUDA ready in minutes
  • Rent from ChatGPT or Claude too

Similar Language models (LLM) models

More from Salesforce