Our services
If you can think it, we can make it brainsoft.
If you can think it, we can make it brainsoft.
Written By: BrainSoft In AI & Research
You have a task that a language model would handle well, but the data cannot leave your network, or the API bill for a high-volume job adds up to more than a spare GPU. So you start wondering whether a small model on your own hardware is good enough. Usually it is, for narrow jobs like classification, extraction, summarising support tickets, or drafting replies from a fixed template.
This walks through setting up a small open-weight model on a single machine: picking the model and quantisation, installing a runtime, testing it from the command line, serving it over HTTP, and measuring whether it holds up. The whole thing takes an afternoon on a workstation with a decent GPU, or a bit longer on CPU only.
nvidia-smi on a GPU box or check your RAM on a laptop. As a rough rule, a 7-8B parameter model at 4-bit quantisation needs around 5-6 GB of VRAM; a 3B model needs roughly 2-3 GB. Leave headroom for the KV cache, which grows with context length.curl -fsSL https://ollama.com/install.sh | sh
ollama pull qwen2.5:7b-instruct-q4_K_M
ollama run qwen2.5:7b-instruct-q4_K_M \
"Extract the order number and complaint from: 'Hi, order #4471 arrived cracked.' Reply as JSON."
curl http://localhost:11434/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "qwen2.5:7b-instruct-q4_K_M",
"messages": [{"role": "user", "content": "Say hello in five words."}]
}'
For a 3B model at 4-bit quantisation, about 3 GB is enough. A 7-8B model at 4-bit needs roughly 5-6 GB. Add room for the KV cache, which grows with context length, so a long-context workload needs noticeably more than a short one.
Yes, and for batch jobs where latency does not matter it is perfectly usable. A 3B model on a modern laptop CPU produces a few tokens per second, which is fine for overnight processing and painful for interactive chat.
Not on open-ended reasoning, no. On narrow, well-specified tasks like extraction, classification, or short summaries with a fixed format, a small model with a good prompt often gets close enough, and you keep the data on your own network.