SkipHardware

All articles

Running a 4B model fully on-device: the RAM and power budget first

“Can we run a 4B model fully offline, with no server, on a development board?” is a good question with an uncomfortable answer: the board is the project. Before anyone writes a prompt or picks a voice, the RAM, memory bandwidth, thermals and power budget decide whether the product is feasible at all. Starting from the model and working down to the hardware saves a painful redesign.

Key answers / 关键答案

Can a 4B model run fully offline on an off-the-shelf board?

It depends on RAM and memory bandwidth, not just compute. A 4B model needs several gigabytes of memory to hold weights and context, so the deciding spec is available RAM, not the TOPS number on the box. Many low-cost boards cannot allocate enough, and those that can often need active cooling and a power budget a battery device cannot spare.

Why does the same model run fast on one board and crawl on another?

Inference is usually memory-bandwidth-bound. A board with modest compute but high-bandwidth memory can outperform a faster chip with slow memory. Quantisation reduces both the model size and the bandwidth needed, so ask what precision the benchmark used before comparing numbers.

If we drop the server and cloud, does the project get cheaper?

It removes the server development fee, but the device gets more expensive and harder: bigger RAM, a stronger SoC, thermal design and a larger battery. A functional prototype can be built on a development board to prove the model runs; a production unit must be costed separately with the real BOM.

RAM is the first gate

A 4B-parameter model carries billions of weights. Even quantised, those weights occupy gigabytes, and the runtime needs additional memory for the context window and activations. The first feasibility question is therefore simple: how much RAM can the board actually make available to the runtime, after the OS and other processes have taken their share?

This is where many boards fail quietly. A specification sheet may list a large memory figure, but if it is shared with the GPU or the system partitions reserve most of it, the runtime gets far less. Ask for measured available memory on the exact board revision, not the headline number.

Bandwidth, not TOPS, sets the speed

The common mistake is shopping by compute power. For language-model inference, the limiting factor is usually how fast weights can be streamed from memory. A board with modest compute but high-bandwidth memory can feel far quicker than a chip with a bigger TOPS figure paired with slow memory.

Quantisation changes the math: lower precision shrinks the weights and reduces the bandwidth needed per token. That is why two reports of the “same model” on the “same chip” can disagree wildly — they used different precisions. Always ask what quantisation and context length a benchmark assumed.

Thermals and power are product questions

A board that sustains inference on a bench may throttle in a sealed enclosure. Continuous generation heats the SoC, and once it throttles, tokens per second collapse. For a device that sits on a desk this may need a heatsink or fan; for a portable or battery-powered product it may be disqualifying.

The power budget has to include the whole system — SoC under load, memory, display, audio amplifier, wireless. An offline product removes cloud latency but pays for it locally, every second the model runs. Budget the peak load, not the idle draw.

A development board is the right first step

For a functional prototype, an off-the-shelf board is exactly the right tool: it lets you prove the model loads, responds within an acceptable time, and survives sustained use, without designing a PCB. Our board range includes platforms derived from real shipping products, with a base driver SDK, OTA and Wi-Fi provisioning examples so the integration work starts from something runnable.

Be explicit about what that prototype proves. It proves model feasibility and rough latency. It does not prove the final unit cost, the enclosure thermals or the battery life — those belong to the production design and must be quoted separately with the real bill of materials.

The honest comparison with a cloud approach

Removing the server removes the server development fee, but it is not free. The device now needs more RAM, a stronger SoC, thermal management and a bigger power source — and every unit carries that cost. A cloud approach keeps the device cheap but adds a recurring dependency and latency.

The right question is not “offline or cloud” in the abstract, but what the product must guarantee: does it need to work with no connection, how fast must a response feel, and what is the acceptable unit cost at the target volume? Those three answers pick the architecture.

What to send before a board recommendation

Name the exact model and format, the precision you plan to use, the target response time, whether the device is mains-powered or battery-powered, and the languages it must handle. With those, a board can be chosen on measured capability instead of a hopeful reading of the spec sheet.

To scope an offline model on real hardware, contact SkipHardware.

WhatsApp