# Silicon Tuner — GQA KV & MoE VRAM Planner

> Silicon Tuner — GQA KV & MoE VRAM Planner is an open-source MCP server for ai models and llm tooling. Local stdio MCP server that estimates GPU VRAM and RAM needs for running local LLMs. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, Self-hosted
- **Repository:** https://github.com/argoness-prime/silicon-tuner
- **MCP Registry name:** io.github.argoness-prime/silicon-tuner
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-11-28

## About

Silicon Tuner works out how much GPU memory and system RAM a local language model will need before you load it. It calculates the key-value cache for grouped-query attention across several quantization formats and compares the result with multi-head attention, so the numbers show how much the attention design saves. For Mixture-of-Experts models it plans how many expert layers to offload to system memory using the llama.cpp --n-cpu-moe option, and it reports the remaining budget against both the GPU's app-usable memory and its physical VRAM after the OS reserve.

It runs as a local stdio MCP server, so an AI client such as Claude Code can call its planning tools directly. The same calculations are also available as a command-line tool, which can be run through uvx without cloning the repository. Output includes suggested llama.cpp flags alongside the memory ledgers.

The project suits people running quantized local models on consumer GPUs with limited VRAM who want to avoid repeated out-of-memory failures while tuning offload settings.

## Features

- **KV-cache size calculation:** Computes exact grouped-query attention element counts and byte sizes for f16, bf16, q8_0 and q4_0 cache types.
- **MoE expert offload planning:** Splits dense and expert layers between GPU and system RAM and suggests a --n-cpu-moe value.
- **Separated VRAM ledgers:** Reports the GPU app budget and physical VRAM including the OS and compositor reserve as distinct figures.
- **Multi-head attention comparison:** Shows the KV-cache cost of a counterfactual multi-head attention layout next to the grouped-query result.
- **llama.cpp flag output:** Returns ready-to-use llama.cpp flags with the plan results.
- **Stdio MCP server:** Runs locally over stdio JSON-RPC 2.0 and installs as an MCP bundle with no environment variables.

## Good for

- Choosing a -ngl and --n-cpu-moe setting for a Mixture-of-Experts model on a 16 GB GPU
- Estimating how much context length a model can hold before the KV cache exhausts VRAM
- Comparing KV-cache quantization types to pick one that fits available memory
- Giving an AI coding assistant a memory-planning tool during local model setup

## Install

### Claude Desktop (Claude Desktop → Settings → Extensions)

```text
https://github.com/argoness-prime/silicon-tuner/releases/download/v1.1.0/silicon-tuner-mcp-1.1.0.mcpb
```

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

## Tools

From the tool list in its README, going by the names, 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `plan_hybrid_moe_split`: Plans GPU and DDR5 RAM split for dense and MoE layers, returning memory ledgers and llama.cpp flags.
- `compute_gqa_kv_cache`: Calculates GQA KV-cache element and byte counts across f16, bf16, q8_0 and q4_0, compared with multi-head attention.

## FAQ

### How is Silicon Tuner — GQA KV & MoE VRAM Planner installed?

The MCP server is distributed as an mcpb bundle through the MCP registry, and the core tool can also be run with uvx from the release wheel.

### What license does Silicon Tuner — GQA KV & MoE VRAM Planner use?

It is released under the MIT License.

### Which cache types are supported?

The KV-cache calculator covers f16, bf16, q8_0 and q4_0.

### Does Silicon Tuner — GQA KV & MoE VRAM Planner need any environment variables or an API key?

The registry entry lists no environment variables.

### Is Silicon Tuner — GQA KV & MoE VRAM Planner free?

Yes. Silicon Tuner — GQA KV & MoE VRAM Planner is open source, so you can use and self-host it for free.

### What are the best alternatives to Silicon Tuner — GQA KV & MoE VRAM Planner?

The closest alternatives to Silicon Tuner — GQA KV & MoE VRAM Planner are StudioTV LLM VRAM Calculator, localllm, Quelllm MCP, ChimeraForge and tokcalc MCP Server.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [StudioTV LLM VRAM Calculator](https://ai-powered.com/mcp/studiotv-llm-vram-calculator): StudioTV LLM VRAM Calculator is a free MCP server for ai models and llm tooling.
- [localllm](https://ai-powered.com/mcp/localllm): localllm is an open-source MCP server for ai models and llm tooling.
- [Quelllm MCP](https://ai-powered.com/mcp/quelllm-mcp): Quelllm MCP is an open-source MCP server for ai models and llm tooling.
- [ChimeraForge](https://ai-powered.com/mcp/chimeraforge): ChimeraForge is an open-source MCP server for ai models and llm tooling.
- [tokcalc MCP Server](https://ai-powered.com/mcp/tokcalc-mcp-server): tokcalc MCP Server is an open-source MCP server for ai models and llm tooling.
- [modelread](https://ai-powered.com/mcp/modelread): modelread is an MCP server for ai models and llm tooling.
- [LocalBit](https://ai-powered.com/mcp/localbit): LocalBit is a free MCP server for ai models and llm tooling.
- [LLM Configurator](https://ai-powered.com/mcp/llm-configurator): LLM Configurator is a free MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/silicon-tuner-gqa-kv-and-moe-vram-planner
