Start Building
Technical

LLM Inference Cost by Model Size in 2026: 8B vs 70B vs 405B

Running a 70B model costs 10x more than an 8B at the hardware level. MoE models break that rule. Here is the VRAM math, GPU configs, and cost per million tokens for every tier on packet.ai.

Author photo
packet.ai Team
August 27, 2026

LLM inference cost scales roughly 10x for every 10x increase in active parameter count: self-hosting an 8B model on a single RTX 4090 at $0.39/hr works out to roughly $0.22 per million output tokens at batch=8, while a dense 405B model on 8x A100 at FP8 costs around $3.50 per million output tokens at the same utilisation.

Key takeaways

  • An 8B model at FP16 needs roughly 16 GB VRAM and runs on a single RTX 4090 at $0.39/hr. A 70B model at FP16 needs 140 GB across 2 GPUs minimum. A dense 405B needs 810 GB across 10+ GPUs.
  • packet.ai Token Factory provides a managed OpenAI-compatible inference API with no GPU setup. Pricing is launching soon across all model tiers.
  • Self-hosting a 70B model on a single A100 ($1.43/hr) at batch=8 and 70% utilisation works out to roughly $1.77 per million output tokens. Token Factory will undercut this for most teams.
  • MoE models break the cost-per-parameter rule: DeepSeek-V3 has 671B total parameters but activates only 37B per token, so inference compute costs far less than a 671B dense model despite needing similar VRAM.
  • Batch size is the single largest lever on self-hosted cost. The same GPU at batch=1 vs batch=16 can differ 8 to 12x in effective cost per million tokens.
  • The RTX 6000 Pro at $0.66/hr (96 GB GDDR7) is the most cost-efficient single GPU on packet.ai for the 13B to 70B range, fitting a 70B model at INT4 on one card without tensor parallelism overhead.

LLM inference cost is the GPU compute and memory consumed every time a model generates a token. It is not a fixed fee per model; it scales with parameter count, request length, and GPU utilisation. Most developers encounter it for the first time as a per-token rate on a pricing page. That number alone tells you almost nothing, because the same model on different hardware and at different batch sizes can cost 2x to 20x more or less. This guide gives you the actual math: VRAM requirements, GPU configurations, and cost-per-million-tokens at realistic batch sizes across the 8B, 70B, and 405B tiers.

TL;DR for solo builders

  • The RTX 4090 at $0.39/hr is the same GPU gaming PCs use. No contract, no minimum, pay by the minute. It handles 7B to 13B models at FP16 on one card. Running 500K output tokens a day costs roughly $0.11.
  • Under 10M tokens/day: use packet.ai Token Factory (managed API, no GPU ops). Pricing launching soon.
  • Running 70B+ at volume: self-host. A100 at $1.43/hr or RTX 6000 Pro at $0.66/hr beat most hosted APIs at sustained batch load.
  • Skip 405B dense models unless you have a specific reason. Llama 4 Maverick (400B MoE, 17B active) gives comparable quality at a fraction of the GPU cost per token.

For the complete GPU-level break-even analysis and managed API cost comparison, see the companion guide on LLM inference cost in 2026. For a managed inference API with no GPU setup, visit packet.ai Token Factory (pricing launching soon). This post is also part of the LLM inference explainer cluster.

What Is LLM Inference Cost and Why Does Model Size Drive It?

Every token a model generates requires a full forward pass through all of its active parameters. A 70B dense model does roughly 8.75x more arithmetic per token than an 8B model. That arithmetic needs VRAM, compute, and time. The VRAM requirement sets a hardware floor you cannot go below. At FP16 (2 bytes per parameter):

VRAM for weights = Parameters x bytes per parameter

8B  model at FP16 = 8B  x 2 bytes = 16 GB
70B model at FP16 = 70B x 2 bytes = 140 GB
405B model at FP16 = 405B x 2 bytes = 810 GB

Add 15-25% for KV cache and activations at moderate batch sizes.

VRAM for weights is the floor, not the ceiling. At production batch sizes (8 to 16 concurrent requests) and context lengths above 4K tokens, the KV cache adds significant memory on top. A 70B model at BF16 adds approximately 0.31 MB of KV cache per token per context: at 8K context and 16 concurrent requests, that adds roughly 40 GB on top of the 140 GB weight footprint. For a full explanation of how precision formats affect memory, see the FP8 vs FP16 vs BF16 precision guide.

