Instructions to use batiai/Mistral-Small-4-119B-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use batiai/Mistral-Small-4-119B-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="batiai/Mistral-Small-4-119B-GGUF", filename="Mistral-Small-4-119B-Q3_K_M-00001-of-00002.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use batiai/Mistral-Small-4-119B-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf batiai/Mistral-Small-4-119B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf batiai/Mistral-Small-4-119B-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
Use pre-built binary
# 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 batiai/Mistral-Small-4-119B-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
Build from source code
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 batiai/Mistral-Small-4-119B-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
Use Docker
docker model run hf.co/batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
- LM Studio
- Jan
- vLLM
How to use batiai/Mistral-Small-4-119B-GGUF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "batiai/Mistral-Small-4-119B-GGUF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "batiai/Mistral-Small-4-119B-GGUF", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
- Ollama
How to use batiai/Mistral-Small-4-119B-GGUF with Ollama:
ollama run hf.co/batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
- Unsloth Studio
How to use batiai/Mistral-Small-4-119B-GGUF with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for batiai/Mistral-Small-4-119B-GGUF to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for batiai/Mistral-Small-4-119B-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for batiai/Mistral-Small-4-119B-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use batiai/Mistral-Small-4-119B-GGUF with Docker Model Runner:
docker model run hf.co/batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
- Lemonade
How to use batiai/Mistral-Small-4-119B-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull batiai/Mistral-Small-4-119B-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.Mistral-Small-4-119B-GGUF-Q4_K_M
List all available models
lemonade list
Mistral Small 4 119B-A6B GGUF β Quantized by BatiAI
Mistral's unified open-weight model β reasoning + multimodal + agentic coding in one. 119B Mixture-of-Experts with only 6B active per token, so it runs at small-model speed while keeping frontier quality. Apache 2.0 (fully commercial-friendly, no gating).
Quantized directly from official Mistral weights β not a re-quant of someone else's GGUF. Signed with BatiAI metadata for BatiFlow.
Quick Start
ollama run batiai/mistral-small-4:q4
Available Quantizations
| Quant | Size | RAM target | Recommended For |
|---|---|---|---|
| Q3_K_M | 54GB | 64GB Mac | Compact |
| Q4_K_M | 68GB | 96GB Mac | Recommended (balance) |
| Q5_K_M | 79GB | 128GB Mac | Max quality |
119B total params β these are for 64GB+ Macs (M-series Max/Ultra). The 6B active means inference is fast despite the size. IQ3/IQ4 (smaller, imatrix) can be added on request.
RAM Requirements
| Your Mac RAM | Q3 (54GB) | Q4 (68GB) | Q5 (79GB) |
|---|---|---|---|
| 64GB | β tight | β | β |
| 96GB | β | β | β tight |
| 128GB | β | β | β |
| 192GB+ | β | β | β comfortable |
Why Mistral Small 4?
- One model, three jobs β reasoning, multimodal understanding, and agentic coding unified (no model-switching).
- 6B active / 119B total MoE β frontier-class capability at the inference speed/cost of a small model.
- Apache 2.0 β no license friction, no gating. Build commercial products freely.
- Native llama.cpp support β Mistral ships official GGUF tooling; arch (
mistral3) is mainstream.
Why BatiAI Quantization?
- Original-source β quantized straight from Mistral's official weights, not a copy of a third-party GGUF.
- BatiAI-signed β
general.author: BatiAI,general.url: https://flow.bati.ai. - Mac-tuned selection β quant sizes chosen for real Apple Silicon RAM tiers.
Technical Details
- Original Model: mistralai/Mistral-Small-4-119B-2603
- Architecture:
mistral3MoE, 119B total / ~6B active per token - License: Apache 2.0
- Quantized with: llama.cpp (Q8_0 intermediate β K-quants,
--allow-requantize) - Quantized by: BatiAI
- Note: YaRN config verified clean (no
yarn_log_multiplierbug, unlike the earlier Medium 3.5 release).
About BatiFlow
BatiFlow β free, on-device AI automation for Mac. 5MB app, 100% local, unlimited. 60+ tools.
License
Quantized from mistralai/Mistral-Small-4-119B-2603. License: Apache 2.0.
Benchmarks
Mac νλμ¨μ΄ μ€μΈ‘ λ²€μΉ λκΈ° μ€ (bench.sh). μΈ‘μ ν μλ κ°±μ .
- Downloads last month
- 184
3-bit
4-bit
5-bit
Model tree for batiai/Mistral-Small-4-119B-GGUF
Base model
mistralai/Mistral-Small-4-119B-2603