VRAMGlass contains affiliate links. As an eBay Partner, we may be compensated if you make a purchase.As an eBay Partner, we may be compensated.Learn more

GPUs tracked57Price history49 daysPrice points (24h)43,400 pointsBiggest 24h dropGeForce RTX 3060 12GB-11.1%Biggest 24h riseCMP 170HX 40GB+19.8%Updated
$ USD

How to Deploy Mistral 7B v0.3 Locally

Mistral 7B v0.3 is a 7B model that Mistral released in May 2024, and this version added function calling. At 4-bit, an 8GB card can open 8K of context, and a 12GB card can run the full 32K. Its problem is age: Ministral 3 8B from the same family needs only a little more VRAM but has 8x the context, and it understands images too.

Mistral 7B v0.3 details

  • Min VRAM at 4-bit7 GB · 8K
  • Parameters7.3B
  • Max context32K
Architecture
Dense
License
Apache-2.0
Launch date
May 22, 2024
Vendor
Mistral AI
Ollama tag
mistral:7b
Layers
32
Hidden size
4,096
KV heads
8
Head dim
128

How much VRAM does Mistral 7B v0.3 need for local deployment?

QuantizationWeightsGB8K contextGB32K context (max)GB
1-bit1.8GGUF3.97.2
2-bit2.5GGUF4.67.9
3-bit3.8GGUF5.99.2
4-bit4.4GGUF6.59.8
5-bit5.1GGUF7.210.5
8-bit7.7GGUF9.813.1
BF16/FP1615.2est.17.420.6

Full calculation rules are on the Methodology page.

Can a single GPU run Mistral 7B v0.3?

Easily, and context won't be what holds you back: the model tops out at 32K, and 4-bit at the full 32K stays under 10 GB, so even an 8GB card works with around 8K. That leaves only the quant to choose. With 16GB or more, go straight to 8-bit; the full 32K comes to about 13.1 GB with almost no loss in answer quality. A 12GB card can still run 8-bit if you keep context near 8K. Speed tracks memory bandwidth: 8-bit runs close to 80 tokens/s on an RTX 3090 and about half that on an RTX 5060 Ti 16GB, which is still plenty for chat.

eBay
DevicePriceSpeed t/sMax context
Tesla V100 16GB16 GB$37024 listings117.132K
GeForce RTX 5060 Ti 16GB16 GB$86958 listings63.532K
Tesla V100 32GB32 GB$89518 listings117.132K
Radeon RX 7900 XTX24 GB$1,25029 listings123.632K
GeForce RTX 309024 GB$1,799107 listings12132K
GeForce RTX 409024 GB$3,75868 listings128.632K
Ryzen AI Max+ 395 128GBWhole system · 128 GB$4,46420 listings37.732K
RTX A600048 GB$4,89916 listings102.432K
Mac Studio M5 Ultra 96GBWhole system · 96 GB$7,27412 listings150.932K
MacBook Pro M5 Max 128GBWhole system · 128 GB$7,54920 listings84.332K
DGX Spark 128GBWhole system · 128 GB$8,24022 listings40.132K
GeForce RTX 509032 GB$8,395123 listings200.632K
RTX PRO 600096 GB$22,50011 listings200.632K

Only common GPUs and systems are listed, one set for models under 50B and another for larger ones, sorted by price from low to high.

What to know before running Mistral 7B v0.3 locally

  1. What v0.3 changed from v0.2

    v0.3 expanded the vocabulary (32768 tokens, with the new v3 tokenizer) and added function calling. 32K context was already there in v0.2; v0.1 had only 8K. For tool calling, note that Mistral requires tool call IDs to be exactly 9 letters or digits, an easy place to slip up when you build the conversation history yourself.

  2. Which framework to use

    llama.cpp and vLLM support it directly, and Ollama's mistral:7b is v0.3. Mistral officially recommends mistral-inference; function calling with transformers requires 4.42.0 or later.

  3. Which quantization to pick

    4-bit is about 4.4 GB, 5-bit about 5.1 GB and 8-bit about 7.7 GB, only a few GB apart, so use 8-bit if you can. Only on old cards with less than 6GB is it worth considering 3-bit (about 3.8 GB) or lower.

  4. No content moderation

    Mistral states that this model has no moderation mechanisms, so any public-facing service needs its own input and output filtering.

Launch commands

Ollama

  • Windows
  • macOS
  • Linux
Terminal
ollama run mistral:7b

llama.cpp

  • NVIDIA
  • AMD
  • Mac
  • CPU
Terminal
llama-server -hf bartowski/Mistral-7B-Instruct-v0.3-GGUF:Q4_K_M -c 8192

vLLM

  • Linux
  • NVIDIA
  • AMD
Terminal
vllm serve mistralai/Mistral-7B-Instruct-v0.3

MLX

  • Apple Silicon

On a Mac, pip install mlx-lm first; this command downloads the MLX weights from Hugging Face and starts an OpenAI-compatible server.

Terminal
mlx_lm.server --model mlx-community/Mistral-7B-Instruct-v0.3-4bit

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

Other models in the Mistral family

ModelTotal paramsActive params4-bit size
Ministral 3 8BDense8.4B8.4B5.2 GB
Mistral NemoDense12.3B12.3B7.5 GB
Ministral 3 14BDense13.5B13.5B8.2 GB
Mistral Small 3.2 24BDense24B24B14.3 GB

About Mistral