Mistral Small 3.1 24B

Apache 2.0

Mistral AI · 24B · كثيف

نموذج ميسترال متعدّد الوسائط بدعم الرؤية البصرية. تعرّف على ما إذا كان كرت شاشتك أو جهاز الماك قادرًا على تشغيل Mistral Small 3.1 24B محليًا — 13.4 جيجابايت كحد أدنى، و22.4 جيجابايت موصى بها.

كيف تستخدم Mistral Small 3.1 24B في llama.cpp

يحمّل llama.cpp ملف Mistral Small 3.1 24B من HuggingFace مباشرة ويشغّله، إمّا خادمًا متوافقًا مع OpenAI بواجهة ويب أو في الطرفية. اختر مستوى الـ Quantization من القائمة، وتتحدّث الأوامر معه.

ملف GGUF من unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF

التثبيت على macOS وLinux

curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

التثبيت عبر WinGet على Windows

winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

نسخة جاهزة من صفحة الإصدارات

# Download pre-built binary from:
# https://github.com/ggerganov/llama.cpp/releases
# Start a local OpenAI-compatible server with a web UI:
./llama-server -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M
# Run inference directly in the terminal:
./llama-cli -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

البناء من الكود المصدري

git clone https://github.com/ggerganov/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-server llama-cli
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama-server -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama-cli -hf unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

عبر Docker

docker model run hf.co/unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

التوثيق الرسمي: llama.cpp

كيف تستخدم Mistral Small 3.1 24B في Ollama

ينزّل Ollama النموذج ويفتح محادثة محلية بأمر واحد. اختر مستوى الـ Quantization من القائمة، وتتحدّث الأوامر معه.

ملف GGUF من unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF

من مكتبة Ollama الرسمية

ollama run mistral-small

من ملف GGUF على HuggingFace

ollama run hf.co/unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

التوثيق الرسمي: Ollama

كيف تستخدم Mistral Small 3.1 24B في node-llama-cpp

شغّل Mistral Small 3.1 24B من Node.js بلا تثبيت مسبق. اختر مستوى الـ Quantization من القائمة، وتتحدّث الأوامر معه.

ملف GGUF من unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF

محادثة مع النموذج

npx -y node-llama-cpp chat hf:unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

قدّر توافق النموذج مع جهازك

npx -y node-llama-cpp inspect estimate hf:unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

التوثيق الرسمي: node-llama-cpp

كيف تستخدم Mistral Small 3.1 24B في Docker Model Runner

يشغّل Docker Desktop النموذج محليًا ويتيحه عبر واجهة متوافقة مع OpenAI. اختر مستوى الـ Quantization من القائمة، وتتحدّث الأوامر معه.

ملف GGUF من unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF

شغّل النموذج

docker model run hf.co/unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

التوثيق الرسمي: Docker Model Runner

كيف تستخدم Mistral Small 3.1 24B في LocalAI

LocalAI خادم محلي متوافق مع OpenAI. استبدل {{GGUF_FILE}} باسم ملف GGUF الذي تريده من المستودع unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF.

التثبيت من ملف تنفيذي

curl https://localai.io/install.sh | sh
# Load and run the model:
local-ai run huggingface://unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF/{{GGUF_FILE}}

عبر صور Docker

# Pull the image:
docker pull localai/localai:latest-cpu
# Load and run the model:
docker run -p 8080:8080 --name localai -v $PWD/models:/build/models localai/localai:latest-cpu huggingface://unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF/{{GGUF_FILE}}

التوثيق الرسمي: LocalAI

كيف تستخدم Mistral Small 3.1 24B في Lemonade

Lemonade خادم محلي من AMD يعمل على المعالجات وكروت الشاشة. اختر مستوى الـ Quantization من القائمة، وتتحدّث الأوامر معه.

ملف GGUF من unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF

نزّل النموذج

# Download Lemonade from https://lemonade-server.ai/
lemonade pull unsloth/Mistral-Small-3.1-24B-Instruct-2503-GGUF:Q4_K_M

شغّل النموذج وحاوره

lemonade run user.Mistral-Small-3.1-24B-Instruct-2503-GGUF-Q4_K_M

اعرض كل النماذج المتاحة

lemonade list

التوثيق الرسمي: Lemonade

أوامر التشغيلHuggingFaceOllamaLM Studio
2025-03سياق 128K

مستويات الـ Quantization

Quantizationالبتاتالذاكرةالجودةالحالة
Q2_K28.2GBمنخفضة—
Q3_K_M311.3GBمتوسطة—
Q4_K_M412.8GBجيدة—
Q5_K_M515.9GBجيدة—
Q6_K618.9GBممتازة—
Q8_0825.1GBممتازة—
F161649.7GBبلا فقد—

الأرقام تشمل الأوزان وذاكرة KV عند طول سياق 2K توكن. غيّر طول السياق من لوحة جهازك لترى أثره على الذاكرة والسرعة.

