vLLM
High-throughput LLM inference with vLLM on Clore.ai GPUs
High-throughput LLM inference server for production workloads on CLORE.AI GPUs.
All examples can be run on GPU servers rented through CLORE.AI Marketplace.
Server Requirements
RAM
16GB
32GB+
VRAM
16GB (7B)
24GB+
Network
500Mbps
1Gbps+
Startup Time
5-15 minutes
-
Important: vLLM requires significant RAM and VRAM. Servers with less than 16GB RAM will fail to run even 7B models.
Startup Time: The first launch downloads the model from HuggingFace (5-15 minutes depending on model size and network speed). HTTP 502 during this time is normal.
Why vLLM?
Fastest throughput - PagedAttention for 24x higher throughput
Production ready - OpenAI-compatible API out of the box
Continuous batching - Efficient multi-user serving
Streaming - Real-time token generation
Multi-GPU - Tensor parallelism for large models
Multi-LoRA - Serve multiple fine-tuned adapters simultaneously (v0.7+)
Structured outputs - JSON schema enforcement and tool calling (v0.7+)
Quick Deploy on CLORE.AI
Docker Image:
Ports:
Command:
Verify It's Working
After deployment, find your http_pub URL in My Orders:
If you get HTTP 502 for more than 15 minutes, check:
Server has 16GB+ RAM
Server has enough VRAM for the model
HuggingFace token is set for gated models
Accessing Your Service
When deployed on CLORE.AI, access vLLM via the http_pub URL:
Installation
Using Docker (Recommended)
Using pip
Supported Models
Mistral 7B
7B
14GB
16GB+
Llama 3.1 8B
8B
16GB
16GB+
Llama 3.1 70B
70B
140GB (or 2x80GB)
64GB+
Mixtral 8x7B
47B
90GB
32GB+
Qwen2.5 7B
7B
14GB
16GB+
Qwen2.5 72B
72B
145GB
64GB+
DeepSeek-V3
236B MoE
Multi-GPU
128GB+
DeepSeek-R1-Distill-Qwen-7B
7B
14GB
16GB+
DeepSeek-R1-Distill-Qwen-32B
32B
64GB
32GB+
DeepSeek-R1-Distill-Llama-70B
70B
140GB
64GB+
Phi-4
14B
28GB
32GB+
Gemma 2 9B
9B
18GB
16GB+
CodeLlama 34B
34B
68GB
32GB+
Server Options
Basic Server
Production Server
With Quantization (Lower VRAM)
Structured Outputs and Tool Calling (v0.7+)
Enable automatic tool choice and structured JSON outputs:
Use in Python:
Structured JSON output via response format:
Multi-LoRA Serving (v0.7+)
Serve a base model with multiple LoRA adapters simultaneously:
Query a specific LoRA adapter by model name:
DeepSeek-R1 Support (v0.7+)
vLLM v0.7+ has native support for DeepSeek-R1 distill models. These reasoning models produce <think> tags showing their reasoning process.
DeepSeek-R1-Distill-Qwen-7B (Single GPU)
DeepSeek-R1-Distill-Qwen-32B (Dual GPU)
DeepSeek-R1-Distill-Llama-70B (Quad GPU)
Querying DeepSeek-R1
Parsing think tags:
API Usage
Chat Completions (OpenAI Compatible)
Streaming
cURL
Text Completions
Complete API Reference
vLLM provides OpenAI-compatible endpoints plus additional utility endpoints.
Standard Endpoints
/v1/models
GET
List available models
/v1/chat/completions
POST
Chat completion
/v1/completions
POST
Text completion
/health
GET
Health check (may return empty)
Additional Endpoints
/tokenize
POST
Tokenize text
/detokenize
POST
Convert tokens to text
/version
GET
Get vLLM version
/docs
GET
Swagger UI documentation
/metrics
GET
Prometheus metrics
Tokenize Text
Useful for counting tokens before sending requests:
Response:
Detokenize
Convert token IDs back to text:
Response:
Get Version
Response:
Swagger Documentation
Open in browser for interactive API documentation:
Prometheus Metrics
For monitoring:
Benchmarks
Throughput (tokens/sec per user)
Mistral 7B
100
170
210
230
Llama 3.1 8B
95
150
200
220
Llama 3.1 8B (AWQ)
130
190
260
280
Mixtral 8x7B
-
45
70
85
Llama 3.1 70B
-
-
25 (2x)
45 (2x)
DeepSeek-R1 7B
90
145
190
210
DeepSeek-R1 32B
-
-
40
70 (2x)
Benchmarks updated January 2026.
Context Length vs VRAM
8B FP16
18GB
22GB
30GB
46GB
8B AWQ
8GB
10GB
14GB
22GB
70B FP16
145GB
160GB
190GB
250GB
70B AWQ
42GB
50GB
66GB
98GB
Hugging Face Authentication
For gated models (Llama, etc.):
Or set as environment variable:
GPU Requirements
7-8B
16GB
16GB
24GB VRAM, 32GB RAM
13B
26GB
32GB
40GB VRAM
34B
70GB
32GB
80GB VRAM
70B
140GB
64GB
2x80GB
Cost Estimate
Typical CLORE.AI marketplace rates:
RTX 3090
24GB
$0.30–1.00
7-8B models
RTX 4090
24GB
$0.50–2.00
7-13B, fast
A100
40GB
$1.50–3.00
13-34B models
A100
80GB
$2.00–4.00
34-70B models
Prices in USD/day. Rates vary by provider — check CLORE.AI Marketplace for current rates.
Troubleshooting
HTTP 502 for a long time
Check RAM: Server must have 16GB+ RAM
Check VRAM: Must fit the model
Model downloading: First run downloads from HuggingFace (5-15 min)
HF Token: Gated models require authentication
Out of Memory
Model Download Fails
vLLM vs Others
Throughput
Best
Good
Good
VRAM Usage
High
Low
Medium
Ease of Use
Medium
Medium
Easy
Startup Time
5-15 min
1-2 min
30 sec
Multi-GPU
Native
Limited
Limited
Tool Calling
Yes (v0.7+)
Limited
Limited
Multi-LoRA
Yes (v0.7+)
No
No
Use vLLM when:
High throughput is priority
Serving multiple users
Have enough VRAM and RAM
Production deployment
Need tool calling / structured outputs
Use Ollama when:
Quick setup needed
Single user
Less resources available
Next Steps
Ollama - Simpler alternative with faster startup
DeepSeek-R1 - Reasoning model guide
DeepSeek-V3 - Best general model
Qwen2.5 - Multilingual models
Llama.cpp - Lower VRAM option
Last updated
Was this helpful?