>>

Run Llama-3.1-8B on Lium

Meta · Text generation · 8B parameters · 16.1 GB BF16 weights · released 2024-07-14
It needs about 20 GB of VRAM. The cheapest setup that runs it is RTX A4500 (20 GB), from $0.16 per hour, billed per second.

Other GPUs that run it

RTX 309024 GBfrom $0.19 / hourRent
2x Tesla V10032 GBfrom $0.42 / hourRent

How to run it

Rent the pod above, open a terminal over SSH or Jupyter and serve meta-llama/Llama-3.1-8B:
vllm serve meta-llama/Llama-3.1-8B
Claude Code and Codex can do all of it through the Lium CLI.

Frequently asked questions

How much VRAM does Llama-3.1-8B need?

About 16.1 GB for the released BF16 weights, so plan on 20 GB with room for activations and KV cache at a short context. Longer contexts and bigger batches need more.

What GPU should I rent to run Llama-3.1-8B?

RTX A4500 (20 GB). On Lium that setup costs from $0.16 per hour, billed per second with no minimum.
All open models
For AI agents (CLI install, agent skill, headless signup): llms-full.txt