التطبيقات

شغّل Mistral Small 3.1 24B داخل أدوات البرمجة التي تعمل بالذكاء الاصطناعي — يشغّل الأمر خادم Ollama على جهازك، يحمّل النموذج، ثم يفتح الأداة موصولة به.

  • Claude Code

    وكيل البرمجة من Anthropic، يعمل في الطرفية وداخل المحرّر

    ollama launch claude --model mistral-small
  • OpenCode

    وكيل برمجة مفتوح المصدر يعمل في الطرفية داخل مستودعك

    ollama launch opencode --model mistral-small
  • Codex

    وكيل البرمجة من OpenAI في سطر الأوامر

    ollama launch codex --model mistral-small
  • Droid

    وكيل البرمجة من Factory، للمهام الطويلة عبر عدّة ملفات

    ollama launch droid --model mistral-small
  • Hermes Agent

    وكيل برمجة مفتوح من Nous Research، بذاكرة تمتد عبر الجلسات

    ollama launch hermes --model mistral-small
  • OpenClaw

    وكيل مفتوح المصدر يشغّل المهام على جهازك بلا خدمة سحابية

    ollama launch openclaw --model mistral-small

تحتاج Ollama والأداة نفسها مثبَّتين. إن لم تكن الأداة مثبّتة، يرشدك الأمر إلى طريقة تثبيتها. اكتب ollama launch وحده لاختيار الأداة من قائمة.

عن هذا النموذج

الوصف الرسمي كما نشرته الجهة المطوِّرة، بلغته الأصلية.

Mistral Small 3 sets a new benchmark in the “small” Large Language Models category below 70B, boasting 24B parameters and achieving state-of-the-art capabilities comparable to larger models.

Mistral Small can be deployed locally and is exceptionally “knowledge-dense”, fitting in a single RTX 4090 or a 32GB RAM MacBook once quantized. Perfect for:

  • Fast response conversational agents.
  • Low latency function calling.
  • Subject matter experts via fine-tuning.
  • Local inference for hobbyists and organizations handling sensitive data.

Key Features

  • Multilingual: Supports dozens of languages, including English, French, German, Spanish, Italian, Chinese, Japanese, Korean, Portuguese, Dutch, and Polish.
  • Agent-Centric: Offers best-in-class agentic capabilities with native function calling and JSON outputting.
  • Advanced Reasoning: State-of-the-art conversational and reasoning capabilities.
  • Apache 2.0 License: Open license allowing usage and modification for both commercial and non-commercial purposes.
  • Context Window: A 32k context window.
  • System Prompt: Maintains strong adherence and support for system prompts.
  • Tokenizer: Utilizes a Tekken tokenizer with a 131k vocabulary size.

Human Evaluations

Human ratings

We conducted side by side evaluations with an external third-party vendor, on a set of over 1k proprietary coding and generalist prompts. Evaluators were tasked with selecting their preferred model response from anonymized generations produced by Mistral Small 3 vs another model. We are aware that in some cases the benchmarks on human judgement starkly differ from publicly available benchmarks, but have taken extra caution in verifying a fair evaluation. We are confident that the above benchmarks are valid.

Instruct performance

Our instruction tuned model performs competitively with open weight models three times its size and with proprietary GPT4o-mini model across Code, Math, General knowledge and Instruction following benchmarks.

instruct performance instruct performance

instruct performance

Performance accuracy on all benchmarks were obtained through the same internal evaluation pipeline - as such, numbers may vary slightly from previously reported performance (Qwen2.5-32B-Instruct, Llama-3.3-70B-Instruct, Gemma-2-27B-IT). Judge based evals such as Wildbench, Arena hard and MTBench were based on gpt-4o-2024-05-13.

Customers are evaluating Mistral Small 3 across multiple industries, including:

  • Financial services customers for fraud detection
  • Healthcare providers for customer triaging
  • Robotics, automotive, and manufacturing companies for on-device command and control
  • Horizontal use cases across customers include virtual customer service, and sentiment and feedback analysis.

أسئلة شائعة عن تشغيل Mistral Small 3.1 24B محليًا

هل أستطيع تشغيل Mistral Small 3.1 24B على جهازي؟
يحتاج Mistral Small 3.1 24B إلى 13.4 جيجابايت من الذاكرة كحد أدنى، والموصى به 22.4 جيجابايت. يكفي أن تفتح هذه الصفحة ليُقيَّم النموذج تلقائيًا أمام كرت شاشتك أو جهاز الماك، ثم تشغّله عبر Ollama أو LM Studio أو llama.cpp.
كم يحتاج Mistral Small 3.1 24B من الـ VRAM؟
بتكميم Q4_K_M يستهلك Mistral Small 3.1 24B نحو 12.8 جيجابايت من ذاكرة الكرت. أما المستويات الأعلى فتحتاج ذاكرة أكبر، والأدنى تناسب الكروت المحدودة مقابل تنازل في الجودة.