Choosing Local Small and Mid-Sized Models: Text vs. Multimodal Trade-offs
This article reports a first-round local test of 4B and 8B text models and lightweight and 12B multimodal models on a machine with 8 GB of VRAM. It explains how to budget VRAM, measure cold and warm starts separately, and choose between text and vision models based on scenario, deployment conditions, and call frequency rather than parameter count alone.
1. Background: Parameter Count Is Not the Only Variable
When teams deploy small and mid-sized models on local development machines, edge nodes, or lightweight cloud hosts, the first comparison is usually parameter count: is 4B, 8B, or 12B the stronger choice? In daily use, though, the experience depends on a combination of constraints:
- VRAM and memory budget: Model weights, runtime overhead, context cache, image encoding, and temporary buffers all consume VRAM. Devices with 8 GB of VRAM need a generous safety margin.
- Cold start vs. warm start: A cold start involves model loading, weight mapping, and runtime initialization. A warm start is closer to the real interactive experience.
- Generation throughput and time to first token: Short tasks such as rewriting, classification, and title generation depend on time to first token. Long-form generation depends more on sustained throughput.
- Extra cost of multimodal input: Image preprocessing, vision encoding, image token placeholders, and context expansion can make a model that looks small consume more resources in practice.
- Templates and calling conventions: If chat templates, image placeholders, and system prompt concatenation are not validated, output may become unstable, and evaluation results may be misleading.
Model selection should therefore start from the scenario, deployment conditions, and interaction frequency. The rest of this article draws on a first round of tests on one local development machine to discuss the trade-offs between 4B and 8B text models and lightweight and 12B multimodal models.
2. Test Environment and Method
The tests ran on one local development machine with 64 GB of host RAM. The virtualized environment was allocated 32 GB. The GPU was a mobile card with 8 GB of VRAM, and the local inference runtime detected it through a generic method. The CPU-only build served as a baseline. It shows only relative trends and should not be treated as a final GPU performance result.
The table below lists local file size, cold start loading, warm start loading, generation speed, and VRAM use during warm runs. These figures are not rigorous laboratory benchmarks. They are a first round of measurements to judge everyday usability.
| Model category | Local file size | Cold start load | Warm start load | Generation speed | VRAM (warm run) | First impression |
|---|---|---|---|---|---|---|
| 4B text model | About 2.5 GB | About 12.3 s | 0.13 s - 0.16 s | About 38 - 43 tok/s | About 2.7 GB - 2.8 GB | Very fast, suited to light tasks |
| 8B text model | About 5.2 GB | About 16.8 s | About 0.23 s | About 22 - 26 tok/s | About 4.9 GB | Main candidate for everyday Chinese text work |
| Lightweight multimodal model | About 9.6 GB | About 14.4 s | 0.66 s - 0.72 s | About 54 - 56 tok/s | About 3.1 GB | Good value for multimodal use |
| 12B multimodal model | Larger file | Noticeably longer | Full data not collected in the first round | Slower on long outputs | Higher VRAM pressure | Suited to low-frequency complex vision tasks |
The most useful takeaway from this table is not which model is strongest in absolute terms. Each model sits at a different point on the experience curve. The 4B text model starts quickly and uses few resources. The 8B text model offers a more balanced mix of Chinese output stability and resource use. The lightweight multimodal model is more practical for image understanding than expected. The 12B multimodal model gives more detailed descriptions, but its cold start and long-output times are significant, so it is a poor default for frequent calls.
3. Selection Principles: Calculate Resources First, Then Match the Scenario
1. Estimate VRAM as weights, cache, runtime, and modality overhead
Do not rely on model file size alone. Text models also need context cache, batch buffers, and runtime overhead. Multimodal models add image preprocessing, vision encoding, and context growth from image tokens. On an 8 GB VRAM device, keep at least 2 GB of headroom even for a quantized 8B text model. For multimodal models, limit image resolution, crop regions, and output length to avoid spikes in peak VRAM.
2. Evaluate cold and warm starts separately
A cold start determines whether the first call is acceptable. A warm start determines whether continuous interaction feels smooth. If a service runs long term, keepalive, warm-up, or a resident process can reduce the impact of cold starts. For batch jobs, the cold start cost can be spread across the batch.
In the table, the lightweight multimodal model’s warm start takes about 0.66 s to 0.72 s, well above the 4B and 8B text models. It suits on-demand calls with cached results better than high-frequency small requests.
3. Include templates and placeholders in regression tests
Chat templates, system prompt order, and stop token settings in text models directly affect output stability. Multimodal models also need checks for image placeholders, image-text order, and image token handling. Template problems often look like weak model capability, but the real cause is usually an inconsistent calling convention. Keep template versions under configuration management, and run a fixed regression set after upgrading the runtime or model files.
4. Encode the selection strategy in pseudocode
def choose_model(need_vision, vram_gb, latency_budget_ms, output_len, daily_qps):if need_vision and vram_gb <= 8:if daily_qps < 20 and output_len < 800:return "Lightweight multimodal model: limit image resolution and enable result caching"return "12B multimodal model: use only for low-frequency complex vision tasks, not called by default"if not need_vision:if latency_budget_ms < 800 and output_len < 300:return "4B text model: suitable for classification, titles, and short rewriting pipeline nodes"return "8B text model: the everyday workhorse for Chinese text, keep VRAM headroom and warm it up"return "Split by scenario: route text and vision separately, avoid using one model for all tasks"
4. Scenario 1: Keeping Only One Everyday Text Model
If you keep only one everyday text model locally, an 8B text model is usually the safer starting point. It is not the fastest model on every metric. It is a better starting point because it balances Chinese output stability, resource use, and response speed. In testing, the 8B text model used about 4.9 GB of VRAM during warm runs. That is acceptable on an 8 GB device, but the margin is narrow. Limit context length, avoid high concurrency