MoE models change this math

Mixture-of-Experts models like DeepSeek-V3 (671B total, 37B active per token) or Llama 4 Maverick (400B total, 17B active per token) break the linear scaling rule. You still need VRAM to load all 671B parameters, but inference compute costs only 37B worth of arithmetic per token. This is why MoE models cost far less per token than a comparably-sized dense model at inference time, despite needing similar VRAM.

VRAM Requirements and Minimum GPU Configuration by Model Size in 2026

The table below maps model size tiers to minimum GPU configurations available on packet.ai, using the most common quantisation levels at each tier. All prices are from the packet.ai pricing page. For a deeper look at quantisation formats, see the guide to INT8, INT4 and FP8 model quantisation.

Model size VRAM at FP16 VRAM at FP8/INT4 Min GPU on packet.ai GPU price
7B-8B dense 14-16 GB 5-8 GB 1x RTX 4090 (24 GB) $0.39/hr
13B dense 26 GB 8-13 GB 1x L40S (48 GB) at FP8 or 1x RTX 6000 Pro (96 GB) $0.66-0.92/hr
30B-34B dense 60-68 GB 20-34 GB 1x L40S at FP8 or 1x RTX 6000 Pro (96 GB) at FP16 $0.66-0.92/hr
70B-72B dense 140-144 GB 35-72 GB 1x RTX 6000 Pro at INT4, or 2x A100 at FP16 $0.66/hr (single) or $2.86/hr (2x A100)
405B dense 810 GB ~202 GB at FP8 8x A100 (640 GB) at FP8, or 3x B200 (576 GB) at FP8 $11.44/hr (8x A100) or $11.25/hr (3x B200)
671B MoE (e.g. DeepSeek-V3) ~671 GB at FP8 ~37B active compute 8x B200 at FP8 for production serving $30/hr (8x B200 Dynamic)

The RTX 6000 Pro at $0.66/hr is the most cost-efficient single GPU on packet.ai for models in the 13B to 70B range. Its 96 GB GDDR7 ECC fits a 70B model at 4-bit quantisation on one card, which avoids tensor parallelism overhead entirely.

Self-Hosted Cost per Million Tokens: The Formula and Real Numbers

Self-hosted cost per million tokens depends on three variables: GPU hourly price, throughput in tokens per second, and GPU utilisation. The formula:

Cost per 1M output tokens =
  (GPU $/hr) / (tokens/sec x 3,600 / 1,000,000) / utilisation

Example: A100 at $1.43/hr, 70B model, batch=8, 70% utilisation
At batch=8, throughput reaches ~320 tok/s:
= $1.43 / (320 x 3,600 / 1,000,000) / 0.70
= ~$1.77 per million output tokens

Batch size is the single biggest lever on self-hosted inference cost. An A100 running a 70B model at single-stream (batch=1) generates roughly 45 tokens per second. At batch=8 with continuous batching via vLLM or SGLang, the same GPU reaches 320 to 380 tokens per second, an 8x throughput increase at the same hourly cost. These throughput figures are benchmarked and verified in the A100 vs H100 cost benchmark.

~$0.22/M

8B on RTX 4090
$0.39/hr, batch=8

~$1.77/M

70B on A100
$1.43/hr, batch=8

~$3.50/M

405B on 8x A100
$11.44/hr, batch=8

8-12x

cost reduction
batch=1 to batch=16

Self-hosted 70B inference on an A100 at $1.43/hr, running at batch=8 and 70% utilisation, costs approximately $1.77 per million output tokens — lower than most hosted 70B APIs at that volume, but only when the GPU stays busy. For VRAM sizing across all model sizes, see the GPU VRAM requirements guide.

packet.ai Token Factory: Managed Inference API (Launching Soon)

packet.ai Token Factory is a managed OpenAI-compatible inference API running on B200 infrastructure. For teams that do not want to manage GPU instances, vLLM configuration, or batch tuning, Token Factory handles the infrastructure and you pay per token.

Pricing and model availability launching soon

