CodeDense22B params33K max context

Codestral 25.08 VRAM Requirements: How Many GPUs & What It Costs

Codestral 25.08 needs 22.0 GB of VRAM for its weights at FP8 (E4M3) — 22.9 GB once a KV cache is loaded. Below is the full breakdown: which GPUs fit, how many you need, what it serves, and what it costs per million tokens. Every figure comes from tokcalc's open-source capacity model.

Weights (FP8 (E4M3))
22.0 GB
22.9 GB with KV cache
Fits on 1 GPU?
Yes
A100 40GB SXM4 or larger
Cheapest config
$0.0404
4× RTX 3080 10GB / 1M tokens
Fastest config
10636
tok/s on 1× Cerebras CS-3 (WSE-3)
VRAM requirement by quantization
Weight footprint = params × bytes per param. The “with KV cache” column adds one request at 4K context.
QuantizationWeightsWith KV cacheSmallest single GPU
FP1644.0 GB44.9 GBL40S 48GB (48 GB)
FP8 (E4M3)recommended22.0 GB22.9 GBA10G 24GB (24 GB)
AWQ 4-bit12.1 GB13.0 GBT4 16GB (16 GB)
Which GPU should you use?
Reference workload: 8K context, 8 concurrent users, continuous batching, FP8 (E4M3). Ranked by fitting first, then by tokens per dollar-hour.
GPUGPUsTotal VRAMDecode tok/sAggregate tok/sCost / 1M tokens
RTX 3080 10GB4×40 GB114.55497$0.0404
RTX 4080 16GB4×64 GB108.05186$0.0643
RTX 5090 32GB2×64 GB135.03240$0.0857
RTX 3090 24GB2×48 GB70.521618$0.0858
RTX A4000 16GB4×64 GB67.513240$0.1029
RTX 4090 24GB2×48 GB75.941823$0.1219
T4 16GB4×64 GB48.221473$0.1509
V100 SXM2 32GB2×64 GB67.811627$0.1707
A10G 24GB2×48 GB45.201085$0.1843
AMD MI300X 192GB1×192 GB234.92819$0.2464
TPU v6e Trillium (32GB)2×64 GB61.701481$0.3001
A100 40GB SXM41×40 GB68.69824.3$0.3033

RTX 3080 10GB has no NVLink, so 4-way tensor parallelism runs over PCIe. tokcalc applies a flat 0.85× multi-GPU efficiency factor for this, which is realistic for NVLink-equipped datacenter cards but optimistic for PCIe scale-out — treat the throughput and cost figures for this configuration as an upper bound, and measure before committing.

How concurrency changes with context length
On 4× RTX 3080 10GB at FP8 (E4M3). KV cache scales linearly with context, so long contexts cut the number of users you can serve from the same GPUs.
ContextConcurrent usersKV per requestFits?
4K19962.1 MB✓ fits
8K91.88 GB✓ fits
33K27.52 GB✓ fits
66K115.03 GB✓ fits
131K030.06 GB✗ does not fit
Frequently asked questions

Can Codestral 25.08 run on a single GPU?

Yes. At FP8 (E4M3) the model needs 22.9 GB of VRAM, so it fits on a single A100 40GB SXM4 or anything with more VRAM. At full FP16 it needs 44.9 GB, which fits on one L40S 48GB or larger.

How many GPUs does Codestral 25.08 need?

At FP8 (E4M3) with 8,192-token context and 8 concurrent users, the cheapest configuration that fits is 4× RTX 3080 10GB (40 GB total VRAM). $0.0404 per 1M output tokens.

How fast can Codestral 25.08 be served?

On 1× Cerebras CS-3 (WSE-3) at FP8 (E4M3), the aggregate throughput is 10636 tokens/sec with continuous batching. That hardware has no published rental price, so its cost per million tokens is not comparable.

How much VRAM does Codestral 25.08 need?

Weights alone: 44.0 GB at FP16, 22.0 GB at FP8 (E4M3). Add KV cache for your context length and concurrency — every concurrent request at 8,192 tokens costs extra VRAM, so budget headroom above the weight figure.

Should I run Codestral 25.08 in FP8 or FP16?

FP8 halves the weight footprint (44 GB → 22 GB) and is faster than FP16 on Hopper and Blackwell, where it has native kernels. FP16 remains the reference quality bar; FP8 loses a small amount of accuracy in exchange for roughly doubling the batch size you can serve per GPU.

Is it cheaper to self-host Codestral 25.08 than to call an API?

At 4× RTX 3080 10GB the marginal cost is $0.0404 per 1M output tokens, before you add idle capacity, ops staff, or egress. That is typically cheaper than frontier API pricing at sustained volume, but API calls win when your load is bursty or too small to keep a GPU busy. The Build vs Buy tab on tokcalc prices this against a specific provider for you.

Try Codestral 25.08 with your own context and concurrency

The calculator uses the exact same formulas as this page — change the workload and watch every number update.

Open in calculator
Model architecture
The numbers behind the KV-cache and throughput math.
Total parameters22.00B
Active parameters per token22.00B
ArchitectureDense
Attention layoutFull attention (GQA)
Transformer layers56
Hidden dimension6144
Attention heads48 query / 8 KV (GQA)
Head dimension128
Vocabulary size32,768
Max context (catalog)33K
KV cache per token @ 8K224.0 KB

Every layer caches keys and values for the whole context, so the KV cache grows linearly with conversation length.

Limitations of these numbers
Where the source does not fully establish the values above. Some of the figures hold only under conditions that may not apply to you.
  • •The upstream repository is licence-gated: the model card is readable only after accepting the licence, so the values were not independently diffed against a config.json.