Open-Weight LLM
Deploying Llama locally starts with doing the VRAM math
From Llama 3.2 1B at 808MB to Maverick's 400GB of FP8 weights, one name spans a 500x hardware gap. Here is what each variant actually costs in VRAM, the commands to serve it, and which card to rent.
Llama · self-hosted
Llama is Meta's open-weight family, running from February 2023 through to Llama 4 Scout and Maverick on 5 April 2025. One thing to state plainly up front: Meta has not shipped a new Llama since. In April 2026 Meta Superintelligence Labs pivoted to the closed-weight Muse Spark, and in August 2026 released the 30B Muse Glimmer under Apache 2.0. The naming line stopped at Llama 4 — but not a single weight was withdrawn. Llama-4-Scout-17B-16E-Instruct and Llama-3.3-70B-Instruct are still on Hugging Face under the meta-llama org, with a tooling ecosystem deeper than anything newer.
What really drives your card choice is Llama 4's MoE architecture. Scout is 17B active parameters across 16 experts for 109B total; Maverick is 17B active across 128 experts for 400B total. Inference only computes 17B, but every expert has to sit resident in VRAM. That makes the official claims of "Scout runs on a single H100" and "10M token context" mutually exclusive: vLLM's own blog gives 8xH100 with tensor parallelism to reach 1M context, and 8xH200 to reach 3.6M. It is also why the most-deployed open-weight models in production today are still Llama 3.1 70B and Llama 3.3 70B, not Llama 4.
On licensing, the whole family ships under the Llama Community License, which does not meet the OSI open-source definition — open-weight is the accurate term. Products above 700 million monthly active users must request a separate grant that Meta may refuse; you must display "Built with Llama" prominently; any model you fine-tune from it must have a name beginning with "Llama"; and the multimodal variants explicitly withhold the grant from companies with a principal place of business in the EU. None of that stops you running it on your own machines — it only shapes how you ship. And self-hosting has exactly one hard gate, which is whether the VRAM adds up. On NexGPU that ranges from an RTX 3090 24GB at $0.193/GPU-hr to an H200 141GB at $6.660/GPU-hr, metered per second, no minimum, no quota request.
01 —
Llama VRAM reference table
Weight sizes taken from official Ollama tags and Unsloth quantization repos — measured, not estimated
| Version | Parameters | VRAM | Context | Notes |
|---|---|---|---|---|
| Llama 3.2 1B / 3B Instruct | 1B / 3B | Q4_K_M 808MB / 2.0GB; fp16 2.5GB / 6.4GB | 128K | The edge tier. 3B is the cheapest usable chat backbone going — a Tesla T4 16GB runs several streams at once. Usually deployed for intent classification, request routing and structured extraction, jobs that do not need a big brain. |
| Llama 3.1 8B Instruct | 8B | Q4_K_M 4.9GB; q8_0 8.5GB; fp16 16GB | 128K | The tier with the deepest fine-tuning ecosystem — LoRA scripts, quant formats and inference backends all target it by default. 16GB of fp16 weights plus a 32K KV cache fits a single 24GB card, making it the natural starting point for self-hosted RAG. |
| Llama 3.2 11B / 90B Vision Instruct | 11B / 90B | 11B bf16 ~22GB; 90B needs 64GB+ | 128K | Multimodal variants built by bolting a vision adapter onto the Llama 3.1 text backbone. Good for OCR, chart QA, and invoice or contract extraction. The 11B is tight on 24GB and comfortable on 32GB; the 90B wants 80GB and up. |
| Llama 3.3 70B Instruct | 70B | Q4_K_M 43GB; q8_0 75GB; fp16 141GB | 128K | Released December 2024, it reaches roughly Llama 3.1 405B quality at 70B of volume. It is the single most widely deployed open-weight model out there, hosted by 20+ API providers. If you are self-hosting Llama on a new project, this is the default. |
| Llama 4 Scout 17B-16E Instruct | 17B active / 109B total | INT4 ~55GB; IQ1_S 33.8GB; Q2_K_XL 42.2GB; Q4_K_XL 65.6GB; bf16 ~210GB | 10M nominal, KV-cache bound in practice | The first natively multimodal Llama. Meta claims INT4 fits a single H100 — it does load, but the KV cache runs dry fast. The community also reports silent hangs past ~3M tokens, and this model does not support torch.compile. |
| Llama 4 Maverick 17B-128E Instruct FP8 | 17B active / 400B total | FP8 ~400GB; IQ1_S 122GB; Q2_K_XL 151GB; Q4_K_XL 243GB | 1M (430K in practice on 8xH100) | Top of the Llama line, shipped with official FP8 weights. Note that its high LMArena placement came from an experimental build that was never released; the public weights scored markedly lower. Do not pick it off a leaderboard. |
02 —
Pick a card by scenario
If the VRAM does not add up you get an OOM — each row below budgets weights plus real KV cache
Llama 3.1 8B fp16 or 3.2 3B for single-card development
RTX 3090 24GB$0.193/GPU-hr
8B in fp16 is 16GB, leaving 8GB for a 32K KV cache — the cheapest card that runs Llama 8B at full precision without compromise.
Llama 3.3 70B in AWQ or Q4_K_M for production inference
A100 PCIE 80GB$0.824/GPU-hr
Q4 weights are 43GB; only an 80GB card leaves enough KV cache for real concurrency. A 48GB A6000 handles one short-context stream and no more.
Llama 3.3 70B at fp16, or LoRA fine-tuning
A100 SXM4 80GB x2$1.088/GPU-hr
fp16 weights alone are 141GB, so you need 160GB across two cards — and SXM4's NVLink keeps tensor parallelism off the PCIe bottleneck.
Llama 4 Scout at INT4 with long context
H200 141GB$6.660/GPU-hr
After 55GB of weights you still have 86GB purely for KV cache — the only single card that takes Scout's context into the hundreds of thousands of tokens.
03 —
Four steps to a running Llama
Worked for Llama 3.3 70B on a single A100 80GB, with both the vLLM and Ollama paths
- 01
Launch an instance on a prebuilt image
Pick a card from the table above at console.nexgpu.net and boot a prebuilt vLLM or PyTorch image, which skips the whole round of aligning CUDA, driver and PyTorch versions. vLLM, PyTorch and Ollama are all ready-made among the 2,000+ images. Get in over SSH, Jupyter or the web terminal and confirm the GPU is there.
nvidia-smi && python -c 'import vllm; print(vllm.__version__)' - 02
Get the weights — meta-llama is a gated org
Every Llama repo under meta-llama requires you to accept the Llama Community License by hand on the Hugging Face page before your token can pull it. This trips up a lot of people: a 401 in your download script almost always means the agreement was never accepted. 70B is ~141GB at fp16 and ~43GB at Q4, so check your disk first.
hf auth login && hf download meta-llama/Llama-3.3-70B-Instruct --local-dir /workspace/llama-3.3-70b - 03
Serve with vLLM — and do not max out the context
Running 70B on one 80GB card means 4-bit AWQ, which brings weights to about 40GB. The single most important flag is --max-model-len: do not set it to 128K. KV cache scales linearly with context length, so maxing it makes vLLM reserve all remaining VRAM at startup and then OOM. 32K covers almost every workload. You get a standard OpenAI-compatible endpoint.
vllm serve casperhansen/llama-3.3-70b-instruct-awq --max-model-len 32768 --gpu-memory-utilization 0.92 --port 8000 - 04
Just want to see output? Use Ollama
If you are not serving concurrency and only want to judge whether the model is good enough, Ollama is far less work than vLLM and pulls GGUF weights automatically. The default llama3.3 tag is the 70B at Q4_K_M, 43GB. To try something cheap first, llama3.1:8b is only 4.9GB and starts instantly on an RTX 3090. Llama 4 Scout needs 8-way tensor parallelism, which fits inside a single 14-GPU node.
curl -fsSL https://ollama.com/install.sh | sh && ollama run llama3.3:70b-instruct-q4_K_M
What a month of Llama 3.3 70B actually costs
Take an AWQ 4-bit Llama 3.3 70B inference service on an A100 PCIE 80GB at $0.824/GPU-hr. During development at 8 hours a day: 8 x $0.824 = $6.592/day, and 22 working days gives 22 x $6.592 = $145.02. Budget 60GB of storage for the 43GB of weights plus images and datasets: 60 x $0.414 = $24.84/month, for about $169.86 all in. To keep it resident 24/7 as a public service: 730 x $0.824 = $601.52, plus $24.84 of storage, roughly $626.36/month. To go cheaper still, run Llama 3.1 8B resident on an RTX 3090 24GB: 730 x $0.193 = $140.89/month, with room to spare at full fp16 precision. Billing is metered per second and priced per hour, with no minimum and no setup fee — compute billing stops the moment the instance stops, and only storage keeps accruing until you destroy it.
04 —
FAQ
Is Llama still being updated? Which version should I self-host now?
How much VRAM does Llama 3.3 70B need? Can a 24GB 4090 run it?
Meta says Llama 4 Scout runs on one H100 — is the 10M context real?
Are there commercial restrictions on self-hosting Llama?
Why doesn't Llama 4's MoE save VRAM? Isn't 17B active parameters small?
What card should I rent for LoRA fine-tuning on Llama?
Start building on NexGPU
Enterprise R&D team or solo developer — either way, your first job can be running in minutes.
Sign up to browse live network pricing. No payment method required.
