Rent a GPU

Guide · vLLM · Llama 3.3 70B Instruct

How do you run Llama 70B with vLLM on a rented GPU?

Last updated: · 5 min read

Quick answer

Which GPU runs Llama 70B with vLLM?

Llama 3.3 70B in 8-bit needs 90 GB, so one H200 at $3.55/hr on RentGPUCrypto. A 4-bit AWQ build needs 47 GB and fits an L40S. Launch the vllm/vllm-openai Docker image, then pay for the hours in Monero, Bitcoin or USDT, with no KYC.

In brief
  • Three sensible setups: FP8 on one H200, BF16 across two H200 cards, or a 4-bit AWQ checkpoint on one L40S.
  • Gated weights: accept Meta's licence on Hugging Face and log in on the instance before the download.
  • Docker or pip: pick Your own Docker image with vllm/vllm-openai:latest at launch, or pip install vllm on the PyTorch image.
  • The flag that matters most is --max-model-len: it decides how much VRAM the KV cache can take.
  • The endpoint speaks the OpenAI API on port 8000; reach it through an SSH tunnel.

Which precision and GPU set should you choose?

VRAM figures follow RentGPUCrypto's rule: FP16/BF16 2 bytes, FP8/Q8 1.06 bytes, Q4 0.56 bytes per parameter, x1.2 for the KV cache and runtime.

Llama 3.3 70B with vLLM: precision, VRAM, GPU set and hourly cost on RentGPUCrypto
PrecisionVRAM neededGPU setCheaper multi-card optionCost per hour
BF16169 GB2× H2008× RTX 4090 ($2.96/hr)$7.10/hr
FP890 GBH2004× RTX 4090 ($1.48/hr)$3.55/hr
4-bit AWQ47 GBL40S2× RTX 4090 ($0.74/hr)$0.99/hr

Why FP8 on one H200 is the default pick

One card means no tensor parallelism, no inter-GPU traffic and the simplest launch command. The H200 carries 141 GB of HBM3e, enough for the FP8 weights plus a generous KV cache. vLLM quantises a BF16 checkpoint to FP8 on load with --quantization fp8, and Hopper GPUs run FP8 in hardware.

According to RentGPUCrypto's VRAM calculator, the FP8 model takes 90 GB before any batching, which leaves room for long contexts on the H200. On an H100 (80 GB) the same weights would not fit on one card.

The 4-bit route halves the bill again but costs some accuracy; the 4-bit vs 8-bit guide explains when that matters.

How do you get access to the Llama weights?

Accept the Llama 3.3 Community License on the model page, then log in with a Hugging Face token on the instance. Meta's repository is gated: the download fails with a 401 or 403 error until your account is approved, which usually happens on the model page itself.

Create a read-only token in your Hugging Face settings. Export it as HF_TOKEN so both the CLI and vLLM find it, and keep the cache on the local NVMe disk. That disk stays while the instance is stopped, so the download happens once.

Log in and pre-download the weights
pip install -U "huggingface_hub[cli]"
export HF_TOKEN=hf_xxxxxxxxxxxxxxxx
hf auth login --token "$HF_TOKEN"
hf download meta-llama/Llama-3.3-70B-Instruct

What is the launch command with the Docker image?

At launch, choose Your own Docker image and enter vllm/vllm-openai:latest, or run the same container yourself over SSH. The container entry point is the OpenAI-compatible server, so everything after the image name is a vLLM argument.

--ipc=host gives PyTorch enough shared memory; without it, multi-GPU runs can crash. Mounting the Hugging Face cache stops the container from downloading the weights again after a restart. The custom Docker image help page lists what the image field accepts.

Llama 3.3 70B in FP8 on one GPU
docker run --gpus all --ipc=host \
  -v ~/.cache/huggingface:/root/.cache/huggingface \
  -e HF_TOKEN="$HF_TOKEN" \
  -p 127.0.0.1:8000:8000 \
  vllm/vllm-openai:latest \
  --model meta-llama/Llama-3.3-70B-Instruct \
  --quantization fp8 \
  --max-model-len 32768 \
  --gpu-memory-utilization 0.90

