Blog

Run AI on GPUs

Hands-on guides, product updates and engineering notes.
Get new posts by e-mail: Subscribe to the Lium newsletter
Latest
· 9 min read

How much GPU memory do you need to serve an LLM? KV cache math for Qwen3.8-Flash-Next, Nemotron 3.5 Super VL, gpt-oss-120b, Gemma 4 and Qwen3.8-27B

GPU memory for serving = model weights + KV cache. Current open models keep a full KV cache on only some layers: 25 KB per token for Qwen3.8-Flash-Next, 8 KB for Nemotron 3.5 Super VL, 36 KB for gpt-oss-120b. Worked numbers from one H100 to 4x B200 for five models people serve on datacenter GPUs, checked 24 November and 1 December 2026.
llm-inference
vllm
qwen
nemotron
gemma
gpt-oss
buyer-guide

More articles

· 6 min read

How to pick a quantization for serving an LLM in 2026: FP8 vs AWQ vs GPTQ vs GGUF vs NVFP4

On an H100, H200, B200, RTX 4090 or RTX 5090, serve in FP8 first: half the memory of BF16 and effectively lossless in the largest published study. Drop to 4-bit AWQ or GPTQ only when FP8 does not fit or the card is an Ampere A100 or RTX 3090. Use GGUF for llama.cpp and Ollama, not for a vLLM server. Checked against vLLM 0.34.0 and llama.cpp, 25 November 2026.
quantization
vllm
llm-inference
fp8
awq
· 7 min read

How to serve a mixture-of-experts model: memory, expert parallelism and which GPU fits

A mixture-of-experts model needs GPU memory for every expert but computes only a few per token. Size the GPU from total parameters, size the speed from active ones, and turn on expert parallelism in vLLM when the model spans several GPUs. Worked examples for gpt-oss-120b and Qwen3.8-Flash-Next. Checked against the vLLM 0.34.0 docs and the model cards, 1 December 2026.
vllm
llm-inference
mixture-of-experts
· 7 min read

Speculative decoding in vLLM: when it speeds up serving, and when it slows it down

Speculative decoding lets a cheap drafter guess the next few tokens and the big model check them in one pass. In vLLM it cuts time per output token at low to medium load and gains less as the batch fills the GPU. How to turn on MTP for Qwen3.8, EAGLE3 for gpt-oss-120b or n-gram lookup with --speculative-config, and how to measure whether it helps on your traffic. Checked against the vLLM 0.34.0 docs, 29 November 2026.
vllm
llm-inference
speculative-decoding
· 6 min read

Why your GPU training run is slower than expected, and how to find the bottleneck

A slow training run is usually waiting on the data loader, the CPU or the disk, not the GPU. Find which one with nvidia-smi, py-spy and the PyTorch profiler. Checked against PyTorch 2.15 docs, 27 November 2026.
pytorch
training
performance
troubleshooting
· 7 min read

Why your vLLM server runs out of memory, and the settings that fix it

vLLM fails at startup when the KV cache does not fit: 'No available memory for the cache blocks' or 'KV cache is needed, which is larger than the available KV cache memory'. Read which error you got, then lower --max-model-len (or set it to auto), lower --max-num-seqs, use an FP8 KV cache, or split the model over more GPUs. Checked against vLLM 0.34.0, 23 November 2026.
vllm
llm-inference
troubleshooting
kv-cache
· 6 min read

The hidden costs of renting a GPU in 2026: storage, egress, idle time and failed starts, priced on one job

A 10-hour job on one H100 costs $19.94 in compute on Lium. Leave the pod running overnight and it costs $33.90. Download 500 GB of checkpoints from AWS and egress adds $36. What each hidden cost is, what it adds to one job, and how to avoid it. Prices checked 19 November 2026.
pricing
billing
storage
egress
h100
buyer-guide
· 3 min read

RTX 4090 cloud rental in 2026: price per hour, what fits in 24 GB, and when to pick a 5090 or a 48 GB card

Rent one RTX 4090 on Lium from $0.34 per hour on Spot or $0.35 on Secure, or a whole 8-GPU node from $0.55 per GPU-hour. 24 GB holds an 8B model in 16-bit or a 32B model in 4-bit. Prices checked 18 November 2026.
rtx-4090
inference
pricing
buyer-guide
· 4 min read

RTX PRO 6000 Blackwell rental price per hour in 2026: 96 GB on one GPU, and when an H100 or H200 fits better

Rent one RTX PRO 6000 Blackwell on Lium from $1.75 per hour on Secure, or a whole 8-GPU Server Edition node from $1.85 per GPU-hour. 96 GB holds a 70B model in 8-bit or a 32B model in 16-bit on one GPU. Prices checked 18 November 2026.
rtx-pro-6000
blackwell
inference
pricing
buyer-guide
· 4 min read