Token Factory model availability and pricing tiers are being finalised. Join the waitlist at packet.ai/token-factory to get notified at launch. The API is OpenAI-compatible: swap your base URL and API key, no other code changes required.

Token Factory runs on packet.ai's owned B200 infrastructure with an overcommit scheduler targeting 80 to 100% GPU utilisation, versus the 20 to 40% typical at most shared cloud providers. That utilisation advantage is structural: it directly reduces the compute cost per token without any price negotiation or commitment required from you.

For teams that need GPU access today for self-hosted inference while waiting for Token Factory pricing, the cheapest entry points on packet.ai are the RTX 4090 at $0.39/hr (8B to 13B models) and the RTX 6000 Pro at $0.66/hr (13B to 70B at INT4). packet.ai GPU instances are available on-demand with no contract and no minimum commitment; pay by the minute and cancel any time. See how packet.ai compares to other providers in the RunPod alternatives guide.

MoE vs Dense Models: Why Parameter Count Does Not Predict Inference Cost

The most common misconception in model cost analysis is treating MoE and dense models as if total parameter count predicts inference cost. It does not.

A dense 70B model activates all 70 billion parameters on every token. A MoE model like DeepSeek-V3 has 671B total parameters but only activates approximately 37B per token via expert routing. The per-token arithmetic cost sits closer to a 37B dense model than to a 671B dense model. What differs is the VRAM requirement: you still need to load all 671B parameters into GPU memory, which demands 8+ B200s or H200s.

Model Total params Active per token Min VRAM Inference cost tier
8B dense (e.g. Llama 3.1 8B) 8B 8B 16 GB (FP16) Cheapest
70B dense (e.g. Llama 3.3 70B) 70B 70B 140 GB (FP16) Mid-range
400B MoE (e.g. Llama 4 Maverick) 400B 17B active ~800 GB (BF16) Mid-range compute, high VRAM
671B MoE (e.g. DeepSeek-V3) 671B 37B active ~671 GB (FP8) Mid-range compute, very high VRAM
405B dense (Llama 3.1 405B) 405B 405B (dense) ~202 GB (FP8) Most expensive

Llama 3.1 405B is the most expensive model to self-host in 2026, not because of total parameters, but because it is the largest dense model with no MoE routing. Every token activates all 405B parameters. DeepSeek-V3 with 671B total parameters costs less per token at inference despite being larger on paper, because only 37B fire per token. For most production quality requirements, a 70B dense model or a well-optimised MoE model will deliver comparable output at a fraction of the 405B GPU cost.

Which GPU to Pick for Each Model Size: A Solo Builder's Cost Guide

Pick the cheapest GPU that fits your model at the quantisation level you need. Do not pay for NVSwitch or high-bandwidth interconnects for single-GPU workloads. All packet.ai GPU instances are on-demand with no contract, no minimum spend, and per-minute billing.

Use case Best GPU on packet.ai Price Self-hosted cost/1M output tokens (batch=8)
7B-13B inference, image gen, notebooks RTX 4090 $0.39/hr ~$0.22/M (8B)
30B-70B single-GPU inference, LoRA fine-tuning RTX 6000 Pro $0.66/hr ~$0.90/M (70B INT4) *
Image gen at scale, 30B at higher throughput L40S $0.92/hr ~$0.40/M (13B FP16)
Full fine-tuning of 7B-30B, high-throughput batch inference A100 80GB $1.43/hr ~$0.22/M (8B), ~$1.77/M (70B)
Tensor-parallel 70B+ inference, 405B, MoE models B200 SXM from $3.75/hr Depends on model and cluster config

* RTX 6000 Pro 70B INT4 throughput estimated at ~200 tok/s at batch=8 from GDDR7 memory bandwidth (960 GB/s) relative to A100 HBM2e (2 TB/s) with INT4 weight compression factor; verified against llama.cpp GGUF Q4_K_M community benchmarks on GDDR7 96 GB cards.

The RTX 4090 at $0.39/hr is the same GPU that gaming PCs use, running 24/7 in a data centre. It is the cheapest 24 GB GPU on any neocloud, handles 7B to 13B models at FP16 on one card, and requires no NVLink, no tensor parallelism, and no ops overhead. RunPod charges $0.69/hr for the same card.

