Model guide
Mixtral 8x7B Instruct v0.1
Mixtral 8x7B is a mixture-of-experts text model, not eight small models you can load individually. Its selected download is much larger than a single 7B model even though only some experts run for each token. It is mainly worth considering when you already have enough memory for this older multilingual checkpoint.
At a glance
- Parameters
- 46.7B total / 12.9B active
- Accepts
- Text
- Returns
- Text
- Published context limit
- 32,768 tokens
- Model format
- safetensors · GGUF
- Software and download hosts
- Ollama. Follow the exact setup below; this list does not establish support for every format, input type or software version.
- Suggested compression
- Q4_K_M
- Model-weight download
- Q4_K_M weights · 26.44 GBTheBloke (community conversion)mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf
- Languages
- French · Italian · German · Spanish · English
- License
- Apache-2.0
Will it fit?
Mixtral 8x7B Instruct v0.1 · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need.
Check on your computerBest for
- Compare summaries of the same bilingual notice with Mistral 7B.
Choose something else when
- Even though the model routes each token through a subset of its experts, budget space for the full downloaded weights.
First setup
Check a representative task
On a machine that already fits the model, test a multilingual task with facts you can verify.
Translate the following notice into English. Preserve the date, number and condition. Then list any missing location in one short sentence.
Aviso: El taller para 12 personas puede celebrarse el 18 de noviembre si se confirma la reserva. La sala aún no está asignada.
Check the result: Preserve 12 people, 18 November and the condition that the reservation must be confirmed. State that the room is not yet assigned; do not name one.
For your own language pair, have a fluent reader check meaning and tone; this example does not validate all supported languages.
This creates a 4,096-token copy of mixtral:8x7b-instruct-v0.1-q4_K_M named mixtral-8x7b-instruct-v0-1-short-context. Save the following as a file named Modelfile in your working folder:
FROM mixtral:8x7b-instruct-v0.1-q4_K_M
PARAMETER num_ctx 4096
Then run these commands from that folder:
ollama pull mixtral:8x7b-instruct-v0.1-q4_K_M
ollama create mixtral-8x7b-instruct-v0-1-short-context -f ./Modelfile
ollama run mixtral-8x7b-instruct-v0-1-short-context
Run the task check. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.
The recorded Ollama package is Q4_K_M: 28.45 GB of model weights. Use Ollama 0.40.18 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.
See Ollama context settings and the Modelfile instructions.
Open LM Studio’s Discover tab, search for TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF, and download mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf (Q4_K_M, 26.44 GB). See the download files. Select the file in Chat, set context to 4,096, then load it. Run the task check. If it will not load, open LM Studio Model Will Not Load.
Open a terminal in the extracted llama.cpp release folder. On Windows, replace ./llama-server below with .\llama-server.exe:
./llama-server -hf TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF -hff mixtral-8x7b-instruct-v0.1.Q4_K_M.gguf -c 4096 --host 127.0.0.1 --port 8080
The server downloads the selected model. Wait for the model to load, then open http://127.0.0.1:8080 in your browser. Run the task check and inspect the result against its acceptance criteria. Keep the server terminal open; press Ctrl+C there to stop the server. The file list identifies the exact download. If the command fails: Unknown architecture? Update the runner. Allocation failed? Retry with less context or a smaller weight file.
Load the model, start a fresh chat and time your usual prompt. Record time until the first useful word and time until the full answer. Note the processor, context and output length when comparing another run.
