Cost to run Llama 3.1 8B Instruct: rented GPUs vs API
Llama 3.1 8B Instruct (Meta) has 8.03 B parameters and needs about 18 GiB of GPU memory in BF16. The rented GPU servers that hold it and their monthly cost.
- Publisher
- Meta
- Parameters
- 8.03 B
- Context, tokens
- 131,072
- License
- Llama 3.1 Community License · Model card
GPU memory needed
- BF16: 18 GiB with a 20% margin for the KV cache and runtime
Rent GPUs
The ten lowest-priced published whole-GPU offers, mining cards left out, whose GPUs together hold the model in its first published precision, for 730 hours of use in a month, in USD; interruptible capacity left out.
- Compshare · Compshare 1× P40 24GB, 8 vCPU, 64 GB — 1 × P40, 24 GiB — Ulanqab, China — $36.62 (Setup fee is unknown)
- Compshare · Compshare 1× P40 24GB, 8 vCPU, 64 GB — 1 × P40, 24 GiB — Ulanqab, China — $43.67 (Setup fee is unknown)
- Compshare · Compshare 2× P40 24GB, 16 vCPU, 64 GB — 2 × P40, 48 GiB — Ulanqab, China — $55.58 (Setup fee is unknown)
- Vast.ai · 1× RTX 2080 Ti — 1 × RTX 2080 Ti, 22 GiB — United States — $58.40 · marketplace host
- Clore.ai · 2× GeForce RTX 3060 — 2 × GeForce RTX 3060, 24 GiB — Thailand — $59.18 · marketplace host
- Clore.ai · 2× GeForce RTX 3060 — 2 × GeForce RTX 3060, 24 GiB — Czechia — $60.78 · marketplace host
- Clore.ai · 5× GeForce GTX 1060 6GB — 5 × GeForce GTX 1060 6GB, 30 GiB — Finland — $63.98 · marketplace host
- Clore.ai · 6× GeForce GTX 1070 — 6 × GeForce GTX 1070, 48 GiB — Russia — $63.98 · marketplace host
- Clore.ai · 1× GeForce RTX 3090 — 1 × GeForce RTX 3090, 24 GiB — Ukraine — $63.98 · marketplace host
- Clore.ai · 2× GeForce RTX 3060 — 2 × GeForce RTX 3060, 24 GiB — Moldova — $63.98 · marketplace host
Publisher's API
Meta offers no paid API of its own for this model.
Assumptions
- Memory is the weights at the chosen precision plus your margin; real needs depend on the inference engine, context length and batch size.
- An offer qualifies when its GPUs together hold the model; that is a memory check, not a promise that it runs. Splitting a model across GPUs needs an engine that supports it and a GPU count it can split by, and fast links between GPUs help.
- Speed is not estimated: it depends on the GPU, engine, precision and load.
- GPU prices are the providers' published prices for the hours above, minimum terms and setup fees included; storage beyond the offer, traffic and your own operating time are not.
- Running a model yourself is not automatically more private or cheaper; that depends on your setup and volume.
The interactive catalog is starting…