Want managed inference instead?

If you do not want to manage GPU instances, vLLM, or batch configuration, packet.ai Token Factory is launching soon with per-token pricing on an OpenAI-compatible API. Join the waitlist to be notified when pricing goes live.

Frequently asked questions

For low to medium volume (under 10 million tokens per day), the cheapest path is a managed API like packet.ai Token Factory, which is launching soon and removes all GPU ops overhead. For self-hosting, the RTX 4090 at $0.39/hr on packet.ai is the cheapest 24 GB GPU on any neocloud, working out to roughly $0.22 per million output tokens at batch=8 for an 8B model. For 70B models, the RTX 6000 Pro at $0.66/hr and INT4 quantisation gives roughly $0.90/M on a single card, no multi-GPU setup required.
Self-hosting an 8B model on a single RTX 4090 at $0.39/hr on packet.ai, running at batch=8 and 70% utilisation, works out to roughly $0.22 per million output tokens. A busy indie chatbot sending 500K output tokens per day would cost around $0.11 per day. For a managed API with no GPU setup, packet.ai Token Factory is launching soon. Join the waitlist at packet.ai/token-factory.
Self-hosting a 70B model at FP16 requires at least 140 GB of VRAM across two GPUs. On a single RTX 6000 Pro (96 GB) running at INT4 on packet.ai ($0.66/hr), a 70B model works out to roughly $0.90 per million output tokens at batch=8 and 70% utilisation. Two A100 80GB cards at $1.43/hr each gives $1.77/M at FP16. For a no-ops managed API option, packet.ai Token Factory is launching soon.
Llama 3.1 405B at FP16 requires approximately 810 GB of VRAM for weights alone, plus KV cache on top at production batch sizes. At FP8, weights compress to roughly 202 GB. The minimum GPU configuration on packet.ai is 3x B200 SXM (192 GB each = 576 GB) at FP8 or 8x A100 80 GB (640 GB) at FP8. For most production use cases, Llama 4 Maverick (400B MoE, 17B active) delivers comparable output quality at a fraction of the GPU cost per token.
For dense models, yes: cost scales roughly linearly with parameter count. MoE models break this rule. DeepSeek-V3 has 671B total parameters but activates only 37B per token via expert routing, so its inference compute cost is closer to a 37B dense model. You still need 671 GB of VRAM to serve it, so hardware requirements stay high, but per-token compute cost is far lower than a 671B dense model would be.
The cheapest self-hosted path is a single RTX 6000 Pro (96 GB GDDR7) at $0.66/hr running INT4 quantisation. At batch=8 and 70% utilisation, this works out to roughly $0.90 per million output tokens with no tensor parallelism overhead. No contract, no minimum spend. For a managed no-ops API, packet.ai Token Factory is launching soon. Join the waitlist at packet.ai/token-factory.
Batch size is the single largest lever on self-hosted inference cost. At batch=1, a GPU generates tokens far below its maximum throughput and most of its compute sits idle. At batch=8 with continuous batching via vLLM or SGLang, the same GPU generates 8 to 12x more tokens per hour at the same hourly cost. A 70B model on an A100 at batch=1 generates roughly 45 tokens per second. At batch=8, throughput rises to 320 to 380 tokens per second, cutting cost from ~$17/M down to ~$1.77/M.
Self-hosting wins when you sustain high GPU utilisation consistently. A GPU costs the same whether it is serving one request or 100, so self-hosting only undercuts a managed API when the GPU stays busy. For most solo builders and early-stage products, a managed API like packet.ai Token Factory (launching soon) is cheaper because you pay only for tokens used, not idle GPU time. Self-hosting makes sense at roughly 10 to 20 million tokens per day on a 70B model running at 70%+ utilisation on a single GPU.

Last reviewed: August 31, 2026. packet.ai GPU instances start at $0.39/hr for the RTX 4090 (8B models) and $0.66/hr for the RTX 6000 Pro (70B at INT4). No contract, no minimum spend, per-minute billing. For a managed no-ops inference API, packet.ai Token Factory is launching soon.

Waste less compute.

Same models. Same API. Fraction of the cost. Start free — no credit card required.

Start Building →

More from the blog