How much does it cost to serve Qwen3.8-27B on one rented H100 for a month?

Serving Qwen3.8-27B 24/7 on one H100 costs $1,606 a month on Lium at $2.20 an hour, or $387 for working hours only. With batched traffic, our measured run works out to about $0.39 per million output tokens. Prices checked 17 November 2026.
llm-inference
cost
h100
pricing
· 6 min read

Serve abliterated DeepSeek V4.1 Flash on six RTX A6000s on Lium

Run the abliterated DeepSeek-V4.1-Flash-1017 with llama.cpp on a 6x RTX A6000 Lium pod ($2.52 per hour): a 300 GB 2-bit GGUF plus a 5 MB abliteration LoRA, served as your own OpenAI-compatible endpoint. Tested 16 November 2026.
deepseek
abliterated
uncensored
llama-cpp
llm-inference
rtx-a6000
· 8 min read

Where to run abliterated (uncensored) LLMs: GPU marketplaces, APIs and clouds compared

We compared the terms, sign-up and payment docs of Vast.ai, Runpod, TensorDock, SaladCloud, Akash, io.net and Hyperbolic on 16 November 2026. What each says about content, what it asks you to prove about yourself, and why a Lium pod suits abliterated models: no e-mail needed to sign up, crypto top-ups, root on the GPUs and 288 GB of GPU memory for $2.40 per hour.
abliterated
uncensored
llm-inference
self-hosting
buyer-guide
· 4 min read

Best GPU cloud for fine-tuning a 70B model in 2026: memory needs, node choice and cost per hour

QLoRA on a 70B model fits one 96 GB GPU ($1.49 per hour on Lium Secure), LoRA on a 16-bit base needs about 140 GB (one B200, $7.00 per hour), and a full fine-tune needs about 1.26 TB before activations (8x B300, $32 per hour on Spot). Prices checked 15 November 2026.
fine-tuning
training
qlora
lora
b200
b300
buyer-guide
· 4 min read

NVIDIA B300 rental price per hour in 2026: Spot vs Secure on Lium, and when B200 or H200 costs less

On Lium a whole 8x B300 node costs $4.00 per GPU-hour on Spot ($32 per hour) and from $9.00 on Secure; one B300 on Secure starts at $7.14. Per hour, 8x B200 costs less, and one H200 at $3.80 costs about half a single Secure B300; B300 is cheaper per job only if it runs your job faster by the break-even factor. Prices checked 15 November 2026.
gpu-pricing
b300
b200
h200
blackwell
buyer-guide
· 3 min read

RTX 5090 cloud rental in 2026: price per hour, what fits in 32 GB, and when it beats a 4090 or an H100

Rent one RTX 5090 on Lium from $0.55 per hour on Spot or $0.65 on Secure, or a whole 8-GPU node from $0.49 per GPU-hour. 32 GB holds an 8B model in 16-bit or a 32B model in 4-bit. Prices checked 15 November 2026.
rtx-5090
inference
pricing
buyer-guide
· 6 min read

Cost per million tokens: self-hosting Qwen3.8 and Nemotron 3.5 on a rented H100 vs paying per token

We measured Qwen3.8-27B and Nemotron 3.5 Lightning on one $1.40/hour H100 on Lium. With the GPU kept busy, it did $12.37 an hour of Qwen3.8-27B API work for $1.40, and served Nemotron at $0.14 per million output tokens.
llm-inference
cost
vllm
qwen
nemotron
h100
pricing
· 5 min read

B200 vs H200 vs H100 for LLM training in 2026: which GPU to rent

On the Lium Secure tier an 8x H100 node costs $2.90 per GPU-hour and 8x H200 $4.06; on Spot, 8x H100 costs $1.49 and 8x B200 $5.50. On Spot, a B200 only saves money if your job runs at least 3.7x faster than on H100. Prices checked 9 November 2026.
gpu-pricing
training
b200
h200
h100
comparison
· 2 min read

How Seinari benchmarked on up to 16 RTX 5090s at once on Lium

Seinari ran 120 RTX 5090 pods on Lium, up to 16 at once, and paid $0.72 to $0.79 per GPU-hour on average. Runpod lists the same card at $1.19 on Secure Cloud.
case-study
rtx-5090
inference
benchmark
· 10 min read

Lium vs AWS and Google Cloud: H100 training at less than half the on-demand price

One 8x H100 SXM node on Lium costs $556.80 for 24 hours vs $1,320.96 on AWS and $2,123.76 on Google Cloud, with no quota request and agent budgets built in.
comparison
aws
google-cloud
h100
training
pricing
· 3 min read

