Mergekit and Alternatives for Merging Local Model Weights
By Hans Kuepper · Founder of PromptQuorum · Discovery engine for open-weight & open-source AI
Mergekit is the best-known open-source toolkit for merging local model weights (7,000+ GitHub stars), supporting 18 merge methods such as linear, SLERP, and TIES without any GPU training step. It operates directly on downloaded weight files, making it accessible on modest hardware compared to fine-tuning — the main cost is enough system RAM to hold the models being merged, not GPU compute.
Key Takeaways
- ✓Mergekit is the standard open-source tool for merging compatible local model weights
- ✓Merging requires no GPU training step, only enough RAM to hold the weight files
- ✓Linear and SLERP methods are simple starting points; TIES and DARE better preserve individual model strengths
- ✓Models being merged must share the same base architecture and parameter shapes

This page contains links to third-party products for reference. PromptQuorum is not enrolled in any affiliate program — these are plain links that earn no commission. Clicking links and your next steps are entirely your own responsibility. Any recommendation on this page reflects our own reading of the vendors' public pages, not a vendor endorsement or a test.
Quick Answer
Mergekit is the best-known open-source tool for this. It merges compatible model weight files using methods like linear averaging, SLERP, or TIES, without any GPU training step — the merge itself can run on CPU and takes a fraction of the time fine-tuning would.
- ▸Mergekit supports several merge methods, each trading off differently between blending and preserving individual model strengths.
- ▸No GPU training is required for the merge itself — only enough RAM to hold the weight files being combined.
- ▸Merged models must share the same base architecture and parameter shapes to combine correctly.
Best Pick: Mergekit
Mergekit is the standard choice for merging local model weights because it is open source, supports the widest range of merge methods, and requires no GPU training step — only enough system RAM to hold the source models in memory during the merge. This makes it accessible on a modest desktop or laptop, unlike full fine-tuning, which needs a training-capable GPU.
Use Mergekit if: you want to combine the behavior of two fine-tunes of the same base model into one, you don't have the compute budget for a full fine-tuning run, or you want to experiment with several merge ratios quickly without retraining. Avoid Mergekit if: the models you want to combine have different base architectures or parameter counts — weight-level merging requires matching shapes.
How Model Merging Works
Model merging combines the weights of two or more models that share the same base architecture into a single new set of weights, using a mathematical merge method rather than additional training. Because no gradient computation or backpropagation happens during a merge, the process runs on CPU in minutes rather than the hours or days a full fine-tuning run would take.
The output is a single new model file the same size as the source models — not an adapter or a wrapper around multiple models. Once merged, the result behaves as one ordinary model at inference time, with no extra latency from combining multiple sources.
Merge Methods Compared
Linear averaging is the simplest method — it blends corresponding weights by a fixed ratio and works as a reasonable first attempt, but tends to dilute each source model's distinct strengths as more models are blended together.
SLERP (spherical linear interpolation) blends two models along a curved path in weight space rather than a straight line, which generally preserves more of each model's character than plain linear averaging when merging exactly two models.
TIES and DARE are more selective methods that try to resolve conflicting weight updates between source models instead of averaging over them, which generally preserves each source model's distinct strengths better when merging more than two models at once.
Mergekit's README lists 18 merge methods: linear, slerp, nuslerp, multislerp, karcher, task_arithmetic, ties, dare_linear, dare_ties, della, della_linear, breadcrumbs, breadcrumbs_ties, sce, model_stock, nearswap, arcee_fusion and passthrough. Passthrough stacks layers from different models instead of averaging them.
Mergekit Alternatives Compared
Mergekit is the strongest fit for full-weight merges; PEFT fits LoRA adapters better, and mergoo fits mixture-of-experts builds. Pick by what you are combining, not by popularity.
PEFT (Apache-2.0): merges LoRA adapters trained on the same base model with its add_weighted_adapter method, using linear, SVD, TIES or DARE combination. Use it when you have adapters rather than full fine-tuned weights.
mergoo (LGPL-3.0): combines several fine-tuned experts into a mixture-of-experts or mixture-of-adapters model for Llama, Mistral, Phi-3 and BERT, then lets you train the router. Its last commit on GitHub is from August 2024, so check compatibility with current library versions before relying on it.
LazyMergekit (explained in this Towards Data Science tutorial) and the mergekit-gui Hugging Face Space are front ends built on Mergekit. They remove setup work, but the merge engine and the method list are the same.
Mergekit Project Status
Mergekit is developed by Arcee AI under the LGPL-3.0 license. Its last upstream update was on 12 September 2026 (latest commit on the main branch); the most recent tagged release is v0.1.4 from 31 October 2025. Source: Mergekit on GitHub.
The documented install is a git clone followed by pip install -e . from the repository folder. A merge runs with the mergekit-yaml command and a YAML config that names the source models and the method.
The repository also ships mergekit-moe (combine dense models into a mixture of experts), mergekit-extract-lora (extract a PEFT-compatible low-rank approximation of a fine-tune) and an evolutionary merge mode. The README lists Llama, Mistral, GPT-NeoX and StableLM among the supported architectures.
Hardware for Larger Merges
A CPU-only merge of two 7B models is comfortable on a machine with 32 GB of RAM. Merging larger models (30B+) or several sources at once can exceed typical desktop RAM, since Mergekit needs to hold each source model in memory during the merge — renting a high-RAM cloud instance for the merge step alone is often cheaper than buying additional local RAM for an occasional task.
Treat the figures above as conservative planning numbers. The README describes lazy tensor loading and an out-of-core approach, and says merges can run entirely on CPU or be accelerated with as little as 8 GB of VRAM (the --cuda flag), so real peak memory can be lower than the combined size of the source models.
Disclosure: This article contains affiliate links. We may earn a commission if you purchase through these links, at no extra cost to you.