How much VRAM does an AI server with a GPU need for an LLM?
With a traditional VPS, RAM is the most important factor. For LLM hosting on a GPU server, however, the graphics card’s VRAM takes centre stage.
The following capacity ranges can serve as a rough guide:
| GPU memory |
Suitable model class |
Examples |
Overview |
| 12–16 GB VRAM |
8B–14B |
Qwen3.5 9B / Qwen3 14B |
Affordable entry into GPU hosting |
| 24 GB VRAM |
14B–30B |
Mistral Small 3.1 24B / Qwen3.5 27B |
A particularly attractive price-performance range |
| 48 GB VRAM |
30B–70B quantised |
Qwen3.5 35B-A3B / DeepSeek R1 Distill 32B |
Powerful professional AI hosting |
| 80–96 GB VRAM |
70B and large MoE models |
Llama 3.3 70B / Llama 4 Scout |
High-end LLM inference |
| 140 GB VRAM |
Large MoE and multi-GPU models |
Mistral Small 4 and larger models |
Enterprise and multi-GPU class |
For many of your own AI applications, a server with 24 to 48 GB VRAM is a particularly attractive option. You can already run models with around 20 to 35 billion parameters in this range, without having to switch straight to very costly H100 or H200 systems.
Why is VRAM so important for AI hosting?
For a language model to run quickly on a GPU, as much of the model’s weights as possible should fit in the graphics card’s memory.
If the model does not fit in the available VRAM, some of it can be moved to the server’s standard RAM. This so-called CPU offloading makes it possible to run larger models, but can significantly reduce performance.
A server with plenty of system RAM is therefore no substitute for having enough GPU memory.
For fast, interactive LLM inference, the GPU should therefore have enough capacity for the following:
- Model weights
- KV cache
- Context window
- Batch processing
- Framework and additional calculations
Why quantisation matters for large LLMs
Quantisation also plays a key role on a GPU server. For example, a model with 70 billion parameters requires roughly more than 140 GB of memory for its model weights alone in BF16.
4-bit quantisation can significantly reduce memory requirements. This makes it possible to run models that would otherwise require several large server GPUs.
The following formats are among those used for GPU inference:
The right option depends on the model, the GPU being used and the inference software. BF16 or FP16 may be suitable if you want to maximise model quality, while quantised formats usually offer a much better balance of memory usage, speed and cost.
Which GPU is right for an AI server?
GPUs differ significantly not only in processing power, but especially in memory capacity.
NVIDIA L4 with 24 GB:
The L4 is an energy-efficient data centre GPU that works well with small and medium-sized LLMs. With 24 GB of VRAM, it is particularly suitable for quantised models up to around the 20B–30B range.
NVIDIA L40S with 48 GB:
With 48 GB of VRAM, the L40S offers considerably more headroom. This allows you to run larger models, longer context windows and larger batch sizes.
NVIDIA H100 with 80 GB:
The H100 is a high-performance server GPU for professional AI workloads. In addition to 80 GB of VRAM, it offers very high memory bandwidth and is suitable for large LLMs and demanding inference workloads.
NVIDIA H200 with 141 GB:
The H200 expands the Hopper platform with significantly more and faster HBM3e memory. With 141 GB of VRAM, it is particularly suitable for very large models and applications with high memory requirements.
Alongside NVIDIA GPU servers, other GPUs with different memory capacities are available. When choosing a suitable AI server, you should therefore consider not just the GPU model, but especially the amount of VRAM actually available.
Single-GPU or multi-GPU server?
Small and medium-sized LLMs can usually run on a single graphics card. For larger models, however, the memory on a single GPU may no longer be sufficient.
You can then distribute the model across multiple graphics cards. Serving frameworks such as vLLM and SGLang support Tensor Parallelism for this, among other techniques.
Typical configurations might include:
- 1 × 24 GB GPU for smaller and medium-sized models
- 1 × 48 GB GPU for models around 30B and larger context windows
- 1 × 80 GB GPU for quantised 70B models
- 2 × 48 GB GPUs for larger models and more headroom
- 2 × 80 GB GPUs or more for large MoE models
- 4 or 8 GPUs for very large enterprise models
With multi-GPU systems, the connection between the individual GPUs also plays an important role. Fast interconnects such as NVLink can significantly speed up data exchange between the graphics cards.
Which software is suitable for LLM hosting on GPU servers?
While llama.cpp is particularly useful for smaller models and CPU-based systems, larger GPU servers often use specialised serving solutions.
Popular options include:
- vLLM for fast, scalable LLM inference
- SGLang for high-performance serving and complex LLM applications
- Hugging Face Transformers for development and flexible model integration
- Ollama for a particularly easy start
- llama.cpp for GGUF models and hybrid CPU/GPU operation
For production APIs with multiple concurrent users, vLLM and SGLang are particularly useful. Both can provide models as an OpenAI-compatible API, making it relatively easy to connect existing applications to your own LLM.
GPU AI server or regular VPS for AI hosting?
Whether a traditional VPS or a GPU server is the better choice depends mainly on the desired model size and speed.
For very small models up to around 4B or 8B, low-cost AI hosting using a VPS CPU may be perfectly adequate. Costs stay low, and the performance is often sufficient for simple automations or personal projects.
However, if you want to use larger models interactively, you can benefit significantly from a GPU.
| Server type |
Typical models |
Benefit |
| CPU VPS |
0,5B–8B |
Particularly affordable |
| Small GPU server |
8B–30B |
High speed at moderate cost |
| GPU server with 48 GB |
30B–70B quantised |
Professional LLM applications |
| H100 / H200 server |
70B and large MoE models |
High-end inference and high throughput |
| Multi-GPU server |
100B |
Very large models and high concurrency |
Compare AI servers with GPUs
Which GPU server is suitable for your AI project depends primarily on the language model you want to use, the VRAM required and the expected usage. A GPU with 24 GB of memory may be sufficient for a quantised model with around 20 to 30 billion parameters, while large 70B or MoE models require significantly more GPU resources.
In our AI server comparison, you can compare suitable server plans by GPU, VRAM, RAM, processor, storage, location and price. This helps you find the right infrastructure for your own LLM without relying on external AI APIs.
If you specifically need a data centre location in Germany, you can compare the AI hosting in Germany plans separately.