GPU cloud MCP servers compared

We checked official GPU cloud MCP servers from six providers. Only Lium's hosted server returned live GPU prices without an account in our checks. Lium also documents daily, monthly and lifetime USD budgets per agent key.
comparison
mcp
ai-agents
claude-code
codex
· 8 min read

Lium vs Lambda: same GPUs, lower prices, built for AI agents

We compared on-demand H100, H200, B200 and A6000 prices, billing, storage and AI agent support across Lium and Lambda on 29 October 2026.
comparison
lambda
h100
b200
pricing
ai-agents
· 6 min read

Best GPU cloud providers in 2026

We compared on-demand H100 SXM, B200 and B300 prices across Lium, RunPod, Vast.ai, Lambda, CoreWeave, Nebius and Together AI. Lium had the lowest H100 SXM and B200 price for a whole 8-GPU node.
comparison
gpu-pricing
h100
b200
b300
· 1 min read

Case study: how Ahurasense runs B300 workloads on Lium

Ahurasense puts Lium B300 nodes behind its own AI GPU pods. The nodes are about 99% stable and it gets as many instances as it needs.
case-study
b300
reliability
· 7 min read

Lium vs Vast.ai: where should you rent a GPU?

Compare Lium and Vast.ai on GPU prices, spending controls for coding agents, host checks and failed-start protections, then bring your existing job to Lium.
comparison
vast-ai
h100
h200
pricing
· 6 min read

Cheapest H100 and H200 cloud in 2026: 8-hour prices

We priced one 8-hour job on an 8x H200 node, an 8x H100 node and one H100 across Lium, RunPod, Vast.ai, Lambda and AWS. Every price is dated and sourced.
gpu-pricing
h100
h200
comparison
· 4 min read

Give Claude Code a GPU in 60 seconds

Let Claude Code rent a Lium GPU, run code on it, bring results back and remove it, with a scoped API key, a server-enforced daily budget and automatic removal. Tested on lium.io; the whole run cost under one cent.
claude-code
ai-agents
cli
rtx-5070-ti
· 3 min read

Give OpenAI Codex a GPU with the Lium CLI

Let the Codex CLI rent a Lium GPU, run your code on it and clean up after itself, using an AGENTS.md rules block, a scoped API key with a daily budget, and automatic pod removal.
codex
ai-agents
cli
· 8 min read

Lium vs RunPod: why developers and AI agents rent their H100s on Lium

Lium beat RunPod on price for every GPU in our 17 October 2026 table, charges nothing for a pod that fails to start, and lets Claude Code or Codex rent a GPU on its own. Here is where Lium wins, with the numbers.
comparison
runpod
h100
a100
pricing
ai-agents
· 5 min read

Run ComfyUI on a Lium GPU

Install ComfyUI on a Lium RTX 4090, load the openly licensed SDXL base checkpoint, open the UI through an SSH tunnel and generate an image through the ComfyUI HTTP API. 19 minutes of pod time, about 15 cents.
comfyui
stable-diffusion
sdxl
image-generation
rtx-4090
· 6 min read

Fine-tune an open LLM with LoRA on Lium

Fine-tune Qwen2.5-0.5B-Instruct with LoRA on a Lium GPU using Hugging Face transformers and PEFT, then copy the adapter back. Five minutes of pod time, about three cents.
lora
fine-tuning
llm
qwen
peft
rtx-a6000
· 5 min read

Serve an open LLM with vLLM on a single Lium GPU

Serve Qwen2.5-7B-Instruct with vLLM on one RTX 4090 on Lium and call your own OpenAI-compatible endpoint from your laptop with curl and the openai Python client. 18 minutes of pod time, about 14 cents.
vllm
llm-inference
qwen
openai-api
rtx-4090
· 5 min read

Train a PyTorch model on a Lium GPU

Rent a GPU on Lium, train ResNet-18 on CIFAR-10 in the background, follow the log, copy the checkpoint back and remove the pod. About ten cents on an RTX A6000.
pytorch
training
resnet
cifar-10
rtx-a6000
· 7 min read

Best GPU cloud for open-source LLM inference in 2026

How to choose a GPU cloud for serving Llama, Qwen and other open-weight LLMs, which GPU each model size needs, and what it costs on Lium at live prices.
llm-inference
vllm
llama
h200
gpu-pricing
· 5 min read

Run DeepSeek V4.1 Flash on your own Lium GPUs

Run DeepSeek-V4.1-Flash on a Lium GPU node with vLLM, then call your own OpenAI-compatible endpoint from your laptop.
deepseek
vllm
llm-inference
h100