The Mistral-7B-Instruct-v0.3 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.3.
Runs On
What it takes to serve Mistral-7B-Instruct-v0.3 (7.2B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 14.5 GB | 17.4 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 7.2 GB | 8.7 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 3.6 GB | 4.3 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.
SAVRN's Notes on Mistral-7B-Instruct-v0.3
Think of Mistral-7B-Instruct-v0.3 as the tenant that shares a card. A 16-bit copy needs 17.4 GB of memory, 8-bit needs 8.7 GB and 4-bit 4.3 GB, and the cheapest hardware on our list, a single 192 GB MI300X at $1.85 an hour on demand, has far more room than a 7.2 billion parameter instruct model will use. The listing names vllm as the library and gives a 32,768-token context.
Nothing in the Apache License 2.0 stops a commercial deployment, a modified build or redistribution; it only asks that the license and copyright notices stay attached and significant changes get stated. The base behind it is mistralai/Mistral-7B-v0.3. The 15 files total 29.0 GB, twice the 14.5 GB a 16-bit copy occupies, so pull only what your stack loads. The weights are open access, released 2024-05-22 and last updated 2025-12-03, so ask what changed before standardizing on a revision.
Model Card
By Mistral AI_, published under apache-2.0, revision c170c708c41d.
Model Card for Mistral-7B-Instruct-v0.3
The Mistral-7B-Instruct-v0.3 Large Language Model (LLM) is an instruct fine-tuned version of the Mistral-7B-v0.3.
Mistral-7B-v0.3 has the following changes compared to Mistral-7B-v0.2 - Extended vocabulary to 32768 - Supports v3 Tokenizer - Supports function calling
Installation
It is recommended to use mistralai/Mistral-7B-Instruct-v0.3 with mistral-inference. For HF transformers code snippets, please keep scrolling.
pip install mistral_inference
Download
from huggingface_hub import snapshot_download
from pathlib import Path
mistral_models_path = Path.home().joinpath('mistral_models', '7B-Instruct-v0.3')
mistral_models_path.mkdir(parents=True, exist_ok=True)
snapshot_download(repo_id="mistralai/Mistral-7B-Instruct-v0.3", allow_patterns=["params.json", "consolidated.safetensors", "tokenizer.model.v3"], local_dir=mistral_models_path)
Chat
After installing mistral_inference, a mistral-chat CLI command should be available in your environment. You can chat with the model using
mistral-chat $HOME/mistral_models/7B-Instruct-v0.3 --instruct --max_tokens 256
Instruct following
from mistral_inference.transformer import Transformer
from mistral_inference.generate import generate
from mistral_common.tokens.tokenizers.mistral import MistralTokenizer
from mistral_common.protocol.instruct.messages import UserMessage
from mistral_common.protocol.instruct.request import ChatCompletionRequest
tokenizer = MistralTokenizer.from_file(f"{mistral_models_path}/tokenizer.model.v3")
model = Transformer.from_folder(mistral_models_path)
completion_request = ChatCompletionRequest(messages=[UserMessage(content="Explain Machine Learning to me in a nutshell.")])
tokens = tokenizer.encode_chat_completion(completion_request).tokens
out_tokens, _ = generate([tokens], model, max_tokens=64, temperature=0.0, eos_id=tokenizer.instruct_tokenizer.tokenizer.eos_id)
result = tokenizer.instruct_tokenizer.tokenizer.decode(out_tokens[0])
print(result)
Configuration
- Architecture
- MistralForCausalLM
- Context length (tokens)
- 32,768
- Layers
- 32
- Hidden size
- 4,096
- Feed-forward size
- 14,336
- Attention heads
- 32
- Key/value heads
- 8
- Vocabulary size
- 32,768
- RoPE base
- 1e+06
- Stored precision
- bfloat16
- Model type
- mistral
Identity and Version
- Repository
- mistralai/Mistral-7B-Instruct-v0.3
- Publisher
- Mistral AI_
- Task
- Not stated by the source
- Modality
- Other
- Library
- vllm
- Parameters
- 7.2B parameters
- Languages
- Not stated by the source
- Revision
- c170c708c41dac9275d15a8fff4eca08d52bab71
- First published
- 2024-05-22
- Last updated
- 2025-12-03
Files and Weights
15 files, 29.0 GB in total. The weights are 4 files totalling 29.0 GB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| consolidated.safetensors | Weights | 14.5 GB | 76d5729be995 |
| model-00001-of-00003.safetensors | Weights | 4.9 GB | ce6fb6f6f4d0 |
| model-00002-of-00003.safetensors | Weights | 5.0 GB | 8c0e72f14836 |
| model-00003-of-00003.safetensors | Weights | 4.5 GB | 905dd405363e |
| config.json | Configuration | 601 B | — |
| generation_config.json | Configuration | 116 B | — |
| model.safetensors.index.json | Configuration | 23.9 KB | — |
| params.json | Configuration | 202 B | — |
| special_tokens_map.json | Configuration | 414 B | — |
| README.md | Documentation | 7.9 KB | — |
| .gitattributes | Repository | 1.5 KB | — |
| tokenizer.json | Tokenizer | 2.0 MB | — |
| tokenizer.model | Tokenizer | 587.4 KB | 37f00374dea4 |
| tokenizer.model.v3 | Tokenizer | 587.4 KB | — |
| tokenizer_config.json | Tokenizer | 140.9 KB | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 29.0 GB
Released by Mistral AI_ through its official repository on Hugging Face. Read the license.
Built From
- Derived from mistralai/Mistral-7B-v0.3
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 29.0 GB |
| 16-bit | 14.5 GB |
| 8-bit | 7.2 GB |
| 4-bit | 3.6 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Built on This Model
- Adapter ofELISARCyberAIEdge7B-LoRA-GGUF
- Derived fromELISARCyberAIEdge7B-LoRA-GGUF
- Adapter ofglasseye-bbp-v1
- Derived fromglasseye-bbp-v1
- Adapter ofglasseye-bbp-v1
- Derived fromglasseye-bbp-v1
- Adapter ofvector-bbp-v1
- Derived fromvector-bbp-v1
- Adapter ofvector-bbp-v1
- Derived fromvector-bbp-v1
Questions About Mistral-7B-Instruct-v0.3
How much GPU memory does Mistral-7B-Instruct-v0.3 need?
About 17.4 GB at 16-bit and 4.3 GB at 4-bit: the weights (7.2B parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run Mistral-7B-Instruct-v0.3 on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use Mistral-7B-Instruct-v0.3 commercially?
Yes. Mistral-7B-Instruct-v0.3 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
What is Mistral-7B-Instruct-v0.3's context length?
32,768 tokens, from the maximum position embeddings in its published configuration.