Choosing the Right Open-Source LLM for Local Deployment
Selecting an open-source model for local or private deployment is less about picking the highest-ranked weights and more about finding the best match between model class, decoding strategy, and your hardware limits. This article breaks down the five constraints that shape the decision (weight precision, context length, decoding strategy, parallelism, and request profile), compares built-in multi-token prediction with external draft models for speculative decoding, explains why speculative decoding boosts single-concurrency throughput but can regress under heavy load, and provides a practical selection and load-testing checklist.
1. The Real Challenge in Local Model Selection: Not “Which Model Is Strongest,” but “Which Combination Fits Best”
When teams run large models in local or private environments, their first instinct is often to pull down the open-source weights that top a leaderboard. Yet after going live, they frequently discover that the same weights can deliver several times more throughput under different hardware, concurrency levels, and inference framework configurations. The core selection question should therefore be reframed: given fixed VRAM and concurrency constraints, which combination of open-source model class and decoding strategy can reliably meet the business requirements for time-to-first-token and output throughput.
At least five variables must be constrained at the same time:
- Weight precision: FP8 can significantly reduce VRAM usage and bandwidth pressure compared with BF16, making it a common choice for single-machine, multi-GPU deployments;
- Context length: Long contexts linearly increase KV Cache usage, which directly determines the number of concurrent requests;
- Decoding strategy: Whether to enable speculative decoding, and whether to use a built-in draft head or an external draft model;
- Parallelism configuration: The combination of tensor parallelism and expert parallelism affects communication overhead and scaling efficiency;
- Request profile: Whether the input/output length distribution skews toward “long input, short output” or interactive short requests.
Ignore any one of these, and the conclusion may flip.
2. Two Implementation Paths for Speculative Decoding
The basic idea of speculative decoding is the same across implementations: a cheap “draft” source guesses several tokens first, then the main model verifies them all in parallel in a single forward pass. Accepted tokens are committed directly, compressing multiple serial decoding steps into one forward pass. The difference lies in where the draft source is placed.
Path 1: Built-in multi-token prediction (the model ships with a draft head)
The draft head shares the same weights and the same set of hidden states as the main model, so no additional model needs to be loaded. VRAM and scheduling costs are low, engineering coupling is high, and it is usually included as a default optimization in the framework.
Path 2: Attaching an external draft model
The main model weights remain unchanged, and a small-scale draft model is loaded additionally and attached through the inference framework’s speculative decoding configuration option. Its advantages are decoupling, replaceability, and ease of experimental comparison; the costs are extra VRAM, an extra small-model forward pass, and the fact that the draft acceptance rate becomes the decisive variable.
Illustrative configuration (expressing parameter meaning only, not a specific product interface):
--max-model-len 131072 \--tensor-parallel-size 8 \--gpu-memory-utilization 0.9 \--max-num-batched-tokens 32768 \--max-num-seqs 16 \--speculative-config '{"num_speculative_tokens": 7, "method": "<draft>"}'
Here num_speculative_tokens is the number of tokens guessed per round. The longer the guess, the greater the gain when it hits and the greater the waste when it misses.
3. Why Single Concurrency Improves Clearly but High Concurrency Regresses
This is the most common cognitive trap in practice. Decoding throughput can be roughly understood as:
Effective throughput ≈ concurrency × tokens produced per step × hardware utilization
- Single-concurrency scenario: A large amount of hardware compute sits idle, and the bottleneck is the number of serial steps. Speculative decoding raises the average tokens produced per step from about 1 to more than 2, so end-to-end throughput nearly doubles, and time-to-first-token and interactive smoothness improve significantly.
- High-concurrency scenario: Batching has already filled the compute, and the bottleneck shifts to VRAM bandwidth and scheduling. An external draft model adds extra forward passes and KV overhead. If the draft acceptance rate is low (especially on datasets with strong randomness and divergent semantics), a large number of guesses are rejected, which is wasted work, and throughput falls below that of the built-in approach without speculative decoding.
Bottom line: An external draft model is currently better suited to single-concurrency/low-concurrency, interactive scenarios and research validation. High-concurrency production environments should prioritize a draft source with a higher acceptance rate or a built-in approach, and confirm the choice through load testing rather than enabling it by default.
4. An Actionable Selection and Load-Testing Checklist
- Define the workload profile first: Measure the input/output length percentiles of real requests; do not draw conclusions from an overly short test set.
- Calculate the VRAM budget: Add up
weights + KV Cache + draft model + activationsand reserve 10% headroom. - Run controlled-variable load tests: Fix the hardware and framework version, switch only the decoding strategy, and record single-concurrency TPS, output throughput at the target concurrency, and P50/P99 time-to-first-token separately.
- Watch the acceptance rate metric: When the acceptance rate is lower than expected, adjust the draft source and guess length first rather than blindly adding GPUs.
- Set up observability: Connect logging services and monitoring alerts, and set threshold alerts for throughput, latency, and VRAM levels.
- Choose the cloud deployment shape: If cloud resources are used, inference services can be hosted on a container platform, weights stored in object storage, and elastic scaling policies used to handle traffic peaks, achieving a deployment experience consistent with local setups.
5. Summary
There is no single correct answer for deploying open-source large models locally, only a question of fit. Low concurrency prioritizes interactive experience; high concurrency prioritizes batch efficiency, and the two optimization paths need to be validated separately. Treating acceptance rate, VRAM budget, and real workload distribution as the three decision pillars, combined with a reproducible load-testing process, is what prevents you from being misled by single-point peak data and helps you choose the model and decoding combination that truly fits your business.