And without Docker, on the PyTorch image?

pip install vllm in a fresh virtual environment, then vllm serve with the same flags. vLLM wheels pin their own PyTorch version, so a separate environment avoids clashes with the preinstalled one. For a 4-bit build on an L40S, point vllm serve at an AWQ checkpoint of Llama 3.3 70B; vLLM reads the quantisation from the repository config, so no flag is needed.

pip install and serve
python3 -m venv ~/vllm && source ~/vllm/bin/activate
pip install -U vllm
vllm serve meta-llama/Llama-3.3-70B-Instruct \
  --quantization fp8 \
  --max-model-len 16384 \
  --host 127.0.0.1 --port 8000

What do the main vLLM flags do?

--max-model-len

Longest prompt plus answer, in tokens, that one request may use. Lower it first when vLLM reports that the KV cache does not fit.

--gpu-memory-utilization

Share of each GPU's memory vLLM may claim for weights and cache. The default is 0.9; raise it slightly on a card used by nothing else.

--quantization fp8

Quantises BF16 weights to FP8 while loading. Needs an Ada or Hopper GPU: RTX 4090, L40S, H100 or H200.

--tensor-parallel-size

Splits each layer across this many GPUs of one instance, for example 2 for the BF16 model on two H200 cards.

How do you test the server?

Open an SSH tunnel to port 8000 and send one chat completion. The model name in the request is the Hugging Face ID you served. Any OpenAI client library works once its base URL is http://127.0.0.1:8000/v1 and its API key is any string. If you want a setup done and tested by a person instead, the environment setup service costs $49 per instance.

Tunnel and first request
ssh -p <port> -L 8000:127.0.0.1:8000 root@<host>

curl -s http://127.0.0.1:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "meta-llama/Llama-3.3-70B-Instruct", "messages": [{"role": "user", "content": "Summarise the GPL in two lines."}], "max_tokens": 200}'

Llama 70B with vLLM: common questions

Can Llama 70B run on one H100?

Only in 4-bit. The FP8 weights need 90 GB, more than the H100's 80 GB. A 4-bit AWQ checkpoint (47 GB) fits one H100 with room for the cache, but one H200 runs FP8 at $3.55 per hour.

Does vLLM work on RTX 4090 cards?

Yes. vLLM supports Ada GPUs, FP8 included. Llama 70B in 4-bit needs two RTX 4090 cards with --tensor-parallel-size 2. They talk over PCIe because RTX cards have no NVLink, so throughput per card is lower than on a data-centre GPU.

Why does vLLM say the KV cache is too small?

The weights fit but the cache for --max-model-len tokens does not. Lower the context length, raise --gpu-memory-utilization a little, or use FP8 weights to free memory.

Is the vLLM endpoint public?

Only if you publish the port. Binding to 127.0.0.1 and using an SSH tunnel keeps it private. If you open it, add --api-key and a firewall rule.

How is a vLLM session billed?

Per minute from your H200 or L40S GPU-hours, from the moment the SSH details appear until you press Stop. Stopping keeps the disk and the downloaded weights.

Verdict
  • Best balance: Llama 3.3 70B in FP8 on one H200 at $3.55 per hour, no tensor parallelism needed.
  • Lowest cost: a 4-bit AWQ checkpoint on one L40S at $0.99 per hour.
  • Full BF16: 2× H200 with --tensor-parallel-size 2, see the tensor parallelism guide.
Sources (6)
  1. Llama-3.3-70B-Instruct model card — Meta / Hugging Face
  2. vLLM OpenAI-compatible server — vLLM
  3. vLLM: using Docker — vLLM
  4. vLLM FP8 quantization — vLLM
  5. Hugging Face CLI — Hugging Face
  6. NVIDIA H200 Tensor Core GPU — NVIDIA

Serve Llama 70B on an H200

$35.50 for 10 GPU-hours, paid in Monero, Bitcoin or USDT. No KYC, and the hours never expire.

RTX 4090 from $0.37/hr · no KYC

Rent a GPU