Mistral-7B-Instruct-v0.3

Mistral AI checkpoint mistralai/Mistral-7B-Instruct-v0.3 at revision c170c708c41d. Architecture mistral, attention gqa, calculator support full.

Total parameters: 7,250,000,000.

Layers 32, query heads 32, KV heads 8, head dim 128, recorded context 32,768 tokens.

Fetched 2026-09-19, verified 2026-09-19. Completeness: complete.

Memory by quantization and context

Concurrent sequences = 1. KV cache defaults to FP16. Range includes documented runtime extras for the listed engine. These HTML figures use the same core as the interactive calculator.

Quantization2,048 tokens8,192 tokens32,768 tokens
BF16 safetensors14.38 GiB–16.26 GiB15.13 GiB–17.03 GiB18.13 GiB–20.12 GiB
INT4 theoretical3.75 GiB–4.54 GiB4.50 GiB–5.35 GiB7.50 GiB–8.56 GiB

Sources

Calculator

Pick a model and settings to see memory demand.

Advanced settings

GiB (2^30 bytes)

Custom model structure

Parsed in the browser. The file is not uploaded.

Only huggingface.co, config.json, no token. Private repos are rejected.

Estimate

Unknown

Missing budget, incomplete data, or a deployment mode this version cannot judge.

Estimated memory range: 14.63 GiB15.34 GiB

Weights use selected file metadata. Runtime extras are still estimated.

Weights13.50 GiB
KV cache (raw)1.00 GiB
KV extras (quant metadata / packing)0.00 GiB
Activation / workspace0.06 GiB
Engine reserve0.06 GiB
Safety margin0.00 GiB

Software compatibility

Not verified. Enough memory does not mean this engine, quant, and OS will run. Support does not mean it will be fast.

  • Memory headroom does not prove this engine, quantization, and OS combination is supported.

Assumptions that affect this result

  • Full-resident weight estimates use total parameters, including inactive MoE experts.
  • Weight bytes come from the selected weight files only, not from every file in the repository.
  • Download file size is not peak GPU memory. Runtime layout, allocator padding, and KV are extra.
  • Counted files: model.safetensors.index.json metadata.total_size.
  • Context budget is the number of cached tokens per sequence (prompt plus reserved generation).
  • Concurrent sequences share one model replica; weights are not multiplied by sequence count.
  • KV dtype is independent of weight quantization unless you change it.
  • Using 8 KV heads, not 32 query heads.
  • Prefill peak and steady decode occupancy are not the same. The high scenario is closer to prefill/workspace pressure.
  • Engine reserve is not the same as bytes the model actually uses for weights and KV.
  • llama.cpp compute buffers grow with context and batch. Values here are user-adjustable scenarios, not measured traces — unless a matching calibration is shown.

Calculation method

Try these changes