corehu

OPEN MODELS / Language models (LLM)

Run CodeQwen1.5-7B-Chat on a cloud GPU

CodeQwen1.5-7B-Chat is an open model by Qwen (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
7.3B
GPU memory needed
≈ 19 GB
License
—
Downloads
4,350
Updated Apr 30, 2024
Library
Transformers
Languages
English

GPUs it fits on today

Our estimate is about 19 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 7 GB.

GPUMemoryPer hour10 hoursSpeed (est.)
Tesla P4024 GB$0.27$2.70≈ 13 tok/s · $5.61/1MRent
Tesla V10032 GB$0.31$3.10≈ 38 tok/s · $2.30/1MRent
Q RTX 600024 GB$0.32$3.20≈ 25 tok/s · $3.51/1MRent
Titan RTX24 GB$0.37$3.70≈ 25 tok/s · $4.06/1MRent
RTX 309024 GB$0.38$3.80≈ 39 tok/s · $2.72/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 CodeQwen1.5-7B-Chat

  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 Qwen/CodeQwen1.5-7B-Chat --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 CodeQwen1.5-7B-Chat?
CodeQwen1.5-7B-Chat is an open model by Qwen (category: Language models (LLM)).
How much GPU memory does CodeQwen1.5-7B-Chat need?
By our estimate about 19 GB for inference (7.3B parameters). Higher resolution, longer context or bigger batches need more.
How much does it cost to run CodeQwen1.5-7B-Chat?
From $0.27 per hour on Tesla P40, billed per second. Ten hours cost about $2.70.
How fast does CodeQwen1.5-7B-Chat run?
About 13 tokens per second for one request on Tesla P40, which works out to about $5.61 per million generated tokens at today's price. Serving many requests at once raises total throughput and lowers the cost per token.
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

Model family

1 versions built on CodeQwen1.5-7B-Chat

Similar Language models (LLM) models

More from Qwen