On-Device Lightweight Multimodal LLMs: Model Selection and Deployment Guide With Hands-On Benchmarks
This guide explains how to choose and deploy lightweight multimodal large language models on edge devices. It compares three model size tiers, shows how to estimate memory for weights and KV cache, and covers image and audio input requirements. It also covers quantization options, an NPU compatibility checklist, a benchmarking method, edge-cloud collaboration, compliance points, and a final selection checklist.
1. Model Tiers and Scope
The source describes three tiers: an on-device mini version with several billion parameters, a workstation version at the 10B-parameter scale using a Dense architecture, and a large-capacity version at the 20B-parameter scale using a MoE architecture. The table below lists where each tier runs and which fields to verify before deployment.
| Tier | Parameter Scale | Architecture | Primary Deployment Location | Fields to Verify Before Deployment |
|---|---|---|---|---|
| On-device mini version | Several billion parameters | Dense | Phones, embedded development boards | Model name, license, supported input modalities |
| Workstation version | 10B-parameter scale | Dense | Home workstations | Model name, license, inference framework support |
| Large-capacity version | 20B-parameter scale | MoE | Workstations or servers | Model name, license, number of experts and number of active experts |
The original material does not name specific models or give release dates or license terms. Check these details against the official model card before deployment.
A Dense model activates all of its parameters on every forward pass, which suits tasks that need deep reasoning. A MoE model activates only some of its expert networks, so each pass requires less computation than a Dense model with the same total parameter count. However, all of its weights must still be loaded into memory, so memory use depends on the total parameter count. Whether throughput improves depends on how balanced the routing is and on how the runtime is implemented. It cannot be assumed in general.
2. Visual and Audio Input Requirements
1. Variable-resolution images
The model accepts images at variable resolutions. Images do not need to be resized to a fixed dimension. The number of visual tokens grows roughly with the number of pixels. You can estimate it with this approximate formula:
Visual tokens ≈ (image height ÷ patch side length) × (image width ÷ patch side length) ÷ merge factor
Check the model card for the exact patch side length and merge factor. Long images and wide screenshots produce many visual tokens. This increases VRAM usage and delays the first token. When deploying, set a maximum pixel count or maximum token count. Scale down any image that exceeds the limit while keeping its aspect ratio.
2. Native audio input
The on-device version is reported to support audio up to 30 seconds long. Before deployment, confirm the following requirements:
- Sample rate, channel count, and encoding format. A common requirement is 16 kHz mono PCM, but the model card is the authority.
- Audio longer than 30 seconds must be split into segments. Overlapping adjacent segments can reduce recognition errors caused by words cut at segment boundaries.
- Native audio input removes the need to deploy a separate ASR model. It does not guarantee better recognition in every scenario, so evaluate it on your own voice samples.
In a traditional cascaded pipeline, latency is the sum of ASR, LLM, and TTS processing time, one after another. If ASR runs in the cloud, network round-trip time adds to that total.
3. Deployment Steps and Benchmarks
1. Quantization options
- INT4 weight quantization: Common methods include GPTQ and AWQ. This option gives the smallest model size, which suits phones and development boards with limited memory. Validate accuracy loss on your own evaluation set.
- INT8 quantization: Accuracy loss is usually small, and memory use is about half of FP16. This option suits target NPUs with good INT8 operator support.
- FP16: Use this only as a baseline on workstations. Direct deployment to edge devices is not recommended.
2. Memory estimation
Weight memory ≈ parameter count × bytes per parameter. INT4 uses about 0.5 bytes per parameter, INT8 uses 1 byte, and FP16 uses 2 bytes.
- Example 1: A 10B-parameter Dense model quantized to INT4 needs about 10 × 10⁹ × 0.5 ≈ 5 GB for weights.
- Example 2: A 20B-parameter MoE model quantized to INT4 needs about 10 GB for weights. Even when only some experts are active per token, all weights must stay resident in memory.
You can estimate KV cache memory with this formula:
KV cache ≈ 2 × number of layers × number of KV heads × head dimension × context length × bytes per element
Example: With 32 layers, 8 KV heads, a head dimension of 128, a context length of 4096, and FP16 storage, the KV cache needs about 2 × 32 × 8 × 128 × 4096 × 2 ≈ 0.5 GB.
Total memory requirement is roughly the sum of weights, KV cache, the vision encoder, and runtime overhead. Reserve 20% to 30% headroom so the system does not terminate the process when memory runs low.
3. NPU compatibility checklist
- Confirm that the target chip’s NPU runtime supports all model operators, including attention, RoPE, and the vision encoder.
- Operators that are not supported fall back to the CPU. Measure the fallback ratio and where it occurs.
- Check that the KV cache data layout and memory alignment meet runtime requirements.
- Confirm that the NPU natively supports the quantization format.
- Confirm that thread count and core affinity settings are reasonable.
- Measure the power and temperature limits under sustained load, and check whether the device throttles.
- Measure model loading time and cold-start time.
- Check background process memory usage and the operating system’s memory reclamation policy.
4. Benchmark methodology
Record the device model, OS version, physical memory capacity, runtime and its version, quantization scheme, thread count, input length, output length, and concurrency for every test.
Measure the following metrics:
- Time to first token (TTFT)
- Decoding speed (tokens/s)
- Peak memory usage
- Power consumption and temperature changes over 10 minutes of continuous operation
Warm up each configuration before testing. Repeat each test at least 5 times and report the median. Record results for different configurations separately, and do not mix them in comparisons.
4. Edge-Cloud Collaboration and Compliance
On-device models work well as an entry point for intent recognition and fast responses, and they can handle privacy-sensitive data. Complex reasoning and large-scale knowledge retrieval can be handled in the cloud.
A cloud setup typically needs these capabilities: a container platform to deploy large-parameter models, a message queue to pass asynchronous instructions, object storage for multimodal files, and a logging service to record call traces. Choose specific services based on your team’s existing cloud environment.
Pay attention to the following compliance points:
- Check whether the model license permits commercial use, requires attribution, or restricts certain use cases.
- Processing locally reduces data sent off the device. Even so, images and audio in local caches and logs must be encrypted and cleaned up regularly.
- A fully local design does not guarantee security. A device may be rooted or physically accessed.
- Model outputs must pass content safety review.
5. Selection Checklist
- Define the scenario: real-time local interaction, offline use, or complex reasoning.
- Determine the device’s memory ceiling, estimate requirements with the formulas above, and reserve headroom.
- Confirm the required modalities. If you only need text, choose a text-only model instead of a multimodal one.
- Verify the license, release date, and input requirements on the model card.
- Evaluate accuracy on your own data and compare results before and after quantization.
- Run performance tests on the target device using the benchmark methodology above.
- Design the cloud switching conditions and a fallback strategy for failures.
Risk notes: Quantization can reduce accuracy. Edge devices heat up and throttle during long runs. Local deployments still require security controls. If the device lacks resources, use a smaller quantized version or deploy only in the cloud.
