Skip to main content

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.

46.7B total / 12.9B activeText chat32,768 token contextView the model card →

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 computer

Best 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.

Other models for this task