Choosing Among Multi-Size Open-Source LLMs: A Practical Evaluation of Selection and Usage Experience
This article explains how to choose among multi-size open-source large language model families. It covers four typical size tiers: a 30B dense model, a 20B mixture-of-experts (MoE) model, and two effective-parameter models at 4B and 2B. It explains how each architecture affects day-to-day use, which capabilities matter in practice, and how to evaluate models with business metrics such as token efficiency and structured output reliability. It also outlines deployment constraints for workstations, cloud servers, and edge devices, and offers a scenario-based approach for matching a model tier to your hardware, latency, and offline requirements.
Recent open-source large language models have developed in two clear directions. First, their capabilities keep improving. Second, their size tiers keep getting more granular. A model family often no longer offers a single “general-purpose” model. Instead, it covers desktop workstations, cloud inference, mobile devices, and edge hardware at the same time. This multi-size strategy lowers the barrier to selection, but it also creates new engineering questions. Models labeled “open-source LLMs” can differ widely in architecture, active parameters, context length, deployment cost, and suitable tasks. This article reviews the selection logic and practical deployment considerations for multi-size open-source model families, from both a technical evaluation and a usage experience perspective.
1. Four Size Tiers: Resource Boundaries Before Capability Ceilings
A typical multi-size open-source model family usually offers four tiers: a 30B-class dense model, a 20B-class mixture-of-experts model, a 4B-class effective-parameter model, and a 2B-class effective-parameter model. These tiers do not form a simple small-to-large ladder. Each one maps to a different resource boundary and task boundary.
The first tier is the 30B-class dense architecture. Every inference pass activates all parameters, so the computation path is stable. This tier fits a desktop workstation or a single 80GB-class accelerator. Without quantization, these models place heavy demands on memory, memory bandwidth, and cooling. Their advantage is consistent behavior and mature tuning practices. They work well as the main model for local knowledge bases, code assistants, complex text analysis, and agent workflows. For developers, this tier offers the closest experience to “cloud-grade LLMs running locally.” Its capabilities are broad, but it also has the highest deployment cost.
The second tier is the 20B-class mixture-of-experts architecture. Its total parameter count is large, but each inference pass activates only a small subset. As a result, its memory footprint and compute cost fall between those of large dense models and small models. The main advantage of MoE is speed and low latency. On the same accelerator, throughput is usually much higher than that of a dense model of similar size. In practice, this tier suits high-concurrency Q&A, online summarization, and structured extraction, where time to first token and throughput matter most. MoE models also bring challenges such as routing stability, load balancing, and total memory occupancy. Evaluation should therefore never rely on active parameters alone.
The third tier is the 4B-class effective-parameter model, aimed at mobile devices, embedded development boards, and lightweight edge hardware. The fourth tier is the 2B-class effective-parameter model, aimed at phones, IoT devices, and lower-power edge hardware. The term “effective parameters” needs careful interpretation. Small models often use per-layer embedding, where each decoder layer has its own small embedding table. These tables are large in storage, but they serve mainly as fast lookup tables. Only a small fraction of the total parameters actually participates in computation. “Effective parameters” therefore reflect real compute cost more closely, while total parameters determine storage and memory usage. In practice, small models start quickly, work offline, and keep data private. However, complex reasoning, long-document understanding, and multi-turn tool calling require more careful prompt design and task decomposition.
2. Architecture Shapes the Usage Experience: Dense, Mixture-of-Experts, and Per-Layer Embedding
The main strength of a dense architecture is determinism. Every inference pass runs the full parameter path, so output style and performance stay relatively stable. This suits production tasks that require strong consistency. The trade-off is that compute grows linearly with parameter count, so memory and compute requirements are higher. For local code assistants and complex document Q&A, a 30B-class dense model often delivers fuller capabilities, but it requires accepting higher hardware costs.
The mixture-of-experts architecture trades efficiency for sparse activation. It divides parameters into multiple experts, and a routing mechanism selects which experts participate in each computation. The most obvious effect in practice is speed on the same hardware. MoE models usually produce more tokens per second than dense models, and their time to first token is also lower. However, MoE is not uniformly better. Routing can cause output fluctuations, uneven expert load can limit throughput, and the full set of parameters, or their shards, still needs to fit in memory. When evaluating an MoE model, record total memory usage, the ratio of active parameters, batch throughput, and performance degradation with long contexts.
Per-layer embedding is the key technique behind small on-device models. If a conventional small model enlarges its embedding table directly, it increases active computation significantly. Per-layer embedding distributes the embedding tables across decoder layers and uses them mainly as lookup tables. This preserves more language knowledge within a limited compute budget. In practice, these models cold-start quickly on phones and edge devices, and they are well suited to offline speech tasks, image captioning, simple Q&A, and local classification. Developers should recognize that fewer effective parameters mean limited complex reasoning. These models fit short, tightly constrained, low-latency tasks. They are not suitable as direct replacements for large models in open-ended, long-chain reasoning.
3. Capability Matrix: Multimodality, Long Context, and Agent Workflows
Multi-size model families typically keep their capabilities consistent across tiers. Common capabilities include native image and video understanding. Small models also support audio input and speech recognition. Large models support a context window of about 256K tokens, and small models support about 128K. The models natively support function calling, structured JSON output, and system instructions. They are trained on more than 140 languages and can generate code offline, which makes them usable as local code assistants.
These capabilities have a large effect on the usage experience. Multimodal input lets the model process screenshots, tables, video frames, and speech directly. This removes steps such as OCR, speech transcription, and format conversion from traditional pipelines. Long context suits contract review, log analysis, long-document summarization, and multi-turn agent memory. However, a longer context increases KV cache usage, which raises inference latency and memory pressure. In practice, test time to first token, throughput, and answer consistency at 4K, 32K, 128K, and 256K context lengths separately. Do not rely only on the advertised maximum.
For agent workflows, function calling and structured JSON output are critical. A model with a good usage experience does more than generate JSON. It also produces parsable structures reliably under system instructions and returns recoverable error messages when a tool call fails. Evaluation should measure tool-call success rate, JSON parsing success rate, parameter completion accuracy, and multi-turn error recovery. Multilingual capability also needs a distinction between “can answer” and “usable in professional domains.” Code comments, technical documentation, and customer support require sampling and evaluation separately for each language.
4. Evaluation Methods: Leaderboards for Screening, Token Efficiency for Decisions
Public leaderboards are useful for initial screening. In multi-size model families, the 30B-class dense model and the 20B-class MoE model often rank near the top of the text track on public open-source leaderboards. Small models stand out among models of the same parameter scale. Some small models come close to larger models on specific tasks, which shows that architectural efficiency and training data quality are improving. However, leaderboard rankings cannot replace business-specific evaluation. Task distributions, prompt styles, and scoring methods on leaderboards can differ significantly from real business workloads.
Token efficiency deserves more attention. On benchmarks such as scientific reasoning, models with similar accuracy may consume very different numbers of output tokens. Fewer output tokens mean a more concise reasoning path, lower cost per request, and more predictable latency. For production systems, token efficiency directly affects API cost, concurrency capacity, and user experience. Record composite metrics such as accuracy per output token, time to first token versus total latency, and structured output success rate versus retry count.
The following pseudocode shows a reusable evaluation loop:
for spec in candidate_specs:load_model(spec)for case in eval_cases:start = now()out = infer(case.prompt, max_context=spec.context, tools=case.tools)latency = now() - startrecord(spec=spec.name,task=case.task,accuracy=score(out, case.label),json_ok=validate_json(out),tool_ok=validate_tool_call(out),output_tokens=count_tokens(out),latency=latency,peak_memory=spec.peak_memory)
The point of this script is not the specific tooling. The point is to compare capability, cost, latency, and stability in one table. A benchmark score becomes useful for selection only after it is translated into business metrics.
5. Deployment and Usage Experience: Engineering Constraints from Single Cards to Edge Devices
When deploying a 30B-class dense model on a cloud server or local workstation, prioritize memory, quantization, and batching. Without quantization, a single 80GB-class accelerator can host some 30B-class models. However, long contexts and high concurrency significantly increase KV cache usage. Quantization lowers the memory threshold, but it may affect complex reasoning and the stability of structured output. Compare quantized and unquantized results on your own target workload. For MoE models, do not look only at active parameters. Also consider sharding of total parameters, expert parallelism, and routing overhead. Their throughput advantage is more visible under high concurrency. At low concurrency with single requests, the gain may not scale linearly.
Edge deployment focuses on memory bandwidth, power consumption, and cold start time. The 4B-class model suits mobile devices and embedded development boards. The 2B-class model suits phones, IoT devices, and low-power edge hardware. For edge devices, the key question is not whether the model can run, but whether it can run reliably offline. Package the model files, tokenizer, configuration, and inference engine as a versioned unit that can be rolled back. On cloud platforms such as Baidu AI Cloud, you can use general-purpose container platforms, object storage, and log monitoring services to manage evaluation images and result data. This keeps evaluations reproducible across devices and versions. Edge testing should also cover capabilities specific to small models, such as audio input, speech recognition, and image captioning. Define a fallback strategy as well. When a task exceeds the capability of a small model, route it to a local large model or a cloud-hosted large model.
6. Selection Guidance: Decide by Scenario, Not by Parameter Count
If your team needs a local knowledge base, complex code generation, long-document review, and a stable agent workflow, and you have a single 80GB-class accelerator, a 30B-class dense model is a reliable primary choice. If online throughput, time to first token, and high-concurrency cost matter most, a 20B-class MoE model fits better, but you must accept routing variability and implement output validation. If your goal is an offline mobile assistant, voice interaction, or image understanding, the 4B-class model offers a better balance of capability and power consumption. For IoT devices, low-power edge hardware, and simple classification or Q&A, the 2B-class model is the more realistic option.
Make the final choice in this order: constraints first, then capabilities, then cost. First, define the deployment location, memory limits, latency targets, and offline requirements. Next, verify multimodal, long-context, function-calling, and multilingual capabilities. Finally, compare token efficiency, quantization loss, and operational complexity. The value of a multi-size open-source model family is not that every scenario uses the same model. The value is that developers can choose the right tier for their resource boundaries and keep improving through a consistent evaluation matrix. The quality of the usage experience depends on how well the model’s capabilities match the engineering constraints, not on parameter count alone.
