If you are reproducing an older Mistral Small 3.1 workflow, choose Mistral-Small-3.1-24B-Instruct-2503 and use a runtime that can pass images to it. Do a small image check first: a successful text reply only confirms that the text path is working. An original 4-bit Mac run reported 13.1 generated tokens per second for text at the 1,024-token preset. It did not measure image latency.
Keep the model and vision components on the same version
Mistral released Small 3.1 on 2025-03-17 under Apache 2.0. The 24B Instruct 2503 model card documents text and image input. The earlier 2501 and later Small 3.2 checkpoints differ; save the exact tag and files if you are keeping a repeatable comparison.
Ollama: Install Ollama and select the explicit 2503 Q4_K_M tag, listed as vision-capable and about 15 GB on disk. After making a non-private test image called test-card.png in your current folder, pass it with the prompt using Ollama’s documented image syntax:
ollama run mistral-small3.1:24b-instruct-2503-q4_K_M "./test-card.png Read the two labels in order."
llama.cpp: Follow the local setup guide and choose a matching 2503 vision conversion. If you load local files yourself, llama.cpp’s multimodal guide shows how to pair the text weights with the matching multimodal projector using --mmproj. Do not reuse the projector from a different checkpoint.
What the hardware tests measured
| System | Measured setup | Text-only results |
|---|---|---|
| Apple M4 Max, 40 GPU cores, 64 GB | oMLX original session, 4-bit, oMLX 0.4.4 on macOS 26.5.1. | 1,024 preset: 13.1 decode, 130.5 prefill tok/s, 7.872 s to first token and 13.2 GB reported peak. 4,096 preset: 12.6 decode tok/s and 14.1 GB reported peak. |
| NVIDIA Tesla P100 PCIe, 16 GB VRAM | Timebench 3 original run, llama.cpp, Q4_K_M importance-matrix GGUF, full GPU offload requested, 24,000 context setting, flash attention on; five concurrent requests. | 23.84 aggregate decode tok/s. |
| AMD Radeon AI PRO R9700, 32 GB VRAM | Timebench 3 original run, llama.cpp and ROCm 7.2.4, Q4_K_M GGUF, full GPU offload requested, 49,152 context setting, flash attention on; five concurrent requests. | 78.06 aggregate decode tok/s. |
The PC figures combine output across requests. They do not describe one image chat, and the 16 GB P100 run does not establish a memory requirement for image input. The projector and image processing can add memory and work. Start with one small image instead of assuming a large image and long text will fit together.
Choose a repeatable 2503 installation
If an older workflow depends on this model, inventory its files before changing anything. Save the exact checkpoint, runtime version, quantization and image component the app loads. The release number in the download often has more diagnostic value than the friendly model name. A successful text session with an updated Mistral Small entry does not establish that it uses the same 2503 weights or that its image path still works.
The Ollama option above gives you a named packaged route. For a manual GGUF setup, use 2503 weights and the compatible projector from the conversion’s documentation. Write down both filenames. Check the runtime log for the loaded text and vision components. Some clients provide their own image conversion before handing a prompt to the model. If a client rejects the input or reports an unsupported architecture, inspect the package and runner support before modifying the question.
Mistral’s card documents images and a long context limit for 2503, but the two features create separate demands on a local system. A workstation that completes a modest text request can fail when the same context is combined with a full-size image. Begin with one small image and a short prompt. Close other model sessions before measuring the baseline. Keep the reserved context and actual input length in the record so a memory difference has a clear cause to investigate.
Run an image acceptance test with changed evidence
Make a synthetic card with the headline “Loading inspection.” Put “Bay A: 12 boxes” on the first line and “Bay B: 7 boxes” on the second. Use large dark text. Ask for the count from Bay B and the exact printed line supporting it. The accepted answer includes 7 and the Bay B line. It must avoid the larger quantity from Bay A. Preserve the PNG and an answer key separate from the wording of the prompt.
Make a second card with the same layout but swap the counts. Ask the exact same question in a fresh chat. The right answer changes to 12. Follow with an image that has Bay B’s count covered but keeps the rest visible. If the model answers confidently with 7 or 12, mark that as unsupported. If an operator requires both bays, treat a partial result as such instead of filling the missing number with zero.
Add a no-attachment control. Run it without the answer in the filename, prompt or chat history. This should report that the image is missing. If the configured runtime rejects the attachment outright, save the error separately from a case where it accepts the image and fails to read the quantity. The difference matters during diagnosis. One points to a client or runtime boundary, while the other may involve preprocessing, legibility or task accuracy.
Detect visual errors before introducing reasoning
For a two-column form, ask first for the literal Bay B line and only then for a structured count. If the line is read as “Bay B: 1 boxes” when the image says 7, the error occurred before arithmetic or formatting. Test a sharper crop that retains the label and number. For a picture with a rotated image or a low-resolution screenshot, open the exact file a user sent and confirm the requested evidence is readable before changing model settings.
Now ask which bay has more boxes and by how many. The base card answers Bay A by five; the swapped card answers Bay B by five. Grade the readings, comparison and units separately. If the readings are correct but the difference is wrong, a local calculator can verify the result. If the readings are wrong, recalculating from the generated values still gives a wrong outcome. Keep the source crop beside the answer for review.
Understand what changes when you quantize
The Mac benchmark uses one 4-bit conversion and reports different memory readings as its text preset changes. The 13.2 and 14.1 GB figures reflect that benchmark’s scope. A roughly 15 GB GGUF is the listed storage for another package. Its disk size and the MLX benchmark peak answer different questions. The image projector, encoded input, runtime overhead and other processes add their own constraints.
If you are choosing between two supported precisions, use the same card and runner configuration where possible. Compare whether both convert the image successfully, preserve the right label, obtain the same counts and keep the system responsive. Record the loaded file, reserved context, image dimensions and observed memory. If the comparison also switches between MLX and GGUF or changes the projector, describe the result as a comparison of complete setups. Isolating quantization requires the other conditions to match.
An initial smaller context can help a memory-constrained setup, especially if the job needs one small image and a few output fields. If that works, grow one dimension at a time. Add a longer text passage with the same image, then test a larger image with the text held steady. If the image path is the first to fail, check the projection component and size constraints. If the whole machine is slowing regardless of input, inspect memory pressure and close duplicate resident models.
Compare text speed and image response with separate measurements
The text-only Mac result reports 7.872 seconds to first token at one preset. At the labelled decode rate of 13.1 tok/s, an 80-token generation stage would be roughly another six seconds under that rate. That estimate gives you a way to interpret the stages. The published request contained text only. The NVIDIA and AMD numbers combine work from several concurrent requests. Retain that denominator when using them to plan any related server test.
For a single image request, time when the app submits the image, when the first text appears and when the answer is available to the user. If resizing or upload happens before the model receives the request, capture that delay too. Check whether the selected package and runner were already resident, and keep cold starts as a separate result. Time several named images independently before deciding whether a change made the workflow faster.
A long document or several cards introduce selection and sequencing issues. For example, send a report with two similar bays only after the one-card case succeeds. Label the pages and require the source page for each value. If only one of the images was loaded, the answer cannot reliably cover both. Some local interfaces can accept only one image per request or use their own size limits. Confirm that support in the interface you chose.
Preserve a recovery path for an older workflow
Keep the previously working model revision and package identifiers while you try a new runtime or conversion. Rerun the original card, the swapped card and the missing attachment control before discarding the old path. If the newer setup needs a different payload or projector, document the change with the exact working command or application setting. A result based on your actual attachment route is easier to reproduce than a record of a successful generic text chat.
If a user mainly needs printed text, a local OCR step can supply the exact lines to a text-only analysis path. If spatial layout or chart relationships are important, validate the vision route for that workload. Keep the original evidence visible for a reviewer and flag fields that are absent or unreadable. This gives the person a clear outcome even when the full image workflow is too slow or incompatible with the hardware at hand.
Confirm the fallback uses the same visual source
If you switch between a packaged tag and a manual GGUF path, pass the original PNG to both. Compare the received image size if each runtime exposes it, then use the exact same Bay B question. Keep a record of the old and new projector names and of any change in preprocessing. Some apparently conflicting answers come from one interface cropping or resizing a fine line that another retains. Check the image dimensions and visible evidence before comparing quantized models on quality.
For a form the workflow must read, add one record where the digit is legitimately zero and another where the digit is absent. A zero box count is a valid result and an obscured field is unknown. Use separate values for them in the final record. Preserve the exact supporting line for the zero and the cropped original for the missing case. This is also a useful regression if you later decide to use plain OCR for a simple part of the form.
Confirm the runner actually saw the image
Keep the same prompt and weights when you compare the two cards. If the answers fail in the same way on both, first verify that the runtime received the attachment. If it did, check that the loaded projector is the one for this checkpoint before changing prompt length or precision.
Create a card with the text ORANGE above BLUE. Ask for the labels from top to bottom without including the answers in the prompt. Swap the labels in a second image and repeat the same prompt. The answer should follow the image. If it does not, first check that the runtime accepted the attachment and loaded the matching vision component. Then measure elapsed time separately for text-only and image prompts, with the model already loaded. When the files are downloaded, repeat offline to confirm your setup stays on-device.